1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Merge branch 'separator-line' of git://github.com/henrik242/subsurface

Apparently on OS X the separator line is all alone at the end.

Acked-by: Dirk Hohndel <dirk@hohndel.org>

* 'separator-line' of git://github.com/henrik242/subsurface:
  Remove separator line in MacOSX File menu
This commit is contained in:
Linus Torvalds 2012-09-02 11:39:02 -07:00
commit 9b1f9cfd3a

View file

@ -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);