monkey-bubble r301 - in trunk: . src/ui



Author: herzi
Date: Fri Feb  8 13:15:25 2008
New Revision: 301
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=301&view=rev

Log:
2008-02-08  Sven Herzberg  <sven imendio com>

	* src/ui/ui-main.c: (ui_main_new): share the "Join network game" menu
	item between Maemo and GNOME


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:25 2008
@@ -225,11 +225,10 @@
 		{"GameNew1Player", NULL, N_("New 1 player"),
 		 NULL, NULL,
 		 G_CALLBACK (new_1_player_game)},
-#ifdef MAEMO
-		{"GameJoin", NULL, N_("Join network game"),
+		{"GameNetworkJoin", NULL, N_("Join _network game"),
 		 NULL, NULL,
-		 G_CALLBACK (new_network_game)
-		},
+		 G_CALLBACK (new_network_game)},
+#ifdef MAEMO
 		{"GamePause", NULL, N_("Pause"),
 		 NULL, NULL,
 		 G_CALLBACK (pause_game)
@@ -245,9 +244,6 @@
 		{"GameNetworkNew", NULL, N_("New network game"),
 		 NULL, NULL,
 		 G_CALLBACK (new_network_server)},
-		{"GameNetworkJoin", NULL, N_("Join _network game"),
-		 NULL, NULL,
-		 G_CALLBACK (new_network_game)},
 		{"GameSettings", GTK_STOCK_PREFERENCES, NULL,
 		 NULL, NULL,
 		 G_CALLBACK (show_preferences_dialog)},
@@ -334,7 +330,7 @@
 	gtk_ui_manager_add_ui_from_string (ui_manager,
 					   "<ui><popup name='main_menu' action='Game'>"
 					     "<menuitem action='GameNew1Player' />"
-					     "<menuitem action='GameJoin' />"
+					     "<menuitem action='GameNetworkJoin' />"
 					     "<menuitem action='GamePause' />"
 					     "<menuitem action='ApplicationQuit' />"
 					   "</popup></ui>",



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