using generic logo
This commit is contained in:
parent
267fbd64cc
commit
584d672f06
|
@ -83,28 +83,15 @@ void _pluma_cmd_help_about(GtkAction* action, PlumaWindow* window)
|
||||||
|
|
||||||
pluma_debug (DEBUG_COMMANDS);
|
pluma_debug (DEBUG_COMMANDS);
|
||||||
|
|
||||||
GdkPixbuf* logo = NULL;
|
|
||||||
GtkIconTheme* icon_theme = gtk_icon_theme_get_default();
|
|
||||||
|
|
||||||
if (gtk_icon_theme_has_icon(icon_theme, "accessories-text-editor"))
|
|
||||||
{
|
|
||||||
logo = gtk_icon_theme_load_icon(icon_theme, "accessories-text-editor", 64, 0, NULL);
|
|
||||||
}
|
|
||||||
|
|
||||||
gtk_show_about_dialog (GTK_WINDOW (window),
|
gtk_show_about_dialog (GTK_WINDOW (window),
|
||||||
"program-name", "Pluma",
|
"program-name", "Pluma",
|
||||||
"authors", authors,
|
"authors", authors,
|
||||||
"comments", _(comments),
|
"comments", _(comments),
|
||||||
"copyright", copyright,
|
"copyright", copyright,
|
||||||
"documenters", documenters,
|
"documenters", documenters,
|
||||||
"logo", logo,
|
"logo_icon_name", "accessories-text-editor",
|
||||||
"translator-credits", _("translator-credits"),
|
"translator-credits", _("translator-credits"),
|
||||||
"version", VERSION,
|
"version", VERSION,
|
||||||
"website", "http://matsusoft.com.ar/projects/mate/",
|
"website", "http://matsusoft.com.ar/projects/mate/",
|
||||||
NULL);
|
NULL);
|
||||||
|
|
||||||
if (logo)
|
|
||||||
{
|
|
||||||
g_object_unref(logo);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue