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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-about/mate-about.c') 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); } -- cgit v1.2.1