moving the help menu back in the main menu
authorFrancisDeslauriers <francis.deslauriers@polymtl.ca>
Tue, 15 May 2012 19:32:42 +0000 (15:32 -0400)
committerYannick Brosseau <yannick.brosseau@gmail.com>
Tue, 5 Jun 2012 19:44:08 +0000 (15:44 -0400)
Signed-off-by: FrancisDeslauriers <francis.deslauriers@polymtl.ca>
Signed-off-by: Yannick Brosseau <yannick.brosseau@gmail.com>
lttv/modules/gui/lttvwindow/lttvwindow/interface.c

index ac825c342ba1a4b3a50db7fba209dff5c2d89827..74f0d3ef671c1d98f839cc55506a52e26be1f6dd 100644 (file)
@@ -106,7 +106,6 @@ create_MWindow (void)
   //  GtkWidget *OptMenuSeparator;
   //  GtkWidget *OpenFilter;
   //  GtkWidget *SaveConfiguration;
-  GtkWidget *MenuHelp;
   GtkWidget *HelpMenuTitle;
   GtkWidget *HelpMenu;
   GtkWidget *Content;
@@ -379,13 +378,10 @@ create_MWindow (void)
   gtk_widget_show (SaveConfiguration);
   gtk_container_add (GTK_CONTAINER (OptionMenuTitle_menu), SaveConfiguration);
 */
-  MenuHelp = gtk_menu_bar_new ();
-  gtk_widget_show (MenuHelp);
-  gtk_box_pack_end (GTK_BOX (MMenuBox), MenuHelp, FALSE, FALSE, 0);
 
   HelpMenuTitle = gtk_menu_item_new_with_mnemonic ("_Help");
   gtk_widget_show (HelpMenuTitle);
-  gtk_container_add (GTK_CONTAINER (MenuHelp), HelpMenuTitle);
+  gtk_container_add (GTK_CONTAINER (MenuMain), HelpMenuTitle);
 
   HelpMenu = gtk_menu_new ();
   gtk_menu_item_set_submenu (GTK_MENU_ITEM (HelpMenuTitle), HelpMenu);
@@ -897,7 +893,6 @@ create_MWindow (void)
   //  GLADE_HOOKUP_OBJECT (MWindow, OptMenuSeparator, "OptMenuSeparator");
   //  GLADE_HOOKUP_OBJECT (MWindow, OpenFilter, "OpenFilter");
   //  GLADE_HOOKUP_OBJECT (MWindow, SaveConfiguration, "SaveConfiguration");
-  GLADE_HOOKUP_OBJECT (MWindow, MenuHelp, "MenuHelp");
   GLADE_HOOKUP_OBJECT (MWindow, HelpMenuTitle, "HelpMenuTitle");
   GLADE_HOOKUP_OBJECT (MWindow, HelpMenu, "HelpMenu");
   GLADE_HOOKUP_OBJECT (MWindow, Content, "Content");
This page took 0.024596 seconds and 4 git commands to generate.