From 4d519ca60587a1b1f452ab97f3553abe40149829 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Thu, 1 Nov 2007 18:12:45 +0200 Subject: [PATCH] Hide normal/auto zoom toolbar buttons on tablet. Add placeholder for route waypoint list activation. --- src/ui-common.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ui-common.c b/src/ui-common.c index 10c639a..fe56cea 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -173,7 +173,7 @@ static const gchar *mapper_ui = " " " " " " -#ifdef WITH_DEVICE_770 +#ifndef WITH_DEVICE_770 " " " " #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(); -- 2.39.5