summaryrefslogtreecommitdiff
path: root/mate-about
diff options
context:
space:
mode:
authorBalló György <[email protected]>2015-07-29 10:00:19 +0200
committerinfirit <[email protected]>2015-09-14 15:59:49 +0200
commitb838c8c828d2d4e988b10b18f5f734f29bcac28c (patch)
tree7a5ce6b1985220ef8517626be916d09952f8f585 /mate-about
parent448b18d3405df9dce20a61edfb9004284db4e50f (diff)
downloadmate-desktop-b838c8c828d2d4e988b10b18f5f734f29bcac28c.tar.bz2
mate-desktop-b838c8c828d2d4e988b10b18f5f734f29bcac28c.tar.xz
Fix missing icons on GTK3 with custom icon theme
Diffstat (limited to 'mate-about')
-rw-r--r--mate-about/mate-about.c14
-rw-r--r--mate-about/mate-about.h1
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 = ""