diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-10-31 20:16:42 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2007-10-31 20:16:42 (GMT) |
commit | d04a59cf1402e245a651c617ff740f57827aabae (patch) | |
tree | 4493c0db131414c7811a618ed5084dd852831394 /constants.py | |
parent | 18f5cc956b31e94dc29c526c5ab2d8946a481102 (diff) |
untested final refactoring
git-svn-id: http://mediamods.com/public-svn/camera-activity/Record.activity@790 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
Diffstat (limited to 'constants.py')
-rw-r--r-- | constants.py | 3 |
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() |