diff options
author | Matthias Clasen <mclasen@redhat.com> | 2014-01-04 11:08:29 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2014-01-04 11:08:29 -0500 |
commit | 2ebbc724b7280c0b9569098f42bc849a23a2dc4b (patch) | |
tree | f3e2bba851758780a286a152136670ebd8a91ea7 /gtk/gtkaboutdialog.c | |
parent | 08f31006cba3a862f4c08f45d0e5004ea1e6cd06 (diff) | |
download | gtk+-2ebbc724b7280c0b9569098f42bc849a23a2dc4b.tar.gz |
GtkAboutDialog: be consistent about link activation
As pointed out in
https://bugzilla.gnome.org/show_bug.cgi?id=721394,
links in the credits part were not going through the
::link-activated signal. Fix that.
Diffstat (limited to 'gtk/gtkaboutdialog.c')
-rw-r--r-- | gtk/gtkaboutdialog.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkaboutdialog.c b/gtk/gtkaboutdialog.c index 80fc7c6b37..84dd8d5e97 100644 --- a/gtk/gtkaboutdialog.c +++ b/gtk/gtkaboutdialog.c @@ -2261,6 +2261,8 @@ add_credits_section (GtkAboutDialog *about, label = gtk_label_new (str->str); gtk_label_set_use_markup (GTK_LABEL (label), TRUE); + g_signal_connect_swapped (label, "activate-link", + G_CALLBACK (emit_activate_link), about); g_string_free (str, TRUE); gtk_widget_set_halign (label, GTK_ALIGN_START); gtk_widget_set_valign (label, GTK_ALIGN_CENTER); |