[gnome-games] lightsoff: Move icons into <game>/data/ directories
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-games] lightsoff: Move icons into <game>/data/ directories
- Date: Fri, 30 Dec 2011 05:25:09 +0000 (UTC)
commit 2476b6182428ba163df132cd1f1d8c3873c4a18a
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Dec 30 16:21:29 2011 +1100
lightsoff: Move icons into <game>/data/ directories
lightsoff/data/Makefile.am | 3 +++
lightsoff/data/lightsoff.desktop.in.in | 2 +-
.../data/lightsoff.svg | 0
lightsoff/data/lightsoff.ui | 2 +-
lightsoff/src/lightsoff.vala | 2 +-
5 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/lightsoff/data/Makefile.am b/lightsoff/data/Makefile.am
index f0725b2..788d241 100644
--- a/lightsoff/data/Makefile.am
+++ b/lightsoff/data/Makefile.am
@@ -8,6 +8,9 @@ lightsoff_DATA = \
on.svg \
highlight.svg
+icondir=$(datadir)/icons/hicolor/scalable/apps
+icon_DATA = lightsoff.svg
+
gsettings_in_file = org.gnome.lightsoff.gschema.xml.in
gsettings_SCHEMAS = $(gsettings_in_file:.xml.in=.xml)
@INTLTOOL_XML_NOMERGE_RULE@
diff --git a/lightsoff/data/lightsoff.desktop.in.in b/lightsoff/data/lightsoff.desktop.in.in
index fdf5fd3..a3a72a5 100644
--- a/lightsoff/data/lightsoff.desktop.in.in
+++ b/lightsoff/data/lightsoff.desktop.in.in
@@ -1,7 +1,7 @@
[Desktop Entry]
_Name=Lights Off
_Comment=Turn off all the lights
-Icon=gnome-lightsoff
+Icon=lightsoff
Exec=lightsoff
Terminal=false
Type=Application
diff --git a/icons/hicolor_apps_scalable_gnome-lightsoff.svg b/lightsoff/data/lightsoff.svg
similarity index 100%
rename from icons/hicolor_apps_scalable_gnome-lightsoff.svg
rename to lightsoff/data/lightsoff.svg
diff --git a/lightsoff/data/lightsoff.ui b/lightsoff/data/lightsoff.ui
index c4cfb7d..34b08a9 100644
--- a/lightsoff/data/lightsoff.ui
+++ b/lightsoff/data/lightsoff.ui
@@ -4,7 +4,7 @@
<object class="GtkWindow" id="game_window">
<property name="title" translatable="yes">Lights Off</property>
<property name="resizable">False</property>
- <property name="icon_name">gnome-lightsoff</property>
+ <property name="icon_name">lightsoff</property>
<accel-groups>
<group name="accel_group"/>
</accel-groups>
diff --git a/lightsoff/src/lightsoff.vala b/lightsoff/src/lightsoff.vala
index 299e54b..e66f6fa 100644
--- a/lightsoff/src/lightsoff.vala
+++ b/lightsoff/src/lightsoff.vala
@@ -133,7 +133,7 @@ public class LightsOff
"artists", artists,
"documenters", documenters,
"translator-credits", _("translator-credits"),
- "logo-icon-name", "gnome-lightsoff",
+ "logo-icon-name", "lightsoff",
"website", "http://www.gnome.org/projects/gnome-games",
"website-label", _("GNOME Games web site"),
null);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]