monkey-bubble r303 - in trunk: . src/ui
- From: herzi svn gnome org
- To: svn-commits-list gnome org
- Subject: monkey-bubble r303 - in trunk: . src/ui
- Date: Fri, 8 Feb 2008 13:15:38 +0000 (GMT)
Author: herzi
Date: Fri Feb 8 13:15:38 2008
New Revision: 303
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=303&view=rev
Log:
2008-02-08 Sven Herzberg <sven imendio com>
* src/ui/ui-main.c: (ui_main_new): share the "Quit" menu item between
GNOME and Maemo
Modified:
trunk/ChangeLog
trunk/src/ui/ui-main.c
Modified: trunk/src/ui/ui-main.c
==============================================================================
--- trunk/src/ui/ui-main.c (original)
+++ trunk/src/ui/ui-main.c Fri Feb 8 13:15:38 2008
@@ -230,12 +230,7 @@
{"GameResume", NULL, N_("Resume game"),
NULL, NULL,
G_CALLBACK (game_resume_cb)},
-#ifdef MAEMO
- {"ApplicationQuit", NULL, N_("Quit"),
- NULL, NULL,
- G_CALLBACK (quit_program)
- }
-#elif defined(GNOME)
+#ifdef GNOME
{"GameNew2Player", NULL, N_("New 2 players"),
NULL, NULL,
G_CALLBACK (new_2_player_game)},
@@ -251,17 +246,17 @@
{"GameStop", NULL, N_("Stop game"),
NULL, NULL,
G_CALLBACK (stop_game)},
- {"GameQuit", GTK_STOCK_QUIT, NULL,
- NULL, NULL,
- G_CALLBACK (quit_program)},
{"Help", NULL, N_("_Help")},
{"HelpContent", GTK_STOCK_HELP, N_("_Contents"),
NULL, NULL,
G_CALLBACK (show_help_content)},
{"HelpAbout", NULL, N_("_About"),
NULL, NULL,
- G_CALLBACK (about)}
+ G_CALLBACK (about)},
#endif
+ {"GameQuit", GTK_STOCK_QUIT, NULL,
+ NULL, NULL,
+ G_CALLBACK (quit_program)}
};
#ifdef MAEMO
HildonProgram * program;
@@ -325,7 +320,7 @@
"<menuitem action='GameNetworkJoin' />"
"<menuitem action='GamePause' />"
"<menuitem action='GameResume' />"
- "<menuitem action='ApplicationQuit' />"
+ "<menuitem action='GameQuit' />"
"</popup></ui>",
-1,
&error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]