summaryrefslogtreecommitdiff
path: root/mate-about/mate-about.c
diff options
context:
space:
mode:
authorNachanon Vetjasit <[email protected]>2014-10-08 15:23:18 +0200
committerStefano Karapetsas <[email protected]>2014-10-08 15:23:18 +0200
commit80f3514efb98435377fe5f2e83f06feb43faeaad (patch)
treecf78188225373fcf0f540718321a4e24e0b490bc /mate-about/mate-about.c
parent844ec3ce26fed29cab408402394f13355da1caa1 (diff)
downloadmate-desktop-80f3514efb98435377fe5f2e83f06feb43faeaad.tar.bz2
mate-desktop-80f3514efb98435377fe5f2e83f06feb43faeaad.tar.xz
Change mate-about's program icon to official MATE desktop icon
Closes https://github.com/mate-desktop/mate-desktop/issues/132
Diffstat (limited to 'mate-about/mate-about.c')
-rw-r--r--mate-about/mate-about.c4
1 files changed, 2 insertions, 2 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);
}