[gtk/gtkmenu] Emit an "attach-widget" event in gtk_menu_attach_to_widget()
Reported by ageorge@datasys.net in bug
Fixes https://bugzilla.gnome.org/show_bug.cgi?id=621683
(cherry picked from commit 318fa1e179)
This commit is contained in:
committed by
Matthias Clasen
parent
90dd7e2990
commit
6eebe91b7a
@@ -1225,6 +1225,8 @@ gtk_menu_attach_to_widget (GtkMenu *menu,
|
||||
|
||||
/* Fallback title for menu comes from attach widget */
|
||||
gtk_menu_update_title (menu);
|
||||
|
||||
g_object_notify (G_OBJECT (menu), "attach-widget");
|
||||
}
|
||||
|
||||
GtkWidget*
|
||||
|
||||
Reference in New Issue
Block a user