Added an icon in the about dialog

This commit is contained in:
Pierre Pronchery 2009-09-20 11:29:21 +00:00
parent 1b7fda27e9
commit f55d265217

View File

@ -303,6 +303,8 @@ void on_help_about(GtkWidget * widget, gpointer data)
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(window), VERSION);
gtk_about_dialog_set_authors(GTK_ABOUT_DIALOG(window), _authors);
gtk_about_dialog_set_copyright(GTK_ABOUT_DIALOG(window), _copyright);
gtk_about_dialog_set_logo_icon_name(GTK_ABOUT_DIALOG(window),
"stock_internet");
if(g_file_get_contents("/usr/share/common-licenses/GPL-2", &buf, &cnt,
NULL) == TRUE)
gtk_about_dialog_set_license(GTK_ABOUT_DIALOG(window), buf);