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



Author: bellau
Date: Fri Feb  8 21:59:18 2008
New Revision: 309
URL: http://svn.gnome.org/viewvc/monkey-bubble?rev=309&view=rev

Log:
2008-02-08  Laurent Belmonte  <laurent belmonte gmail com>

	* src/ui/ui-main.c: (ui_main_new), (fullscreen): add fullscreen
	GtkActionEntry and dummy fullscreen callback


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 21:59:18 2008
@@ -107,6 +107,9 @@
 
 static void show_preferences_dialog (GtkAction* action,
 				     UiMain   * uimain);
+
+static void fullscreen              (GtkAction* action,
+				     UiMain   * uimain);
 #endif
 
 static void ui_main_new_1_player_game(UiMain * ui_main);
@@ -253,6 +256,9 @@
 		{"HelpAbout", NULL, N_("_About"),
 		 NULL, NULL,
 		 G_CALLBACK (about)},
+                {"WindowFullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"),
+                 NULL, NULL,
+                 G_CALLBACK (fullscreen)},
 #endif
 		{"GameQuit", GTK_STOCK_QUIT, NULL,
 		 NULL, NULL,
@@ -817,4 +823,10 @@
     
         gtk_widget_show_all (dialog);
 }
+
+static void fullscreen (GtkAction* action,
+                        UiMain   * uimain)
+{
+        // TODO : do something here
+}
 #endif



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