Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
authorerikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-02 21:48:33 (GMT)
committer erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0>2007-11-02 21:48:33 (GMT)
commit75fe296113bba919dbaf5a49f4a70e5dccb6340a (patch)
treea1d7913d7401e496c59c18ef9916174a3fcc81e6 /constants.py
parent8647cabe6ee2cfbe072266a5dce592b8ea140050 (diff)
scrubber button gfx
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@848 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'constants.py')
-rw-r--r--constants.py14
1 files changed, 13 insertions, 1 deletions
diff --git a/constants.py b/constants.py
index d8b2a21..2349ce1 100644
--- a/constants.py
+++ b/constants.py
@@ -143,6 +143,8 @@ class Constants:
recRedImg = None
recCircleCairo = None
recInsensitiveImg = None
+ recPlayImg = None
+ recPauseImg = None
def __init__( self, ca ):
self.__class__.activityId = ca._activity_id
@@ -210,4 +212,14 @@ class Constants:
recInsFile = os.path.join(self.__class__.gfxPath, 'media-insensitive.png')
recInsPixbuf = gtk.gdk.pixbuf_new_from_file(recInsFile)
self.__class__.recInsensitiveImg = gtk.Image()
- self.__class__.recInsensitiveImg.set_from_pixbuf( recInsPixbuf ) \ No newline at end of file
+ self.__class__.recInsensitiveImg.set_from_pixbuf( recInsPixbuf )
+
+ recPlayFile = os.path.join(self.__class__.gfxPath, 'media-play.png')
+ recPlayPixbuf = gtk.gdk.pixbuf_new_from_file(recPlayFile)
+ self.__class__.recPlayImg = gtk.Image()
+ self.__class__.recPlayImg.set_from_pixbuf( recPlayPixbuf )
+
+ recPauseFile = os.path.join(self.__class__.gfxPath, 'media-pause.png')
+ recPausePixbuf = gtk.gdk.pixbuf_new_from_file(recPauseFile)
+ self.__class__.recPauseImg = gtk.Image()
+ self.__class__.recPauseImg.set_from_pixbuf( recPausePixbuf ) \ No newline at end of file