gnome-games r7344 - trunk/libgames-support



Author: chpe
Date: Sun Feb 10 23:39:19 2008
New Revision: 7344
URL: http://svn.gnome.org/viewvc/gnome-games?rev=7344&view=rev

Log:
2008-02-11  Christian Persch  <chpe gnome org>

	* games-stock.c: (games_stock_init):
	* games-stock.h: Rename the stock names back to have games- prefix,

Modified:
   trunk/libgames-support/ChangeLog
   trunk/libgames-support/games-stock.c
   trunk/libgames-support/games-stock.h

Modified: trunk/libgames-support/games-stock.c
==============================================================================
--- trunk/libgames-support/games-stock.c	(original)
+++ trunk/libgames-support/games-stock.c	Sun Feb 10 23:39:19 2008
@@ -296,12 +296,12 @@
 #endif
 
   /* Private icon names */
-  const char *private_icon_names[] = {
+  const char *private_icon_names[][2] = {
 #ifndef HAVE_HILDON
-    GAMES_STOCK_TELEPORT,
-    GAMES_STOCK_RTELEPORT,
+    { GAMES_STOCK_TELEPORT, "teleport" },
+    { GAMES_STOCK_RTELEPORT, "teleport-random" },
 #endif /* !HAVE_HILDON */
-    GAMES_STOCK_DEAL_CARDS
+    { GAMES_STOCK_DEAL_CARDS, "cards-deal" }
   };
 
 /* Use different accels on GTK/GNOME and Maemo */
@@ -378,8 +378,8 @@
   /* Register our private themeable icons */
   for (i = 0; i < G_N_ELEMENTS (private_icon_names); i++) {
     register_stock_icon (icon_factory,
-                         private_icon_names[i],
-                         private_icon_names[i]);
+                         private_icon_names[i][0],
+                         private_icon_names[i][1]);
   }
 
   gtk_icon_factory_add_default (icon_factory);

Modified: trunk/libgames-support/games-stock.h
==============================================================================
--- trunk/libgames-support/games-stock.h	(original)
+++ trunk/libgames-support/games-stock.h	Sun Feb 10 23:39:19 2008
@@ -52,9 +52,9 @@
 #define GAMES_STOCK_RESET            "games-reset"
 
 /* These belong to us */
-#define GAMES_STOCK_TELEPORT         "teleport"
-#define GAMES_STOCK_RTELEPORT        "teleport-random"
-#define GAMES_STOCK_DEAL_CARDS       "cards-deal"
+#define GAMES_STOCK_TELEPORT         "games-teleport"
+#define GAMES_STOCK_RTELEPORT        "games-teleport-random"
+#define GAMES_STOCK_DEAL_CARDS       "games-cards-deal"
 
 void games_stock_init (void);
 



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