[gnome-settings-daemon] fixed icon names, prefixed with kbd-



commit 3fd992b1be78f9c94d34bc8473d33e2013727722
Author: Sergey V. Udaltsov <svu gnome org>
Date:   Tue Apr 27 22:38:09 2010 +0100

    fixed icon names, prefixed with kbd-

 plugins/keyboard/Makefile.am                       |    4 ++--
 plugins/keyboard/gsd-keyboard-xkb.c                |   12 ++++++------
 .../{capslock_off.png => kbd-capslock-off.png}     |  Bin 1650 -> 1650 bytes
 .../{capslock_on.png => kbd-capslock-on.png}       |  Bin 1488 -> 1488 bytes
 .../{numlock_off.png => kbd-numlock-off.png}       |  Bin 1742 -> 1742 bytes
 .../{numlock_on.png => kbd-numlock-on.png}         |  Bin 1591 -> 1591 bytes
 .../{scrolllock_off.png => kbd-scrolllock-off.png} |  Bin 1467 -> 1467 bytes
 .../{scrolllock_on.png => kbd-scrolllock-on.png}   |  Bin 1337 -> 1337 bytes
 8 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/plugins/keyboard/Makefile.am b/plugins/keyboard/Makefile.am
index 3fc766a..0af3c03 100644
--- a/plugins/keyboard/Makefile.am
+++ b/plugins/keyboard/Makefile.am
@@ -10,8 +10,8 @@ context = devices
 
 iconsdir = $(themedir)/$(size)/$(context)
 icons_DATA = \
-	  capslock_off.png numlock_off.png scrolllock_off.png \
-	  capslock_on.png numlock_on.png scrolllock_on.png
+	  kbd-capslock-off.png kbd-numlock-off.png kbd-scrolllock-off.png \
+	  kbd-capslock-on.png kbd-numlock-on.png kbd-scrolllock-on.png
 
 uidir   = $(pkgdatadir)
 ui_DATA = modmap-dialog.ui show-layout.ui
diff --git a/plugins/keyboard/gsd-keyboard-xkb.c b/plugins/keyboard/gsd-keyboard-xkb.c
index 277d370..ed79f72 100644
--- a/plugins/keyboard/gsd-keyboard-xkb.c
+++ b/plugins/keyboard/gsd-keyboard-xkb.c
@@ -84,15 +84,15 @@ static Atom scroll_lock;
 
 static GtkStatusIcon *indicator_icons[3];
 static const gchar *indicator_on_icon_names[] = {
-	"scrolllock_on",
-	"numlock_on",
-	"capslock_on"
+	"kbd-scrolllock-on",
+	"kbd-numlock-on",
+	"kbd-capslock-on"
 };
 
 static const gchar *indicator_off_icon_names[] = {
-	"scrolllock_off",
-	"numlock_off",
-	"capslock_off"
+	"kbd-scrolllock-off",
+	"kbd-numlock-off",
+	"kbd-capslock-off"
 };
 
 #define noGSDKX
diff --git a/plugins/keyboard/capslock_off.png b/plugins/keyboard/kbd-capslock-off.png
similarity index 100%
rename from plugins/keyboard/capslock_off.png
rename to plugins/keyboard/kbd-capslock-off.png
diff --git a/plugins/keyboard/capslock_on.png b/plugins/keyboard/kbd-capslock-on.png
similarity index 100%
rename from plugins/keyboard/capslock_on.png
rename to plugins/keyboard/kbd-capslock-on.png
diff --git a/plugins/keyboard/numlock_off.png b/plugins/keyboard/kbd-numlock-off.png
similarity index 100%
rename from plugins/keyboard/numlock_off.png
rename to plugins/keyboard/kbd-numlock-off.png
diff --git a/plugins/keyboard/numlock_on.png b/plugins/keyboard/kbd-numlock-on.png
similarity index 100%
rename from plugins/keyboard/numlock_on.png
rename to plugins/keyboard/kbd-numlock-on.png
diff --git a/plugins/keyboard/scrolllock_off.png b/plugins/keyboard/kbd-scrolllock-off.png
similarity index 100%
rename from plugins/keyboard/scrolllock_off.png
rename to plugins/keyboard/kbd-scrolllock-off.png
diff --git a/plugins/keyboard/scrolllock_on.png b/plugins/keyboard/kbd-scrolllock-on.png
similarity index 100%
rename from plugins/keyboard/scrolllock_on.png
rename to plugins/keyboard/kbd-scrolllock-on.png



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