void OnExtensionChanged (object s, ExtensionEventArgs args) { if (args.PathChanged ("/MonoDevelop/ProjectModel/ProjectServiceExtensions")) defaultExtensionChain = null; }
void OnExtensionChanged(object s, ExtensionEventArgs args) { if (args.PathChanged (mainMenuPath) || args.PathChanged (appMenuPath)) { if (DesktopService.SetGlobalMenu (IdeApp.CommandService, mainMenuPath, appMenuPath)) return; UninstallMenuBar (); CreateMenuBar (); InstallMenuBar (); } }
void OnExtensionChanged (object s, ExtensionEventArgs args) { if (args.PathChanged (mainMenuPath)) { if (DesktopService.SetGlobalMenu (IdeApp.CommandService, mainMenuPath)) return; UninstallMenuBar (); topMenu = IdeApp.CommandService.CreateMenuBar (mainMenuPath); InstallMenuBar (); } if (args.PathChanged (toolbarsPath)) { toolbars = IdeApp.CommandService.CreateToolbarSet (toolbarsPath); string cl = toolbarFrame.CurrentLayout; DockToolbarFrameStatus mem = toolbarFrame.GetStatus (); toolbarFrame.ClearToolbars (); foreach (DockToolbar tb in toolbars) { tb.ToolbarStyle = Gtk.ToolbarStyle.Icons; tb.ShowAll (); toolbarFrame.AddBar (tb); } toolbarFrame.SetStatus (mem); toolbarFrame.CurrentLayout = cl; } }
void OnExtensionChanged (object sender, ExtensionEventArgs args) { if (args.PathChanged (ToolbarExtensionPath)) RebuildToolbar (); }
void OnExtensionChanged (object o, ExtensionEventArgs args) { if (args.PathChanged ("/TextEditor/ToolbarButtons")) BuildToolbar (); else if (args.PathChanged ("/TextEditor/MainMenu") || args.PathChanged ("/TextEditor/Templates")) BuildMenu (); }
void OnExtensionChanged (object s, ExtensionEventArgs args) { string codonpath = Path; if (args.PathChanged (codonpath)) { BuildChildren (); pad.TreeView.UpdateBuilders (builders, options); } }
void OnExtensionChanged (object s, ExtensionEventArgs args) { if (args.PathChanged ("MonoDevelop/DesignerSupport/PropertyProviders")) { providers = null; ReSetPad (); } }