summaryrefslogtreecommitdiff
path: root/gtk/gtkfilesel.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2003-05-22 00:25:50 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2003-05-22 00:25:50 +0000
commite837bae836f19525d85e2222aa0909c1c74677d3 (patch)
tree8882f9bdba98f06fa3fee49a44e0356521343d2f /gtk/gtkfilesel.c
parentc1d40c029314e4833f1d217b66fc353440db415a (diff)
downloadgtk+-e837bae836f19525d85e2222aa0909c1c74677d3.tar.gz
(gtk_file_selection_set_filename): Add a hint about opening
directories. (#113175)
Diffstat (limited to 'gtk/gtkfilesel.c')
-rw-r--r--gtk/gtkfilesel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c
index 9ad466d006..b105970fb1 100644
--- a/gtk/gtkfilesel.c
+++ b/gtk/gtkfilesel.c
@@ -1176,6 +1176,10 @@ gtk_file_selection_hide_fileop_buttons (GtkFileSelection *filesel)
* directory path, then the requestor will open with that path as its
* current working directory.
*
+ * This has the consequence that in order to open the requestor with a
+ * working directory and an empty filename, @filename must have a trailing
+ * directory separator.
+ *
* The encoding of @filename is the on-disk encoding, which
* may not be UTF-8. See g_filename_from_utf8().
**/