(gtk) #970: The help dialog's link to transmissionbt.com should be clickable

This commit is contained in:
Charles Kerr 2008-05-25 13:22:14 +00:00
parent 9d2a738cfe
commit 59bcac8fe1
1 changed files with 10 additions and 0 deletions

View File

@ -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"),