[gnome-color-manager] Use the correct icon in the profile viewer when using GNOME Shell
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-color-manager] Use the correct icon in the profile viewer when using GNOME Shell
- Date: Mon, 18 Oct 2010 11:26:48 +0000 (UTC)
commit 1465eaa35b6e1b7c71017654189cdadafca6c847
Author: Richard Hughes <richard hughsie com>
Date: Mon Oct 18 12:16:00 2010 +0100
Use the correct icon in the profile viewer when using GNOME Shell
contrib/gnome-color-manager.spec.in | 3 +--
data/Makefile.am | 1 +
data/gcm-viewer.desktop.in | 13 +++++++++++++
data/gcm-viewer.ui | 2 +-
po/POTFILES.in | 1 +
5 files changed, 17 insertions(+), 3 deletions(-)
---
diff --git a/contrib/gnome-color-manager.spec.in b/contrib/gnome-color-manager.spec.in
index 7e2a846..b93c5f4 100644
--- a/contrib/gnome-color-manager.spec.in
+++ b/contrib/gnome-color-manager.spec.in
@@ -106,8 +106,7 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &> /dev/null || :
%{_datadir}/omf/gnome-color-manager
%{_datadir}/icons/hicolor/*/*/*.png
%{_datadir}/icons/hicolor/scalable/*/*.svg*
-%{_datadir}/applications/gcm-prefs.desktop
-%{_datadir}/applications/gcm-import.desktop
+%{_datadir}/applications/gcm-*.desktop
%{_sysconfdir}/xdg/autostart/*.desktop
%{_datadir}/dbus-1/services/org.gnome.ColorManager.service
%{_sbindir}/gcm-install-system-wide
diff --git a/data/Makefile.am b/data/Makefile.am
index fbd5f7b..e511494 100644
--- a/data/Makefile.am
+++ b/data/Makefile.am
@@ -10,6 +10,7 @@ dist_migration_DATA = org.gnome.color-manager.gschema.migrate
@INTLTOOL_DESKTOP_RULE@
desktopdir = $(datadir)/applications
desktop_in_files = \
+ gcm-viewer.desktop.in \
gcm-prefs.desktop.in \
gcm-import.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
diff --git a/data/gcm-viewer.desktop.in b/data/gcm-viewer.desktop.in
new file mode 100644
index 0000000..05fe54f
--- /dev/null
+++ b/data/gcm-viewer.desktop.in
@@ -0,0 +1,13 @@
+[Desktop Entry]
+_Name=Color Profile Viewer
+_Comment=Inspect and compare installed color profiles
+Icon=gnome-color-manager
+Exec=gcm-viewer
+Terminal=false
+Type=Application
+Categories=GNOME;GTK;System;
+StartupNotify=true
+NoDisplay=true
+X-GNOME-Bugzilla-Bugzilla=GNOME
+X-GNOME-Bugzilla-Product=gnome-color-manager
+X-GNOME-Bugzilla-Component=gnome-color-manager
diff --git a/data/gcm-viewer.ui b/data/gcm-viewer.ui
index 089238d..8ce1ea7 100644
--- a/data/gcm-viewer.ui
+++ b/data/gcm-viewer.ui
@@ -6,7 +6,7 @@
<property name="border_width">5</property>
<property name="title" translatable="yes">Color Profile Viewer</property>
<property name="window_position">center-always</property>
- <property name="icon_name">preferences-system</property>
+ <property name="icon_name">gnome-color-manager</property>
<property name="type_hint">normal</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
diff --git a/po/POTFILES.in b/po/POTFILES.in
index 24ac746..10e817d 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,6 +1,7 @@
data/gcm-apply.desktop.in
data/gcm-import.desktop.in
data/gcm-prefs.desktop.in
+data/gcm-viewer.desktop.in
data/gcm-viewer.ui
data/org.gnome.color-manager.gschema.xml
libcolor-glib/gcm-debug.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]