[gnome-nibbles] Remove games-stock from pause-auction
- From: Bryan Quigley <bryanquigs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-nibbles] Remove games-stock from pause-auction
- Date: Sat, 20 Apr 2013 21:17:36 +0000 (UTC)
commit e4acee3593efc0b06edda4d3f005e971ab99d94a
Author: Bryan Quigley <bryanquigs src gnome org>
Date: Sat Apr 20 16:49:19 2013 -0400
Remove games-stock from pause-auction
src/games-pause-action.c | 7 +++----
1 file changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/src/games-pause-action.c b/src/games-pause-action.c
index 986285e..c5250ba 100644
--- a/src/games-pause-action.c
+++ b/src/games-pause-action.c
@@ -20,7 +20,6 @@
*/
#include "games-pause-action.h"
-#include "games-stock.h"
enum {
PROP_0,
@@ -55,9 +54,9 @@ games_pause_action_set_is_paused (GamesPauseAction *action, gboolean is_paused)
return;
action->priv->is_paused = is_paused;
if (is_paused)
- gtk_action_set_stock_id (GTK_ACTION (action), GAMES_STOCK_RESUME_GAME);
+ gtk_action_set_stock_id (GTK_ACTION (action), GTK_STOCK_MEDIA_PLAY);
else
- gtk_action_set_stock_id (GTK_ACTION (action), GAMES_STOCK_PAUSE_GAME);
+ gtk_action_set_stock_id (GTK_ACTION (action), GTK_STOCK_MEDIA_PAUSE);
g_object_notify (G_OBJECT (action), "is-paused");
g_signal_emit (G_OBJECT (action), signals[STATE_CHANGED], 0);
}
@@ -113,7 +112,7 @@ static void
games_pause_action_init (GamesPauseAction *self)
{
self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self, GAMES_PAUSE_ACTION_TYPE, GamesPauseActionPrivate);
- gtk_action_set_stock_id (GTK_ACTION (self), GAMES_STOCK_PAUSE_GAME);
+ gtk_action_set_stock_id (GTK_ACTION (self), GTK_STOCK_MEDIA_PAUSE);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]