From: Kaj-Michael Lang Date: Thu, 1 Nov 2007 16:12:45 +0000 (+0200) Subject: Hide normal/auto zoom toolbar buttons on tablet. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4d519ca60587a1b1f452ab97f3553abe40149829;p=mapper Hide normal/auto zoom toolbar buttons on tablet. Add placeholder for route waypoint list activation. --- 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();