]> err.no Git - mapper/commitdiff
Hildon help
authorKaj-Michael Lang <milang@tori.tal.org>
Fri, 26 Oct 2007 10:28:07 +0000 (13:28 +0300)
committerKaj-Michael Lang <milang@tori.tal.org>
Fri, 26 Oct 2007 10:28:07 +0000 (13:28 +0300)
src/map-repo.c
src/route.c
src/settings-gui.c

index 2480e9568592e7b87b1c0e39e1f1068a271c5d9b..f4fd282071407551b314ab40c07a41b56584c29f 100644 (file)
@@ -1140,7 +1140,7 @@ gboolean menu_cb_mapman(GtkAction * action)
                         2, 3, 4, 5, GTK_EXPAND | GTK_FILL, 0, 4, 0);
        gtk_entry_set_alignment(GTK_ENTRY(mapman_info.txt_botright_lon), 1.f);
 
-#ifdef WITH_DEVICE_770
+#if defined(WITH_DEVICE_770) && !defined(WITH_HILDON_NEW)
        /* Set hildon input hints */
        g_object_set(G_OBJECT(mapman_info.txt_topleft_lon),
                     HILDON_INPUT_MODE_HINT,
index f3e064b4bffb363dfda68ff5ec2a06ab32a86012..5b14251ded7f279bf3d4448dcf308a83067b4707 100644 (file)
@@ -276,9 +276,11 @@ dialog = gtk_dialog_new_with_buttons(_("Download Route"),
                             GTK_RESPONSE_REJECT, NULL);
 
 #ifdef WITH_OSSO_HELP
-/* Enable the help button. */
 ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_DOWNROUTE, _osso);
 #endif
+#ifdef WITH_HILDON_HELP
+hildon_help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_DOWNROUTE, _osso);
+#endif
 
 gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog)->vbox),
           table = gtk_table_new(2, 5, FALSE), TRUE, TRUE, 0);
index ceb4ba33846fdd39a3480a355f1ea94314f6586a..17a94528cde3a53b1a4ac2d1a63fa42bfc7d9780 100644 (file)
@@ -406,9 +406,11 @@ settings_dialog(void)
                                             GTK_RESPONSE_ACCEPT, NULL);
 
 #ifdef WITH_OSSO_HELP
-       /* Enable the help button. */
        ossohelp_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS, _osso);
 #endif
+#ifdef WITH_HILDON_HELP
+       hildon_help_dialog_help_enable(GTK_DIALOG(dialog), HELP_ID_SETTINGS, _osso);
+#endif
 #ifdef WITH_DEVICE_770
        gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->action_area),
                          btn_buttons = gtk_button_new_with_label(_("Hardware Keys...")));