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>
This commit is contained in:
parent
38f92f780a
commit
21b2289206
3
macos.c
3
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user