forked from AuroraMiddleware/gtk
Bring back the GMenu separators
4240bfb74a
contained a likely copy/paste
mishap that accidentally disabled all separators for GtkMenus created
from GMenuModels.
Bring them back.
This commit is contained in:
parent
0e395ea5a2
commit
8abc74680d
@ -270,7 +270,7 @@ gtk_model_menu_create_menu (GMenuModel *model,
|
|||||||
|
|
||||||
menu = gtk_menu_new ();
|
menu = gtk_menu_new ();
|
||||||
|
|
||||||
gtk_model_menu_bind (GTK_MENU_SHELL (menu), model, FALSE);
|
gtk_model_menu_bind (GTK_MENU_SHELL (menu), model, TRUE);
|
||||||
gtk_model_menu_populate (GTK_MENU_SHELL (menu), actions, accels);
|
gtk_model_menu_populate (GTK_MENU_SHELL (menu), actions, accels);
|
||||||
|
|
||||||
return menu;
|
return menu;
|
||||||
|
Loading…
Reference in New Issue
Block a user