GtkLabel: Make context menus on links work

Desktop / GNOME / GTK - Matthias Clasen [redhat.com] - 21 May 2014 09:29 UTC

We see an active link when creating the menu, but by the time the menuitem is activated, we've received a leave notify that makes the label clear its active link. Instead, give the menuitems a direct reference to the link that is active when the menu is created.

Problem pointed out by Tim Baedert

6b26410 GtkLabel: Make context menus on links work
gtk/gtklabel.c | 23 ++++++++++-------------
1 file changed, 10 insertions(+), 13 deletions(-)

Upstream: git.gnome.org


  • Share