]> err.no Git - mapper/commitdiff
Hildon help things
authorKaj-Michael Lang <milang@tori.tal.org>
Fri, 26 Oct 2007 10:21:25 +0000 (13:21 +0300)
committerKaj-Michael Lang <milang@tori.tal.org>
Fri, 26 Oct 2007 10:21:25 +0000 (13:21 +0300)
src/cb.c

index 4cc067558a955f178998123d9ced27d0caa019c2..62176dc911aecb3ca07cbae2b18c81a199e6dacb 100644 (file)
--- 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;
 }