diff options
author | Bastien Nocera <hadess@hadess.net> | 2012-04-19 14:26:11 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2012-04-19 14:26:11 +0100 |
commit | 07866aa933408219016195ae4fda50b94b638dd8 (patch) | |
tree | 019c754a4e330c8b609705bc253d2cd7a15347b6 | |
parent | 3d063ebaf7c8b8c5123191425a03585a100a05cd (diff) | |
download | gnome-control-center-07866aa933408219016195ae4fda50b94b638dd8.tar.gz |
info: Ignore removable mounts
That used to be in /media and are now in /run/media/$USERNAME/
-rw-r--r-- | panels/info/cc-info-panel.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/panels/info/cc-info-panel.c b/panels/info/cc-info-panel.c index 226d2019e..254784f32 100644 --- a/panels/info/cc-info-panel.c +++ b/panels/info/cc-info-panel.c @@ -665,6 +665,7 @@ get_primary_disc_info (CcInfoPanel *self) mount_path = g_unix_mount_get_mount_path (mount); if (gsd_should_ignore_unix_mount (mount) || + gsd_is_removable_mount (mount) || g_str_has_prefix (mount_path, "/media/") || g_str_has_prefix (mount_path, g_get_home_dir ())) { |