From f36449da95c4f072936d34f55dfa0aa9fa6d6c0f Mon Sep 17 00:00:00 2001
From: Aleksey Lim <alsroot@member.fsf.org>
Date: Sun, 20 Sep 2009 10:43:34 +0000
Subject: Don't automount all the volumes at startup #1357
---
extensions/deviceicon/volume.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/extensions/deviceicon/volume.py b/extensions/deviceicon/volume.py
index 4ccae7a..2e9cbeb 100644
a
|
b
|
def _setup_volumes(tray): |
77 | 77 | volume_monitor = gio.volume_monitor_get() |
78 | 78 | |
79 | 79 | for volume in volume_monitor.get_volumes(): |
| 80 | # Follow Nautilus behaviour here |
| 81 | # since it has the same issue with removable device |
| 82 | # and it would be good to not invent our own workflow |
| 83 | if not volume.should_automount(): |
| 84 | continue |
80 | 85 | _mount(volume, tray) |
81 | 86 | |
82 | 87 | for mount in volume_monitor.get_mounts(): |