]> err.no Git - mapper/commitdiff
Hide normal/auto zoom toolbar buttons on tablet.
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 1 Nov 2007 16:12:45 +0000 (18:12 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 1 Nov 2007 16:12:45 +0000 (18:12 +0200)
Add placeholder for route waypoint list activation.

src/ui-common.c

index 10c639a87c3bfc3236a629d437617fcbabc74dfb..fe56cea8456abfcea856a72159df0d2506a79d6a 100644 (file)
@@ -173,7 +173,7 @@ static const gchar *mapper_ui =
 "    <separator/>"
 "    <toolitem action='view_zoom_in'/>"
 "    <toolitem action='view_zoom_out'/>"
-#ifdef WITH_DEVICE_770
+#ifndef WITH_DEVICE_770
 "    <toolitem action='view_zoom_normal'/>"
 "    <toolitem action='view_zoom_auto'/>"
 #endif
@@ -824,6 +824,9 @@ renderer=gtk_cell_renderer_text_new();
 column=gtk_tree_view_column_new_with_attributes(_("Waypoint"), renderer, "text", ROUTE_WAYPOINT, NULL);
 gtk_tree_view_append_column(GTK_TREE_VIEW(route_tree_view), column);
 
+#if 0
+g_signal_connect(G_OBJECT(route_tree), "row-activated", G_CALLBACK(route_waypoint_activated_cb), NULL);
+#endif
 ui_notebook.route=gtk_notebook_append_page(notebook, vbox, label);
 
 menu_maps_add_repos();