From: FrancisDeslauriers Date: Thu, 17 May 2012 18:20:20 +0000 (-0400) Subject: remove useless menu separator in the view menu X-Git-Tag: v1.5-beta1~88 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=22f1e406f50c775d048da90a3800c3ab623db729;p=lttv.git remove useless menu separator in the view menu Signed-off-by: FrancisDeslauriers Signed-off-by: Yannick Brosseau --- diff --git a/lttv/modules/gui/lttvwindow/lttvwindow/interface.c b/lttv/modules/gui/lttvwindow/lttvwindow/interface.c index 6d87df27..ac825c34 100644 --- a/lttv/modules/gui/lttvwindow/lttvwindow/interface.c +++ b/lttv/modules/gui/lttvwindow/lttvwindow/interface.c @@ -80,7 +80,6 @@ create_MWindow (void) GtkWidget *ZoomIn; GtkWidget *ZoomOut; GtkWidget *ZoomExtended; - GtkWidget *ViewMenuSeparator; // GtkWidget *GoToTime; // GtkWidget *ShowTimeFrame; GtkWidget *ToolMenuTitle; @@ -275,10 +274,6 @@ create_MWindow (void) gtk_widget_show (ZoomExtended); gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ZoomExtended); - ViewMenuSeparator = gtk_menu_item_new (); - gtk_widget_show (ViewMenuSeparator); - gtk_container_add (GTK_CONTAINER (ViewMenuTitle_menu), ViewMenuSeparator); - gtk_widget_set_sensitive (ViewMenuSeparator, FALSE); /* GoToTime = gtk_menu_item_new_with_mnemonic ("Go to time"); gtk_widget_show (GoToTime); @@ -876,7 +871,6 @@ create_MWindow (void) GLADE_HOOKUP_OBJECT (MWindow, ZoomIn, "ZoomIn"); GLADE_HOOKUP_OBJECT (MWindow, ZoomOut, "ZoomOut"); GLADE_HOOKUP_OBJECT (MWindow, ZoomExtended, "ZoomExtended"); - GLADE_HOOKUP_OBJECT (MWindow, ViewMenuSeparator, "ViewMenuSeparator"); // GLADE_HOOKUP_OBJECT (MWindow, GoToTime, "GoToTime"); // GLADE_HOOKUP_OBJECT (MWindow, ShowTimeFrame, "ShowTimeFrame"); GLADE_HOOKUP_OBJECT (MWindow, ToolMenuTitle, "ToolMenuTitle");