diff options
Diffstat (limited to 'common/gmounttracker.c')
-rw-r--r-- | common/gmounttracker.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/common/gmounttracker.c b/common/gmounttracker.c index a3909884..19792e2b 100644 --- a/common/gmounttracker.c +++ b/common/gmounttracker.c @@ -208,6 +208,11 @@ g_mount_info_from_dbus (GVariant *iter) if (mount_spec == NULL) return NULL; + if (fuse_mountpoint && fuse_mountpoint[0] == '\0') + fuse_mountpoint = NULL; + if (default_location && default_location[0] == '\0') + default_location = NULL; + if (icon_str == NULL || strlen (icon_str) == 0) icon_str = "drive-removable-media"; error = NULL; |