From: Mario Rugiero <[email protected]>
A break was missing between cases G_FILE_TYPE_SHORTCUT and
F_GILE_TYPE_MOUNTABLE.
In this case, there's no logical reason why a shortcut should
be treated as a mountable, so it was concluded this was
actually a mistake.
---
src/base/fm-file-info.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/base/fm-file-info.c b/src/base/fm-file-info.c
index a2775d5..7d1b2d8 100644
--- a/src/base/fm-file-info.c
+++ b/src/base/fm-file-info.c
@@ -632,6 +632,7 @@ void fm_file_info_set_from_g_file_data(FmFileInfo *fi,
GFile *gf, GFileInfo *inf
{
case G_FILE_TYPE_SHORTCUT:
fi->shortcut = TRUE;
+ break;
case G_FILE_TYPE_MOUNTABLE:
uri = g_file_info_get_attribute_string(inf,
G_FILE_ATTRIBUTE_STANDARD_TARGET_URI);
if(uri)
--
2.17.1
_______________________________________________
Lxde-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxde-list