Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2013-05-24 19:11:39 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2013-05-24 19:14:15 (GMT)
commit481f51a970d9a29b76bd4c28815a4b5804824c3b (patch)
tree8b3ff4824767e0235b5dac857fe36a33922da1ae
parentd833587dc8932c84332012bd3160dc6441b8dbda (diff)
Fix callback from big "No media files" button - SL #4510
Signed-off-by: Gonzalo Odiard <gonzalo@laptop.org>
-rw-r--r--controls.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/controls.py b/controls.py
index 011406d..cde298c 100644
--- a/controls.py
+++ b/controls.py
@@ -157,7 +157,9 @@ class Controls(GObject.GObject):
self.activity.playlist_widget.delete_selected_items()
self.check_if_next_prev()
- def show_picker_cb(self):
+ def show_picker_cb(self, button=None):
+ # optional parameter button is used when called from activity.py
+ # emptypanel big button
jobject = None
chooser = ObjectChooser(self.activity,
what_filter=mime.GENERIC_TYPE_AUDIO)