summaryrefslogtreecommitdiff
path: root/gtk/gtkfiledialog.h
Commit message (Collapse)AuthorAgeFilesLines
* filedialog: Drop shortcut foldersMatthias Clasen2023-01-061-9/+0
| | | | | | The filechooser portal does not support this, and we are defaulting to using the portal now. Lets not offer a non-functional API.
* filedialog: CosmeticsMatthias Clasen2023-01-051-6/+6
|
* filedialog: Rename :current-filter to :default-filterBenjamin Otte2022-12-241-2/+2
| | | | The last "current" removed from properties. None of these are current.
* filedialog: Add gtk_file_dialog_set_initial_file()Benjamin Otte2022-12-241-3/+8
| | | | | | A shortcut for setting initial-folder and initial-name at the same time. We can remove all arguments from the actual async calls this way.
* filedialog: Add gtk_file_dialog_set_initial_name()Benjamin Otte2022-12-241-1/+7
|
* filedialog: Rename current-folder to initial-folderBenjamin Otte2022-12-241-3/+3
| | | | | It's not the current one - unlike in GtkFileChooser - because there are no live updates. So we use a more descriptive name.
* gtkfiledialog: Allow devs to set custom accept labelsChristopher Davis2022-12-161-0/+7
| | | | | | | | | | | | Accept labels can be used for additional context regarding the purpose of a file. The old GtkFileChooser APIs allowed developers to set it, but the initial FileDialog API was missing this functionality. This commit adds `gtk_file_dialog_set_accept_label ()` to restore the missing functionality. Closes https://gitlab.gnome.org/GNOME/gtk/-/issues/5421
* Add GtkFileDialogMatthias Clasen2022-10-291-0/+151
Add an async API for picking a file, together with a builder object for it. This is meant to replace direct use of GtkFileChooserDialog.