diff options
| author | 2012-09-02 11:39:02 -0700 | |
|---|---|---|
| committer | 2012-09-02 11:39:02 -0700 | |
| commit | 9b1f9cfd3a80d39c62b9bcf412b0c5ca79bbb71c (patch) | |
| tree | 43fd2045e2689ade3a1a245ce5ee24a90c9ab3c7 | |
| parent | 6a210e573d947d61172da0363cbd7832e5459323 (diff) | |
| parent | 21b2289206e576bd7be5a3964c0319f26a815e30 (diff) | |
| download | subsurface-9b1f9cfd3a80d39c62b9bcf412b0c5ca79bbb71c.tar.gz | |
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
| -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); |