]> err.no Git - mapper/commitdiff
Comment out fullscreen toolbar item for now
authorKaj-Michael Lang <milang@onion.tal.org>
Wed, 5 Sep 2007 13:39:21 +0000 (16:39 +0300)
committerKaj-Michael Lang <milang@onion.tal.org>
Wed, 5 Sep 2007 13:39:21 +0000 (16:39 +0300)
src/ui-common.c

index baed86b864d6415ecd9dfb9baaa97aab0380fd88..6986374f583e631acc9dd37993489e9d29371406 100644 (file)
@@ -155,8 +155,10 @@ static const gchar *mapper_ui =
 "    <toolitem action='poi_quick_add'/>"
 "    <toolitem action='poi_search'/>"
 "    <separator/>"
+#if 0
 "    <toolitem action='view_fullscreen'/>"
 "    <separator/>"
+#endif
 "    <toolitem action='view_zoom_in'/>"
 "    <toolitem action='view_zoom_out'/>"
 "    <toolitem action='view_zoom_normal'/>"
@@ -231,7 +233,11 @@ static GtkToggleActionEntry ui_toggle_entries[] = {
        {"view_zoom_auto", GTK_STOCK_ZOOM_FIT, N_("AutoZoom"), NULL, NULL, G_CALLBACK(cb_zoom_auto), FALSE},
        {"gps_enabled", GTK_STOCK_CONNECT, N_("Enabled"), NULL, NULL, G_CALLBACK(menu_cb_enable_gps), FALSE},
        {"gps_information", GTK_STOCK_INFO, N_("Panel"), NULL, NULL, G_CALLBACK (menu_cb_gps_show_info), FALSE},
+#if 0
        {"view_fullscreen", GTK_STOCK_FULLSCREEN, N_("Fullscreen"), NULL, NULL, G_CALLBACK(cb_fullscreen), FALSE },
+#else
+       {"view_fullscreen", NULL, N_("Fullscreen"), NULL, NULL, G_CALLBACK(cb_fullscreen), FALSE },
+#endif
        {"view_scale", NULL, N_("Scale"), NULL, NULL, G_CALLBACK(menu_cb_show_scale) , TRUE },
        {"view_route", NULL, N_("Route"), NULL, NULL, G_CALLBACK(menu_cb_show_routes), TRUE },
        {"view_track", NULL, N_("Track"), NULL, NULL, G_CALLBACK(menu_cb_show_tracks), TRUE },
@@ -616,7 +622,7 @@ SPEED_LOCATION_TEXT[SPEED_LOCATION_BOTTOM_LEFT] = _("Bottom-Left");
 void 
 mapper_ui_init(void)
 {
-GtkWidget *hbox, *mapvbox, *label, *vbox, *vbox_main;
+GtkWidget *hbox, *mapvbox, *label, *vbox_main;
 GtkWidget *notebook;
 GdkColor color;
 GError *error = NULL;