(gtk) #970: The help dialog's link to transmissionbt.com should be clickable
This commit is contained in:
parent
9d2a738cfe
commit
59bcac8fe1
10
gtk/main.c
10
gtk/main.c
|
@ -964,6 +964,14 @@ updatemodel(gpointer gdata) {
|
|||
return TRUE;
|
||||
}
|
||||
|
||||
static void
|
||||
aboutDialogActivateLink( GtkAboutDialog * dialog UNUSED,
|
||||
const gchar * link_,
|
||||
gpointer user_data UNUSED )
|
||||
{
|
||||
gtr_open_file( link_ );
|
||||
}
|
||||
|
||||
static void
|
||||
about ( GtkWindow * parent )
|
||||
{
|
||||
|
@ -977,6 +985,8 @@ about ( GtkWindow * parent )
|
|||
NULL
|
||||
};
|
||||
|
||||
gtk_about_dialog_set_url_hook( aboutDialogActivateLink, NULL, NULL );
|
||||
|
||||
gtk_show_about_dialog( parent,
|
||||
"name", g_get_application_name(),
|
||||
"comments", _("A fast and easy BitTorrent client"),
|
||||
|
|
Loading…
Reference in New Issue