-gint
-modest_platform_run_yes_no_dialog (GtkWindow *parent_window,
- const gchar *message)
-{
- GtkWidget *dialog;
- gint response;
-
- dialog = hildon_note_new_confirmation_add_buttons (parent_window, message,
- _("mcen_bd_yes"), GTK_RESPONSE_YES,
- _("mcen_bd_no"), GTK_RESPONSE_NO,
- NULL);
- modest_window_mgr_set_modal (modest_runtime_get_window_mgr (),
- GTK_WINDOW (dialog), GTK_WINDOW (parent_window));
- response = gtk_dialog_run (GTK_DIALOG (dialog));
-
- on_destroy_dialog (dialog);
-
- return response;
-}
-
-
-