diff options
Diffstat (limited to 'mate-about')
-rw-r--r-- | mate-about/mate-about.c | 14 | ||||
-rw-r--r-- | mate-about/mate-about.h | 1 |
2 files changed, 2 insertions, 13 deletions
diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index 2167769..50506e5 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -69,18 +69,8 @@ void mate_about_run(void) { mate_about_dialog = (MateAboutDialog*) mate_about_dialog_new(); - GtkIconTheme* icon_theme = gtk_icon_theme_get_default(); - - if (gtk_icon_theme_has_icon(icon_theme, icon)) - { - gtk_window_set_default_icon_name(icon); - mate_about_dialog_set_logo_icon_name(mate_about_dialog, icon); - } - else - { - gtk_window_set_default_icon_name(desktop_icon); - mate_about_dialog_set_logo_icon_name(mate_about_dialog, desktop_icon); - } + gtk_window_set_default_icon_name(icon); + mate_about_dialog_set_logo_icon_name(mate_about_dialog, icon); // name mate_about_dialog_set_program_name(mate_about_dialog, gettext(program_name)); diff --git a/mate-about/mate-about.h b/mate-about/mate-about.h index f4ecba0..9bf285a 100644 --- a/mate-about/mate-about.h +++ b/mate-about/mate-about.h @@ -31,7 +31,6 @@ const char* program_name = "MATE Desktop Environment"; const char* version = PACKAGE_VERSION; const char* icon = "mate"; -const char* desktop_icon = "desktop"; const char* website = "http://www.mate-desktop.org/"; const char* copyright = "" |