diff options
author | Matthias Clasen <mclasen@redhat.com> | 2013-03-21 13:39:06 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2013-03-21 18:07:21 -0400 |
commit | 02a0759c5db5c73243699e1e72ae5af7ec3917e6 (patch) | |
tree | 2333e428cdf94c21d858e914a558da0bf48026a4 /gtk/gtklabel.c | |
parent | 6eaa5ffa8a3a3e261503347e70c412188361ce5a (diff) | |
download | gtk+-02a0759c5db5c73243699e1e72ae5af7ec3917e6.tar.gz |
csd: Make link activation work reliably
The label code was just letting some button press events bubble
up, which caused misbehaviour with the window dragging code.
https://bugzilla.gnome.org/show_bug.cgi?id=695506
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r-- | gtk/gtklabel.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c index 587a61f9ce..20d2c2e1cf 100644 --- a/gtk/gtklabel.c +++ b/gtk/gtklabel.c @@ -4597,6 +4597,8 @@ gtk_label_button_press (GtkWidget *widget, { info->link_clicked = 1; gtk_widget_queue_draw (widget); + if (!info->selectable) + return TRUE; } } |