From f83625efa5d526a50c0ecbeed514360d7fb61e57 Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Tue, 18 Sep 2012 14:08:23 +0200 Subject: [PATCH] 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 Signed-off-by: Dirk Hohndel --- macos.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/macos.c b/macos.c index d76225472..d0d7a742b 100644 --- a/macos.c +++ b/macos.c @@ -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);