summaryrefslogtreecommitdiff
path: root/mate-about
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
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')
-rw-r--r--mate-about/mate-about.c4
-rw-r--r--mate-about/mate-about.desktop.in.in2
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;