Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/constants.py
diff options
context:
space:
mode:
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