Proper placement for the file menu separator lines in MacOSX

After Lubomir's latest changes to the File menu, the separator
were a little off.

Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Henrik Brautaset Aronsen 2012-09-18 14:08:23 +02:00 committed by Dirk Hohndel
parent 744b4e0c1c
commit f83625efa5

View file

@ -123,10 +123,7 @@ void subsurface_ui_setup(GtkSettings *settings, GtkWidget *menubar,
gtk_widget_hide (menubar);
gtk_osxapplication_set_menu_bar(osx_app, GTK_MENU_SHELL(menubar));
sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator1");
if (sep)
gtk_widget_destroy(sep);
sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator2");
sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator3");
if (sep)
gtk_widget_destroy(sep);