X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-platform.h;h=c22d839763738a9962074464787c9f851afb643e;hb=ee9a9871f25d1cbb863c76b57b5acadea4035695;hp=90980843b5c6f3756b6d31b924de93ee3e3dd5ee;hpb=587841e2cb7a496338354f15385eea4deee3a3e1;p=modest diff --git a/src/modest-platform.h b/src/modest-platform.h index 9098084..c22d839 100644 --- a/src/modest-platform.h +++ b/src/modest-platform.h @@ -33,6 +33,7 @@ #include #include "widgets/modest-window.h" #include "widgets/modest-folder-view.h" +#include "widgets/modest-sort-criterium-view.h" G_BEGIN_DECLS @@ -40,10 +41,6 @@ typedef enum _ModestConfirmationDialogType { MODEST_CONFIRMATION_DELETE_FOLDER, } ModestConfirmationDialogType; -typedef enum _ModestSortDialogType { - MODEST_SORT_HEADERS, -} ModestSortDialogType; - typedef enum _ModestConnectedVia { MODEST_CONNECTED_VIA_WLAN_OR_WIMAX = 1, MODEST_CONNECTED_VIA_ANY, @@ -239,14 +236,14 @@ void modest_platform_run_information_dialog (GtkWindow *parent_window gboolean block); /** - * modest_platform_run_sort_dialog: + * modest_platform_create_sort_dialog: * @parent_window: the parent #GtkWindow of the dialog - * @type: the sort dialog type. * - * shows a sort dialog + * creates a proper sort dialog for the platform + * + * Returns: a #GtkDialog implementing #ModestSortCriteriumView interface **/ -void modest_platform_run_sort_dialog (GtkWindow *parent_window, - ModestSortDialogType type); +GtkWidget *modest_platform_create_sort_dialog (GtkWindow *parent_window); /* * modest_platform_connect_and_wait: