diff options
author | Federico Mena Quintero <federico@ximian.com> | 2004-01-16 05:12:21 +0000 |
---|---|---|
committer | Federico Mena Quintero <federico@src.gnome.org> | 2004-01-16 05:12:21 +0000 |
commit | c6860c111b45dbe59c67a1d6c1ef646397a57812 (patch) | |
tree | 56bea0077fc6e5cb128d209b80fb77401897b809 /gtk/gtkfilechooser.c | |
parent | f2f12b9aaeb456e45428e80fe5295fcdba2b8f03 (diff) | |
download | gdk-pixbuf-c6860c111b45dbe59c67a1d6c1ef646397a57812.tar.gz |
Do not allow setting select_multiple when in Save mode. (set_list_model):
2004-01-16 Federico Mena Quintero <federico@ximian.com>
* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_set_property): Do not allow setting
select_multiple when in Save mode.
(set_list_model): No need to nullify the list_model and
sort_model.
(gtk_file_chooser_default_get_paths): Handle folder mode as well.
(get_paths_foreach): Likewise.
* gtk/gtkfilechooser.c (gtk_file_chooser_get_filename): Clarify
documentation about folder mode.
(gtk_file_chooser_get_uri): Likewise.
Diffstat (limited to 'gtk/gtkfilechooser.c')
-rw-r--r-- | gtk/gtkfilechooser.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkfilechooser.c b/gtk/gtkfilechooser.c index 82842b69b..30a235863 100644 --- a/gtk/gtkfilechooser.c +++ b/gtk/gtkfilechooser.c @@ -361,6 +361,9 @@ gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser) * Gets the filename for the currently selected file in * the file selector. If multiple files are selected, * one of the filenames will be returned at random. + * + * If the file chooser is in folder mode, this function returns the selected + * folder. * * Return value: The currently selected filename, or %NULL * if no file is selected, or the selected file can't @@ -629,6 +632,9 @@ gtk_file_chooser_set_current_name (GtkFileChooser *chooser, * the file selector. If multiple files are selected, * one of the filenames will be returned at random. * + * If the file chooser is in folder mode, this function returns the selected + * folder. + * * Return value: The currently selected URI, or %NULL * if no file is selected. Free with g_free() * |