diff options
author | Tomas Bzatek <tbzatek@redhat.com> | 2008-12-15 16:12:09 +0000 |
---|---|---|
committer | Tomas Bzatek <tbzatek@src.gnome.org> | 2008-12-15 16:12:09 +0000 |
commit | d1a0239a1882075af92071550cec6aa40e01fb75 (patch) | |
tree | 5c85c85c9eb01afec935e70c1136a7bf692cbde4 /gtk/gtkfilesystem.c | |
parent | 95b5ec01f7c1d6bae34a23213d1347a2a8956d2e (diff) | |
download | gtk+-d1a0239a1882075af92071550cec6aa40e01fb75.tar.gz |
Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)
2008-12-15 Tomas Bzatek <tbzatek@redhat.com>
* gtk/gtkfilechooserdefault.c: (list_row_activated):
* gtk/gtkfilesystem.c: (_gtk_file_info_consider_as_directory):
Mask G_FILE_TYPE_SHORTCUT as a directory (#561494)
svn path=/trunk/; revision=21906
Diffstat (limited to 'gtk/gtkfilesystem.c')
-rw-r--r-- | gtk/gtkfilesystem.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkfilesystem.c b/gtk/gtkfilesystem.c index f4b78d4d54..549671da5a 100644 --- a/gtk/gtkfilesystem.c +++ b/gtk/gtkfilesystem.c @@ -1803,6 +1803,7 @@ _gtk_file_info_consider_as_directory (GFileInfo *info) GFileType type = g_file_info_get_file_type (info); return (type == G_FILE_TYPE_DIRECTORY || - type == G_FILE_TYPE_MOUNTABLE); + type == G_FILE_TYPE_MOUNTABLE || + type == G_FILE_TYPE_SHORTCUT); } |