Comment 3 for bug 1751678

Revision history for this message
Olivier Tilloy (osomon) wrote :

The GTK save dialog is invoked in libgtkui::SelectFileDialogImplGTK::CreateSaveAsDialog(…) like so:

GtkWidget* dialog = gtk_file_chooser_dialog_new(
    title_string.c_str(), nullptr, GTK_FILE_CHOOSER_ACTION_SAVE,
    GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, GTK_STOCK_SAVE,
    GTK_RESPONSE_ACCEPT, nullptr);