Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/jukeboxactivity.py
diff options
context:
space:
mode:
authorKushal Das <kushal@fedoraproject.org>2008-10-01 19:48:29 (GMT)
committer Kushal Das <kushal@fedoraproject.org>2008-10-01 19:48:29 (GMT)
commitcd8ae0a8e1bb3f4f9566054e7d45449a20752aa4 (patch)
tree7b5c3b44bb9b62c01c452e099497e4ea2711ac0a /jukeboxactivity.py
parentb2b39d8dbf0e08586cea77be85a495780a05ee17 (diff)
Added a new view tool bar, currently only the full screen button is working
Diffstat (limited to 'jukeboxactivity.py')
-rwxr-xr-xjukeboxactivity.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/jukeboxactivity.py b/jukeboxactivity.py
index 4a98e4f..ab791d2 100755
--- a/jukeboxactivity.py
+++ b/jukeboxactivity.py
@@ -3,6 +3,7 @@
Activity that plays media.
Copyright (C) 2007 Andy Wingo <wingo@pobox.com>
Copyright (C) 2007 Red Hat, Inc.
+ Copyright (C) 2008 Kushal Das <kushal@fedoraproject.org>
"""
# This program is free software; you can redistribute it and/or
@@ -42,6 +43,7 @@ import gtk
import urllib
from ControlToolbar import ControlToolbar
+from ViewToolbar import ViewToolbar
class JukeboxActivity(activity.Activity):
UPDATE_INTERVAL = 500
@@ -57,9 +59,15 @@ class JukeboxActivity(activity.Activity):
toolbox.add_toolbar(_('Play'), toolbar)
toolbar.show()
+ self._view_toolbar = ViewToolbar(toolbox, self)
+ toolbox.add_toolbar(_('View'), self._view_toolbar)
+ self._view_toolbar.show()
+
+
+
toolbox.show()
- self.toolbar.connect('go-fullscreen', self.__go_fullscreen_cb)
+ self._view_toolbar.connect('go-fullscreen', self.__go_fullscreen_cb)
self.connect("shared", self._shared_cb)