X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-platform.h;h=3b321b316fa5cefd9fa766ae08428270e722e3fc;hb=94945a4ee31acfc11dbd1aedf0514ca833c708ee;hp=511f7306de5567c7bc5dff96b0651154e96e287a;hpb=2f51f213469dc0679fd33c205a6f6aa0c20481a9;p=modest diff --git a/src/modest-platform.h b/src/modest-platform.h index 511f730..3b321b3 100644 --- a/src/modest-platform.h +++ b/src/modest-platform.h @@ -179,6 +179,18 @@ gint modest_platform_run_rename_folder_dialog (GtkWindow *parent_win gint modest_platform_run_confirmation_dialog (GtkWindow *parent_window, const gchar *message); +/** + * modest_platform_run_yes_no_dialog: + * @parent_window: the parent #GtkWindow of the dialog + * @message: the message to show to the user + * + * runs a dialog that offers yes and no buttons. + * + * Returns: GTK_RESPONSE_YES or GTK_RESPONSE_NO + **/ +gint modest_platform_run_yes_no_dialog (GtkWindow *parent_window, + const gchar *message); + /** * modest_platform_run_information_dialog: