#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 */
}
/* TODO: implement a information dialog */
}
-gboolean modest_platform_connect_and_wait (GtkWindow *parent_window)
+gboolean modest_platform_connect_and_wait (GtkWindow *parent_window, TnyAccount *account)
+{
+ /* TODO: Do something with network-manager?
+ Otherwise, maybe it is safe to assume that we would already be online if we could be. */
+ return TRUE;
+}
+
+gboolean modest_platform_connect_and_wait_if_network_account (GtkWindow *parent_window, TnyAccount *account)
{
/* TODO: Do something with network-manager?
Otherwise, maybe it is safe to assume that we would already be online if we could be. */
{
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;
+}