X-Git-Url: http://git.maemo.org/git/?p=modest;a=blobdiff_plain;f=src%2Fgnome%2Fmodest-platform.c;h=861eca3a7bac52939e5669981e6febe96b9a82e0;hp=4dc60c0d280fce1ce6e52ab6bbe4643ef242645c;hb=9d8de13bc46137931a2790969dcb1fb932c7bcc6;hpb=0edd0f0c6813c947ecab591cd50c857a1eebfafd diff --git a/src/gnome/modest-platform.c b/src/gnome/modest-platform.c index 4dc60c0..861eca3 100644 --- a/src/gnome/modest-platform.c +++ b/src/gnome/modest-platform.c @@ -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); +}