[Pioneers-commits] r32 - trunk/client/gtk

kemm at garage.maemo.org kemm at garage.maemo.org
Sun Mar 23 00:58:39 EET 2008


Author: kemm
Date: 2008-03-23 00:58:39 +0200 (Sun, 23 Mar 2008)
New Revision: 32

Modified:
   trunk/client/gtk/gui.c
Log:
Add fullscreen toolbar button

Modified: trunk/client/gtk/gui.c
===================================================================
--- trunk/client/gtk/gui.c	2008-03-22 22:49:24 UTC (rev 31)
+++ trunk/client/gtk/gui.c	2008-03-22 22:58:39 UTC (rev 32)
@@ -289,7 +289,7 @@
 static GtkToggleActionEntry toggle_entries[] = {
 	{"ShowHideToolbar", NULL, N_("_Toolbar"), NULL,
         N_("Show or hide the toolbar"), showhide_toolbar_cb, TRUE},
-    {"Fullscreen", NULL, N_("_Fullscreen"), "F6",
+    {"Fullscreen", GTK_STOCK_FULLSCREEN, N_("_Fullscreen"), "F6",
         N_("Toggle fullscreen"), toggle_fullscreen_cb, FALSE}
 };
 
@@ -328,6 +328,9 @@
 "      <menuitem action='BuildCityWall'/>"
 "    </menu>"
 "    <menu action='View'>"
+"      <menuitem action='ShowHideToolbar'/>"
+"      <menuitem action='Fullscreen'/>"
+"      <separator/>"
 "      <menuitem action='ZoomIn'/>"
 "      <menuitem action='ZoomOut'/>"
 "      <menuitem action='ZoomDefault'/>"
@@ -360,6 +363,7 @@
 "    <toolitem action='ZoomIn'/>"
 "    <toolitem action='ZoomOut'/>"
 "    <toolitem action='ZoomDefault'/>"
+"    <toolitem action='Fullscreen'/>"
 "  </toolbar>"
 "</ui>";
 /* *INDENT-ON* */



More information about the Pioneers-commits mailing list