From: Kaj-Michael Lang Date: Fri, 26 Oct 2007 10:21:25 +0000 (+0300) Subject: Hildon help things X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e3b0ef2352d2382fcff66df24f321bfb0a14de86;p=mapper Hildon help things --- diff --git a/src/cb.c b/src/cb.c index 4cc0675..62176dc 100644 --- a/src/cb.c +++ b/src/cb.c @@ -279,7 +279,7 @@ gtk_misc_set_alignment(GTK_MISC(label), 1.f, 0.5f); gtk_table_attach(GTK_TABLE(table), txt_lon = gtk_entry_new(), 1, 2, 1, 2, GTK_FILL, 0, 2, 4); gtk_misc_set_alignment(GTK_MISC(label), 0.0f, 0.5f); -#ifdef WITH_DEVICE_770 +#if defined (WITH_DEVICE_770) && !defined(WITH_HILDON_NEW) g_object_set(G_OBJECT(txt_lat), HILDON_INPUT_MODE_HINT, HILDON_INPUT_MODE_HINT_NUMERICSPECIAL, NULL); g_object_set(G_OBJECT(txt_lon), HILDON_INPUT_MODE_HINT, HILDON_INPUT_MODE_HINT_NUMERICSPECIAL, NULL); #endif @@ -543,6 +543,9 @@ menu_cb_help(GtkAction * action) #ifdef WITH_OSSO_HELP ossohelp_show(_osso, HELP_ID_INTRO, 0); #endif +#ifdef WITH_HILDON_HELP +hildon_help_show(_osso, HELP_ID_INTRO, 0); +#endif return TRUE; }