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.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/constants.py b/constants.py
index 7b3154e..0955299 100644
--- a/constants.py
+++ b/constants.py
@@ -15,6 +15,7 @@ class Constants:
SERVICE = "org.laptop.Record"
IFACE = SERVICE
PATH = "/org/laptop/Record"
+ activityId = None
recdTitle = "title"
recdTime = "time"
@@ -135,6 +136,8 @@ class Constants:
micImg = None
def __init__( self, ca ):
+ self.__class__.activityId = ca._activity_id
+
thumbPhotoSvgPath = os.path.join(self.__class__.gfxPath, 'thumb_photo.svg')
thumbPhotoSvgFile = open(thumbPhotoSvgPath, 'r')
self.__class__.thumbPhotoSvgData = thumbPhotoSvgFile.read()