Changeset 4965
- Timestamp:
- Feb 7, 2008, 7:42:53 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0x/gtk/main.c
r4933 r4965 884 884 885 885 static void 886 about ( void ) 887 { 888 GtkWidget * w = gtk_about_dialog_new (); 889 GtkAboutDialog * a = GTK_ABOUT_DIALOG (w); 890 const char *authors[] = { "Charles Kerr (Backend; GTK+)", 891 "Mitchell Livingston (Backend; OS X)", 892 "Eric Petit (Backend; OS X)", 893 "Josh Elsasser (Daemon; Backend; GTK+)", 894 "Bryan Varner (BeOS)", 895 NULL }; 896 gtk_about_dialog_set_version (a, LONG_VERSION_STRING ); 886 about ( GtkWindow * parent ) 887 { 888 const char *authors[] = 889 { 890 "Charles Kerr (Backend; GTK+)", 891 "Mitchell Livingston (Backend; OS X)", 892 "Eric Petit (Backend; OS X)", 893 "Josh Elsasser (Daemon; Backend; GTK+)", 894 "Bryan Varner (BeOS)", 895 NULL 896 }; 897 898 gtk_show_about_dialog( parent, 899 "name", g_get_application_name(), 900 "comments", _("A fast and easy BitTorrent client"), 901 "version", LONG_VERSION_STRING, 902 "website", "http://www.transmissionbt.com/", 903 "copyright",_("Copyright 2005-2008 The Transmission Project"), 904 "logo-icon-name", "transmission-logo", 897 905 #ifdef SHOW_LICENSE 898 gtk_about_dialog_set_license (a, LICENSE);899 gtk_about_dialog_set_wrap_license (a, TRUE);906 "license", LICENSE, 907 "wrap-license", TRUE, 900 908 #endif 901 gtk_about_dialog_set_logo_icon_name( a, "transmission-logo" ); 902 gtk_about_dialog_set_comments( a, _("A fast and easy BitTorrent client") ); 903 gtk_about_dialog_set_website( a, "http://www.transmissionbt.com/" ); 904 gtk_about_dialog_set_copyright( a, _("Copyright 2005-2008 The Transmission Project") ); 905 gtk_about_dialog_set_authors( a, authors ); 906 /* note to translators: put yourself here for credit in the "About" dialog */ 907 gtk_about_dialog_set_translator_credits( a, _("translator-credits") ); 908 g_signal_connect_swapped( w, "response", G_CALLBACK (gtk_widget_destroy), w ); 909 gtk_widget_show_all( w ); 909 "authors", authors, 910 "translator-credits", _("translator-credits"), 911 NULL ); 910 912 } 911 913 … … 1116 1118 else if (!strcmp (action_name, "show-about-dialog")) 1117 1119 { 1118 about( );1120 about( data->wind ); 1119 1121 } 1120 1122 else if (!strcmp (action_name, "toggle-main-window"))
Note: See TracChangeset
for help on using the changeset viewer.