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.
This commit is contained in:
Matthias Clasen 2014-01-04 11:08:29 -05:00
parent 08f31006cb
commit 2ebbc724b7

View File

@ -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);