From 3d5517fe1d01f47b79885fe3686f324a502185d5 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Thu, 22 May 2003 00:24:17 +0000 Subject: [PATCH] (gtk_file_selection_set_filename): Add a hint about opening directories. (#113175) --- ChangeLog | 2 ++ ChangeLog.pre-2-10 | 2 ++ ChangeLog.pre-2-4 | 2 ++ ChangeLog.pre-2-6 | 2 ++ ChangeLog.pre-2-8 | 2 ++ gtk/gtkfilesel.c | 4 ++++ 6 files changed, 14 insertions(+) diff --git a/ChangeLog b/ChangeLog index d04cbc17ab..9d583cb934 100644 --- a/ChangeLog +++ b/ChangeLog @@ -5,6 +5,8 @@ "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110) + (gtk_file_selection_set_filename): Add a hint about opening + directories. (#113175) Wed May 21 15:53:14 2003 Owen Taylor diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index d04cbc17ab..9d583cb934 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -5,6 +5,8 @@ "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110) + (gtk_file_selection_set_filename): Add a hint about opening + directories. (#113175) Wed May 21 15:53:14 2003 Owen Taylor diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index d04cbc17ab..9d583cb934 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -5,6 +5,8 @@ "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110) + (gtk_file_selection_set_filename): Add a hint about opening + directories. (#113175) Wed May 21 15:53:14 2003 Owen Taylor diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index d04cbc17ab..9d583cb934 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -5,6 +5,8 @@ "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110) + (gtk_file_selection_set_filename): Add a hint about opening + directories. (#113175) Wed May 21 15:53:14 2003 Owen Taylor diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index d04cbc17ab..9d583cb934 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -5,6 +5,8 @@ "Rename File" and "Create Directory" subdialogs: Enter in entry activates default, default is "Create"/"Rename", Escape cancels dialog. (#113110) + (gtk_file_selection_set_filename): Add a hint about opening + directories. (#113175) Wed May 21 15:53:14 2003 Owen Taylor diff --git a/gtk/gtkfilesel.c b/gtk/gtkfilesel.c index 71bbf9d9e2..1326eec1e7 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(). **/