Implement "search messages" action (fixes NB#57209).
[modest] / src / gnome / modest-platform.c
index 4dc60c0..861eca3 100644 (file)
@@ -90,7 +90,7 @@ modest_platform_activate_uri (const gchar *uri)
 }
 
 gboolean 
-modest_platform_activate_file (const gchar *path)
+modest_platform_activate_file (const gchar *path, const gchar *mime_type)
 {
        modest_runtime_not_implemented (NULL);
        return FALSE;
@@ -178,15 +178,8 @@ modest_platform_run_confirmation_dialog (GtkWindow *parent_window,
 
 void
 modest_platform_run_information_dialog (GtkWindow *parent_window,
-                                       ModestInformationDialogType type)
+                                       const gchar *message)
 {
-       switch (type) {
-       case MODEST_INFORMATION_CREATE_FOLDER:
-               break;
-       case MODEST_INFORMATION_DELETE_FOLDER:
-               break;
-       };
-
        /* TODO: implement a information dialog */
 }
 
@@ -215,3 +208,24 @@ modest_platform_get_global_settings_dialog ()
 {
        return modest_gnome_global_settings_dialog_new ();
 }
+
+void 
+modest_platform_on_new_msg (void)
+{
+       /* TODO: implement this */
+       g_print ("--------------- NEW MESSAGE ARRIVED ---------------\n");
+}
+
+
+
+gboolean
+modest_platform_show_help (GtkWidget *widget, const gchar *help_id)
+{
+       return TRUE; /* TODO */
+}
+
+void
+modest_platform_show_search_messages (GtkWindow *parent_window)
+{
+       modest_runtime_not_implemented (NULL);
+}