From 80f3514efb98435377fe5f2e83f06feb43faeaad Mon Sep 17 00:00:00 2001 From: Nachanon Vetjasit Date: Wed, 8 Oct 2014 15:23:18 +0200 Subject: Change mate-about's program icon to official MATE desktop icon Closes https://github.com/mate-desktop/mate-desktop/issues/132 --- mate-about/mate-about.c | 4 ++-- mate-about/mate-about.desktop.in.in | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mate-about/mate-about.c b/mate-about/mate-about.c index bf25a22..2167769 100644 --- a/mate-about/mate-about.c +++ b/mate-about/mate-about.c @@ -69,16 +69,16 @@ void mate_about_run(void) { mate_about_dialog = (MateAboutDialog*) mate_about_dialog_new(); - gtk_window_set_default_icon_name(desktop_icon); - 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); } diff --git a/mate-about/mate-about.desktop.in.in b/mate-about/mate-about.desktop.in.in index f876293..e78114a 100644 --- a/mate-about/mate-about.desktop.in.in +++ b/mate-about/mate-about.desktop.in.in @@ -2,7 +2,7 @@ _Name=About MATE _Comment=Learn more about MATE Exec=mate-about -Icon=desktop +Icon=mate Terminal=false Type=Application Categories=GTK;Core;Utility; -- cgit v1.2.1