* Fix behavior of check names for fremantle.
[modest] / src / hildon2 / modest-platform.c
index bea330b..9092493 100644 (file)
@@ -663,7 +663,7 @@ modest_platform_run_folder_name_dialog (GtkWindow *parent_window,
        dialog = gtk_dialog_new_with_buttons (dialog_title,
                                              parent_window,
                                              GTK_DIALOG_MODAL | GTK_DIALOG_NO_SEPARATOR | GTK_DIALOG_DESTROY_WITH_PARENT,
-                                             _("mcen_bd_dialog_ok"),
+                                             _HL("wdgt_bd_done"),
                                              GTK_RESPONSE_ACCEPT,
                                              NULL);
 
@@ -1066,10 +1066,6 @@ modest_platform_create_sort_dialog       (GtkWindow *parent_window)
 
        dialog = modest_hildon2_sort_dialog_new (parent_window);
 
-       hildon_help_dialog_help_enable (GTK_DIALOG(dialog),
-                                       "applications_email_sort",
-                                       modest_maemo_utils_get_osso_context());
-
        return dialog;
 }
 
@@ -1376,20 +1372,7 @@ void
 modest_platform_show_help (GtkWindow *parent_window, 
                           const gchar *help_id)
 {
-       osso_return_t result;
-       g_return_if_fail (help_id);
-
-       result = hildon_help_show (modest_maemo_utils_get_osso_context(),
-                                  help_id, HILDON_HELP_SHOW_DIALOG);
-       
-       if (result != OSSO_OK) {
-               gchar *error_msg;
-               error_msg = g_strdup_printf ("FIXME The help topic %s could not be found", help_id); 
-               hildon_banner_show_information (GTK_WIDGET (parent_window),
-                                               NULL,
-                                               error_msg);
-               g_free (error_msg);
-       }
+       return;
 }
 
 void 
@@ -1681,9 +1664,9 @@ modest_platform_run_certificate_confirmation_dialog (const gchar* server_name,
        note = hildon_note_new_confirmation_add_buttons  (
                GTK_WINDOW(main_win),
                question,
-               _("mcen_bd_dialog_ok"),     GTK_RESPONSE_OK,
-               _("mcen_bd_view"),          GTK_RESPONSE_APPLY,   /* abusing this... */
-               _("mcen_bd_dialog_cancel"), GTK_RESPONSE_CANCEL,
+               _HL("wdgt_bd_yes"),     GTK_RESPONSE_OK,
+               _HL("wdgt_bd_view"),          GTK_RESPONSE_APPLY,   /* abusing this... */
+               _HL("wdgt_bd_no"), GTK_RESPONSE_CANCEL,
                NULL, NULL);
        
        g_signal_connect (G_OBJECT(note), "response", 
@@ -2139,3 +2122,9 @@ modest_platform_run_header_details_dialog (GtkWindow *parent_window,
                                  G_CALLBACK (gtk_widget_destroy),
                                  dialog);
 }
+
+osso_context_t *
+modest_platform_get_osso_context (void)
+{
+       return modest_maemo_utils_get_osso_context ();
+}