From: Kaj-Michael Lang Date: Thu, 24 Jan 2008 16:26:33 +0000 (+0200) Subject: Hide Help on !hildon case. Hide work-in-progress menu entries. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10d71db32e27ab12b4597fe0e522995557766387;p=mapper Hide Help on !hildon case. Hide work-in-progress menu entries. --- diff --git a/src/ui-common.c b/src/ui-common.c index ce6e223..8782ca2 100644 --- a/src/ui-common.c +++ b/src/ui-common.c @@ -30,7 +30,7 @@ #include "mapper-types.h" #include "ui-common.h" #include "db.h" - +#include "gps-panels.h" #include "settings-gui.h" /* Callbacks */ @@ -124,11 +124,11 @@ static const gchar *mapper_ui = " " " " " " +#if 0 " " " " " " -" " -" " +#endif " " " " " " @@ -159,11 +159,11 @@ static const gchar *mapper_ui = " " " " " " -" " -" " " " " " +#if defined (WITH_OSSO_HELP) || defined(WITH_HILDON_HELP) " " +#endif " " " " " " @@ -762,7 +762,7 @@ g_signal_connect(G_OBJECT(_window), "key_release_event", G_CALLBACK(window_cb_ke /* If we have a route, calculate the next point. */ route_find_nearest_point(); -gps_show_info(); +gps_show_info(&_gps->data); gtk_idle_add((GSourceFunc)window_present, NULL); }