@ -150,9 +150,6 @@ namespace ICSharpCode.SharpDevelop.Gui
FileService . FileRemoved + = FileService . RecentOpen . FileRemoved ;
FileService . FileRemoved + = FileService . RecentOpen . FileRemoved ;
FileService . FileRenamed + = FileService . RecentOpen . FileRenamed ;
FileService . FileRenamed + = FileService . RecentOpen . FileRenamed ;
CreateMainMenu ( ) ;
CreateToolBars ( ) ;
try {
try {
ArrayList contents = AddInTree . GetTreeNode ( viewContentPath ) . BuildChildItems ( this ) ;
ArrayList contents = AddInTree . GetTreeNode ( viewContentPath ) . BuildChildItems ( this ) ;
foreach ( PadDescriptor content in contents ) {
foreach ( PadDescriptor content in contents ) {
@ -162,6 +159,9 @@ namespace ICSharpCode.SharpDevelop.Gui
}
}
} catch ( TreePathNotFoundException ) { }
} catch ( TreePathNotFoundException ) { }
CreateMainMenu ( ) ;
CreateToolBars ( ) ;
toolbarUpdateTimer = new System . Windows . Forms . Timer ( ) ;
toolbarUpdateTimer = new System . Windows . Forms . Timer ( ) ;
toolbarUpdateTimer . Tick + = new EventHandler ( UpdateMenu ) ;
toolbarUpdateTimer . Tick + = new EventHandler ( UpdateMenu ) ;