mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 23:03:23 +00:00
Proper placement for the file menu separator lines in MacOSX
After Lubomir's latest changes to the File menu, the separator were a little off. Signed-off-by: Henrik Brautaset Aronsen <subsurface@henrik.synth.no> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
744b4e0c1c
commit
f83625efa5
1 changed files with 1 additions and 4 deletions
5
macos.c
5
macos.c
|
@ -123,10 +123,7 @@ 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");
|
||||
sep = gtk_ui_manager_get_widget(ui_manager, "/MainMenu/FileMenu/Separator3");
|
||||
if (sep)
|
||||
gtk_widget_destroy(sep);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue