protected void OnDirectoryChanged(object sender, DirectoryChangedEventArgs e) { //((TabLabel)nb.GetTabLabel((Widget)e.Control)).TextLabel.Text = e.DisplayPath; //locationBar.Text = e.FullPath; //SetActionStates(); ((TabPage)e.Control).Text = e.ShortPath; locationBar.Text = e.DisplayPath; }
public static void NotifyDirectoryChanged(object sender, DirectoryChangedEventArgs e) { DirectoryChanged(sender, e); }
protected void OnDirectoryChanged(object sender, DirectoryChangedEventArgs e) { ((TabLabel)nb.GetTabLabel((Widget)e.Control)).TextLabel.Text = e.ShortPath; locationBar.Text = e.DisplayPath; SetActionStates(); IDisplayInterfaceControl[] controls = new IDisplayInterfaceControl[nb.NPages]; for(int i = 0; i < nb.NPages; ++i) { controls[i] = (IDisplayInterfaceControl)nb.GetNthPage(i); } CommonUtil.FileSystem.UpdateWatchList(controls); }