* call osso_abook_init before doing anything with the addressbook.
[modest] / src / gnome / modest-platform.c
index 036829a..0143b45 100644 (file)
@@ -37,7 +37,7 @@
 #include "gnome/modest-gnome-global-settings-dialog.h"
 
 gboolean
-modest_platform_init (void)
+modest_platform_init (int argc, char *argv[])
 {      
        return TRUE; /* nothing to do */
 }
@@ -223,3 +223,21 @@ 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;
+}