fix: multiple selection in //shell_dialogs
Portal/KDE implementations (#42424)
* fix: multiple selection in //shell_dialogs portal implementation Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> * fix: allow multiple directory selection in KDE implementation Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com> --------- Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com> Co-authored-by: Shelley Vohr <shelley.vohr@gmail.com>
This commit is contained in:
parent
9ab67cc2f6
commit
f272c5fb98
2 changed files with 179 additions and 19 deletions
|
@ -67,8 +67,9 @@ class FileChooserDialog : public ui::SelectFileDialog::Listener {
|
|||
|
||||
~FileChooserDialog() override = default;
|
||||
|
||||
gtk::ExtraSettings GetExtraSettings(const DialogSettings& settings) {
|
||||
gtk::ExtraSettings extra;
|
||||
ui::SelectFileDialogLinux::ExtraSettings GetExtraSettings(
|
||||
const DialogSettings& settings) {
|
||||
ui::SelectFileDialogLinux::ExtraSettings extra;
|
||||
extra.button_label = settings.button_label;
|
||||
extra.show_overwrite_confirmation =
|
||||
settings.properties & SAVE_DIALOG_SHOW_OVERWRITE_CONFIRMATION;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue