[dconf] editor: install an icon



commit 8b49387bf14cf9a9e8ec46ea37e9b6a6a344de6f
Author: Julie Tolomelli <juli tolomelli gmail com>
Date:   Tue Jan 3 16:14:49 2012 -0500

    editor: install an icon

 editor/Makefile.am                                 |   15 +++++++++++++++
 editor/icons/hicolor/128x128/apps/dconf-editor.png |  Bin 0 -> 8844 bytes
 editor/icons/hicolor/14x14/apps/dconf-editor.png   |  Bin 0 -> 666 bytes
 editor/icons/hicolor/32x32/apps/dconf-editor.png   |  Bin 0 -> 1865 bytes
 editor/icons/hicolor/48x48/apps/dconf-editor.png   |  Bin 0 -> 2721 bytes
 editor/icons/hicolor/64x64/apps/dconf-editor.png   |  Bin 0 -> 4195 bytes
 editor/icons/hicolor/92x92/apps/dconf-editor.png   |  Bin 0 -> 5166 bytes
 7 files changed, 15 insertions(+), 0 deletions(-)
---
diff --git a/editor/Makefile.am b/editor/Makefile.am
index 0594605..52fd81a 100644
--- a/editor/Makefile.am
+++ b/editor/Makefile.am
@@ -13,6 +13,21 @@ desktop_DATA = $(desktop_in_files:.desktop.in.in=.desktop)
 gsettings_SCHEMAS = ca.desrt.dconf-editor.gschema.xml
 @GSETTINGS_RULES@
 
+nobase_data_DATA = \
+	icons/hicolor/14x14/apps/dconf-editor.png	\
+	icons/hicolor/32x32/apps/dconf-editor.png	\
+	icons/hicolor/48x48/apps/dconf-editor.png	\
+	icons/hicolor/64x64/apps/dconf-editor.png	\
+	icons/hicolor/92x92/apps/dconf-editor.png	\
+	icons/hicolor/128x128/apps/dconf-editor.png
+
+install-data-hook: update-icon-cache
+uninstall-hook: update-icon-cache
+update-icon-cache:
+	if test -z "$(DESTDIR)"; then \
+		gtk-update-icon-cache -f -t $(datadir)/icons/hicolor; \
+	fi
+
 uidir = $(datadir)/dconf-editor
 dist_ui_DATA = dconf-editor.ui
 
diff --git a/editor/icons/hicolor/128x128/apps/dconf-editor.png b/editor/icons/hicolor/128x128/apps/dconf-editor.png
new file mode 100644
index 0000000..3cc3f58
Binary files /dev/null and b/editor/icons/hicolor/128x128/apps/dconf-editor.png differ
diff --git a/editor/icons/hicolor/14x14/apps/dconf-editor.png b/editor/icons/hicolor/14x14/apps/dconf-editor.png
new file mode 100644
index 0000000..c3ea13a
Binary files /dev/null and b/editor/icons/hicolor/14x14/apps/dconf-editor.png differ
diff --git a/editor/icons/hicolor/32x32/apps/dconf-editor.png b/editor/icons/hicolor/32x32/apps/dconf-editor.png
new file mode 100644
index 0000000..3eab92b
Binary files /dev/null and b/editor/icons/hicolor/32x32/apps/dconf-editor.png differ
diff --git a/editor/icons/hicolor/48x48/apps/dconf-editor.png b/editor/icons/hicolor/48x48/apps/dconf-editor.png
new file mode 100644
index 0000000..d59d8bb
Binary files /dev/null and b/editor/icons/hicolor/48x48/apps/dconf-editor.png differ
diff --git a/editor/icons/hicolor/64x64/apps/dconf-editor.png b/editor/icons/hicolor/64x64/apps/dconf-editor.png
new file mode 100644
index 0000000..927943d
Binary files /dev/null and b/editor/icons/hicolor/64x64/apps/dconf-editor.png differ
diff --git a/editor/icons/hicolor/92x92/apps/dconf-editor.png b/editor/icons/hicolor/92x92/apps/dconf-editor.png
new file mode 100644
index 0000000..d359e43
Binary files /dev/null and b/editor/icons/hicolor/92x92/apps/dconf-editor.png differ



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]