* Full implementation of the Global settings dialogs UI with all the notifications...
[modest] / src / maemo / modest-platform.c
index d16e0c0..88a5edf 100644 (file)
@@ -627,19 +627,9 @@ modest_platform_run_confirmation_dialog (GtkWindow *parent_window,
 
 void
 modest_platform_run_information_dialog (GtkWindow *parent_window,
-                                       ModestInformationDialogType type)
+                                       const gchar *message)
 {
        GtkWidget *dialog;
-       gchar *message = NULL;
-
-       switch (type) {
-       case MODEST_INFORMATION_CREATE_FOLDER:
-               message = _("mail_in_ui_folder_create_error");
-               break;
-       case MODEST_INFORMATION_DELETE_FOLDER:
-               message = _("mail_in_ui_folder_delete_error");
-               break;
-       };
 
        dialog = hildon_note_new_information (parent_window, message);