From fc4c93fca5d34a240d27c8d4132c06c4b190dc7e Mon Sep 17 00:00:00 2001
From: Manuel Kaufmann <humitos@gmail.com>
Date: Mon, 4 Feb 2013 17:51:57 -0300
Subject: [PATCH Jukebox] 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>
---
activity.py | 2 --
1 file changed, 2 deletions(-)
diff --git a/activity.py b/activity.py
index 380cc2c..dd56984 100644
a
|
b
|
class JukeboxActivity(activity.Activity): |
261 | 261 | |
262 | 262 | def __mount_added_cb(self, volume_monitor, device): |
263 | 263 | logging.debug('Mountpoint added. Checking...') |
264 | | self.view_area.set_current_page(0) |
265 | 264 | self.remove_alert(self._alert) |
266 | 265 | self.playlist_widget.update() |
267 | 266 | |
268 | 267 | def __mount_removed_cb(self, volume_monitor, device): |
269 | 268 | logging.debug('Mountpoint removed. Checking...') |
270 | | self.view_area.set_current_page(0) |
271 | 269 | self.remove_alert(self._alert) |
272 | 270 | self.playlist_widget.update() |
273 | 271 | |