From 21b2289206e576bd7be5a3964c0319f26a815e30 Mon Sep 17 00:00:00 2001 From: Henrik Brautaset Aronsen Date: Mon, 20 Aug 2012 08:59:42 +0200 Subject: Remove separator line in MacOSX File menu This separator line doesn't make sense in the File menu on MacOSX. Signed-off-by: Henrik Brautaset Aronsen --- macos.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/macos.c b/macos.c index 1b7da1ec6..20445c808 100644 --- a/macos.c +++ b/macos.c @@ -98,6 +98,9 @@ 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"); if (sep) gtk_widget_destroy(sep); -- cgit v1.2.3-70-g09d2