Make DBus desktop portal start automatically
Signed-off-by: falkTX <falktx@falktx.com>
This commit is contained in:
parent
a82af5aff8
commit
05cac6e738
2 changed files with 3 additions and 1 deletions
2
dpf
2
dpf
|
|
@ -1 +1 @@
|
||||||
Subproject commit f26b8147d309f8b3cdcaa6b3e6d8dac773658009
|
Subproject commit 2e224d4a7fda99a705879648a3b335f6c12b131f
|
||||||
|
|
@ -131,6 +131,7 @@ void loadDialog()
|
||||||
FileBrowserOptions opts;
|
FileBrowserOptions opts;
|
||||||
opts.startDir = dir.c_str();
|
opts.startDir = dir.c_str();
|
||||||
opts.saving = ui->saving = false;
|
opts.saving = ui->saving = false;
|
||||||
|
opts.title = "Open patch";
|
||||||
ui->openFileBrowser(opts);
|
ui->openFileBrowser(opts);
|
||||||
});
|
});
|
||||||
#endif
|
#endif
|
||||||
|
|
@ -227,6 +228,7 @@ static void saveAsDialog(const bool uncompressed)
|
||||||
FileBrowserOptions opts;
|
FileBrowserOptions opts;
|
||||||
opts.startDir = dir.c_str();
|
opts.startDir = dir.c_str();
|
||||||
opts.saving = ui->saving = true;
|
opts.saving = ui->saving = true;
|
||||||
|
opts.title = "Save patch";
|
||||||
ui->savingUncompressed = uncompressed;
|
ui->savingUncompressed = uncompressed;
|
||||||
ui->openFileBrowser(opts);
|
ui->openFileBrowser(opts);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue