diff options
author | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2012-08-20 08:59:42 +0200 |
---|---|---|
committer | Henrik Brautaset Aronsen <subsurface@henrik.synth.no> | 2012-08-20 08:59:42 +0200 |
commit | 21b2289206e576bd7be5a3964c0319f26a815e30 (patch) | |
tree | 8a3085601a7df1e30a60d4f5cc25e3ab23b144c8 | |
parent | 38f92f780ac3a9345bcb34d297ade0eadbd903ea (diff) | |
download | subsurface-21b2289206e576bd7be5a3964c0319f26a815e30.tar.gz |
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 <subsurface@henrik.synth.no>
-rw-r--r-- | macos.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |