summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-03-21 13:39:06 -0400
committerMatthias Clasen <mclasen@redhat.com>2013-03-21 18:07:21 -0400
commit02a0759c5db5c73243699e1e72ae5af7ec3917e6 (patch)
tree2333e428cdf94c21d858e914a558da0bf48026a4 /gtk/gtklabel.c
parent6eaa5ffa8a3a3e261503347e70c412188361ce5a (diff)
downloadgtk+-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.c2
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;
}
}