summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorPatrick Niklaus <marex@compiz-fusion.org>2008-08-14 14:01:51 +0000
committerThomas James Alexander Thurman <tthurman@src.gnome.org>2008-08-14 14:01:51 +0000
commit5631cbe22d9ef06db1406881f8407d705b26aff5 (patch)
treeafc7e4777582b5aa0238c973b852294e6e7fcc6e /src/include
parent92fe1574ec11a89b40750be7a9961c31c6163db8 (diff)
downloadmetacity-5631cbe22d9ef06db1406881f8407d705b26aff5.tar.gz
metacity-5631cbe22d9ef06db1406881f8407d705b26aff5.tar.bz2
Icons for windows are taken from the desktop theme, not from the Metacity
2008-08-14 Patrick Niklaus <marex@compiz-fusion.org> Icons for windows are taken from the desktop theme, not from the Metacity theme or from the fallback icon that Metacity provided. Closes #524343. * src/ui/ui.c: Use GtkIconTheme to load the default window icon. Assumes the existence of an icon called "window", otherwise falls back to "gtk-missing-image". Fixes #524343. * src/ui/preview-widget: See above. * src/include/common.h: Add META_DEFAULT_ICON_NAME. * src/Makefile.am: Remove default_icon.png from inlinepixbufs.h. * src/default_icon.png: Removed. svn path=/trunk/; revision=3812
Diffstat (limited to 'src/include')
-rw-r--r--src/include/common.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/include/common.h b/src/include/common.h
index cdd814d..9d6a98c 100644
--- a/src/include/common.h
+++ b/src/include/common.h
@@ -278,6 +278,8 @@ struct _MetaButtonLayout
#define META_MINI_ICON_WIDTH 16
#define META_MINI_ICON_HEIGHT 16
+#define META_DEFAULT_ICON_NAME "window"
+
#define META_PRIORITY_PREFS_NOTIFY (G_PRIORITY_DEFAULT_IDLE + 10)
#define META_PRIORITY_WORK_AREA_HINT (G_PRIORITY_DEFAULT_IDLE + 15)