diff options
author | Alexander Larsson <alexl@redhat.com> | 2004-02-20 07:52:56 +0000 |
---|---|---|
committer | Alexander Larsson <alexl@src.gnome.org> | 2004-02-20 07:52:56 +0000 |
commit | 0300bfdc329c1e4627c80e5eff6ed2bdfaaac515 (patch) | |
tree | 8c77602fe998179c35526ff77ded6398122f0fa6 /gtk/gtkfilechooserwidget.c | |
parent | 87ce33548f851a9013b49227c8250b449fb687d1 (diff) | |
download | gtk+-0300bfdc329c1e4627c80e5eff6ed2bdfaaac515.tar.gz |
Desktop directory is not translated. (set_tree_model): There might not be
2004-02-20 Alexander Larsson <alexl@redhat.com>
* gtk/gtkfilechooserdefault.c: (shortcuts_append_desktop):
Desktop directory is not translated.
(set_tree_model):
There might not be volumes for all paths.
* gtk/gtkfilechooserwidget.c:
(gtk_file_chooser_widget_constructor):
Use gtk_file_chooser_set_current_folder to set cwd.
Diffstat (limited to 'gtk/gtkfilechooserwidget.c')
-rw-r--r-- | gtk/gtkfilechooserwidget.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gtkfilechooserwidget.c b/gtk/gtkfilechooserwidget.c index 2e9d3bef4d..41bf628674 100644 --- a/gtk/gtkfilechooserwidget.c +++ b/gtk/gtkfilechooserwidget.c @@ -144,12 +144,7 @@ gtk_file_chooser_widget_constructor (GType type, gtk_widget_show (priv->impl); current_folder = g_get_current_dir (); - current_folder_uri = g_filename_to_uri (current_folder, NULL, NULL); - if (current_folder_uri) - { - gtk_file_chooser_set_current_folder_uri (GTK_FILE_CHOOSER (priv->impl), current_folder_uri); - g_free (current_folder_uri); - } + gtk_file_chooser_set_current_folder (GTK_FILE_CHOOSER (priv->impl), current_folder); g_free (current_folder); _gtk_file_chooser_set_delegate (GTK_FILE_CHOOSER (object), |