]> Pileus Git - ~andy/gtk/commitdiff
Request the display name too, otherwise "Desktop" does not appear in the
authorMatthias Clasen <mclasen@redhat.com>
Mon, 11 Sep 2006 02:39:26 +0000 (02:39 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Mon, 11 Sep 2006 02:39:26 +0000 (02:39 +0000)
2006-09-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (model_add_special): Request
the display name too, otherwise "Desktop" does not appear
in the file chooser button.

ChangeLog
gtk/gtkfilechooserbutton.c

index 97450f53e89d0a4b98174bc84631acfe316a7848..62a055d88d9e39bfd316fc90939c884c39359826 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2006-09-10  Matthias Clasen  <mclasen@redhat.com>
+
+       * gtk/gtkfilechooserbutton.c (model_add_special): Request
+       the display name too, otherwise "Desktop" does not appear
+       in the file chooser button. 
+
 2006-09-10  Tor Lillqvist  <tml@novell.com>
 
        * gdk/win32/gdkprivate-win32.h
index c9d8809e13b8f0f502580c115dc189d314ddc4d1..8b3d78edc90d258bdfb756925af61b30116d8aa8 100644 (file)
@@ -1692,7 +1692,7 @@ model_add_special (GtkFileChooserButton *button)
       gtk_tree_path_free (tree_path);
 
       handle = gtk_file_system_get_info (button->priv->fs, path,
-                                        GTK_FILE_INFO_ICON,
+                                        GTK_FILE_INFO_DISPLAY_NAME | GTK_FILE_INFO_ICON,
                                         model_add_special_get_info_cb, info);
 
       gtk_list_store_set (store, &iter,