* Added modest_platform_create_folder_view
[modest] / src / gnome / modest-platform.c
index afba432..c92d1da 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;
@@ -215,3 +215,29 @@ 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);
+}
+
+GtkWidget *
+modest_platform_create_folder_view (TnyFolderStoreQuery *query)
+{
+       GtkWidget *widget = modest_folder_view_new (query);
+
+       /* Show all accounts by default */
+       modest_folder_view_set_style (MODEST_FOLDER_VIEW (widget),
+                                     MODEST_FOLDER_VIEW_STYLE_SHOW_ALL);
+
+       return widget;
+}