mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-25 21:21:21 +00:00
Merge branch 'dboles/issue5946' into 'main'
MenuSectionBox: use-markup on labels of submenus Closes #5946 See merge request GNOME/gtk!6209
This commit is contained in:
commit
e82bdd8c0d
@ -359,6 +359,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
|
||||
NULL);
|
||||
g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "icon", widget, "icon", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "use-markup", widget, "use-markup", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE);
|
||||
|
||||
g_signal_connect (submenu, "show", G_CALLBACK (submenu_shown), item);
|
||||
@ -376,6 +377,7 @@ gtk_menu_section_box_insert_func (GtkMenuTrackerItem *item,
|
||||
NULL);
|
||||
g_object_bind_property (item, "label", widget, "text", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "icon", widget, "icon", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "use-markup", widget, "use-markup", G_BINDING_SYNC_CREATE);
|
||||
g_object_bind_property (item, "sensitive", widget, "sensitive", G_BINDING_SYNC_CREATE);
|
||||
|
||||
get_ancestors (GTK_WIDGET (box->toplevel), GTK_TYPE_STACK, &stack, &parent);
|
||||
|
Loading…
Reference in New Issue
Block a user