[gnome-games] libgames-support: fix missing icons



commit 1936baf2fb2fbee70da2b5d6e9e907f9d660d111
Author: Emilio Pozuelo Monfort <pochu27 gmail com>
Date:   Mon Jan 24 21:20:22 2011 +0000

    libgames-support: fix missing icons
    
    Patch from Josselin Mouette <joss debian org>

 libgames-support/games-stock.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/libgames-support/games-stock.c b/libgames-support/games-stock.c
index 160e027..d94a815 100644
--- a/libgames-support/games-stock.c
+++ b/libgames-support/games-stock.c
@@ -254,15 +254,14 @@ games_stock_init (void)
 #ifdef HAVE_GTK_ICON_FACTORY_ADD_ALIAS
     { GAMES_STOCK_REDO_MOVE,        GTK_STOCK_REDO },
     { GAMES_STOCK_UNDO_MOVE,        GTK_STOCK_UNDO },
+    { GAMES_STOCK_RESUME_GAME,      GTK_STOCK_MEDIA_PLAY },
 #endif
 #ifndef HAVE_HILDON
     { GAMES_STOCK_NETWORK_GAME,     GTK_STOCK_NETWORK },
     { GAMES_STOCK_NETWORK_LEAVE,    GTK_STOCK_STOP },
     { GAMES_STOCK_PLAYER_LIST,      GTK_STOCK_INFO },
 
-    { GAMES_STOCK_PAUSE_GAME,       "stock_timer_stopped" },
-    { GAMES_STOCK_RESUME_GAME,      "stock_timer" },
-    { GAMES_STOCK_SCORES,           "stock_scores" },
+    { GAMES_STOCK_PAUSE_GAME,       GTK_STOCK_MEDIA_PAUSE },
 #endif /* !HAVE_HILDON */
   };
 
@@ -270,6 +269,7 @@ games_stock_init (void)
   const char *stock_icon_aliases_bidi[][3] = {
     { GAMES_STOCK_REDO_MOVE, GTK_STOCK_REDO "-ltr", GTK_STOCK_REDO "-rtl" },
     { GAMES_STOCK_UNDO_MOVE, GTK_STOCK_UNDO "-ltr", GTK_STOCK_UNDO "-rtl" },
+    { GAMES_STOCK_RESUME_GAME, GTK_STOCK_MEDIA_PLAY "-ltr", GTK_STOCK_MEDIA_PLAY "-rtl" },
   };
 #endif
 
@@ -278,6 +278,7 @@ games_stock_init (void)
 #ifndef HAVE_HILDON
     { GAMES_STOCK_TELEPORT, "teleport" },
     { GAMES_STOCK_RTELEPORT, "teleport-random" },
+    { GAMES_STOCK_SCORES, "scores" },
 #endif /* !HAVE_HILDON */
     { GAMES_STOCK_DEAL_CARDS, "cards-deal" }
   };



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