Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorManuel Kaufmann <humitos@gmail.com>2013-02-04 20:51:57 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-03-27 13:59:21 (GMT)
commit5d821ef39b755a2713509bb034d5a253725b6ffc (patch)
tree61043c61e24baf779bd66d60229e24d899dd4db9
parent6927400123174da8b68d33ec69a591e8845af895 (diff)
Do not hide empty panel when a pen drive is (un)mounted SL #4405
If we start Jukebox from scratch, the empty panel is shown immediately. In that moment, if we insert a Pen Drive the empty panel is still showed. The previous behaviour was to hide the empty panel and show nothing. Signed-off-by: Manuel Kaufmann <humitos@gmail.com>
-rw-r--r--activity.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/activity.py b/activity.py
index a5c6942..efdaa29 100644
--- a/activity.py
+++ b/activity.py
@@ -253,13 +253,11 @@ class JukeboxActivity(activity.Activity):
def __mount_added_cb(self, volume_monitor, device):
logging.debug('Mountpoint added. Checking...')
- self.view_area.set_current_page(0)
self.remove_alert(self._alert)
self.playlist_widget.update()
def __mount_removed_cb(self, volume_monitor, device):
logging.debug('Mountpoint removed. Checking...')
- self.view_area.set_current_page(0)
self.remove_alert(self._alert)
self.playlist_widget.update()