@LiquidCake commented on this pull request.
> + return FALSE; +} + + +static gint run_dialog_for_persistent_doc_tab_closing(const gchar *msg, const gchar *msg2) +{ + GtkWidget *dialog, *button; + gint ret; + + dialog = gtk_message_dialog_new(GTK_WINDOW(geany->main_widgets->window), GTK_DIALOG_DESTROY_WITH_PARENT, + GTK_MESSAGE_QUESTION, GTK_BUTTONS_NONE, "%s", msg); + gtk_window_set_title(GTK_WINDOW(dialog), _("Question")); + gtk_message_dialog_format_secondary_text(GTK_MESSAGE_DIALOG(dialog), "%s", msg2); + gtk_dialog_add_button(GTK_DIALOG(dialog), GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL); + + button = ui_button_new_with_image(GTK_STOCK_CLEAR, _("_Don't save"));
done
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.