diff options
author | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2008-02-12 23:10:48 (GMT) |
---|---|---|
committer | erikb <erikb@574bc980-5f2d-0410-acbc-c8f9f0eb14e0> | 2008-02-12 23:10:48 (GMT) |
commit | a7abc3d75309f2efa663f5698ae96aa87088f560 (patch) | |
tree | cc494af08ff643994aa37763bec102685517a019 | |
parent | 1aa493910077163d3a47eea6144cdf36a51d6cfa (diff) |
yourDiskIsFullB
git-svn-id: http://mediamods.com/public-svn/camera-activity/tags/53@1041 574bc980-5f2d-0410-acbc-c8f9f0eb14e0
-rwxr-xr-x | activity/activity.info | 2 | ||||
-rw-r--r-- | constants.py | 2 | ||||
-rw-r--r-- | ui.py | 6 |
3 files changed, 6 insertions, 4 deletions
diff --git a/activity/activity.info b/activity/activity.info index 906ce37..21bb2a5 100755 --- a/activity/activity.info +++ b/activity/activity.info @@ -3,5 +3,5 @@ name = Record service_name = org.laptop.RecordActivity class = record.Record icon = activity-record -activity_version = 52 +activity_version = 53 show_launcher = yes
\ No newline at end of file diff --git a/constants.py b/constants.py index 1b0b91d..7bb2eb5 100644 --- a/constants.py +++ b/constants.py @@ -17,7 +17,7 @@ import pangocairo class Constants: - VERSION = 52 + VERSION = 53 SERVICE = "org.laptop.Record" IFACE = SERVICE @@ -800,7 +800,8 @@ class UI: self.recordWindow.displayDiscFullText(self.ca.m.FULL)
if (self.ca.m.FULL):
self.recordWindow.shutterButton.set_sensitive( False, True)
- self.progressWindow.updateProgress( 1, Constants.istrYourDiskIsFull, "gray" )
+ fullMessage = Constants.istrYourDiskIsFull % {"1":Constants.istrJournal}
+ self.progressWindow.updateProgress( 1, fullMessage, "gray" )
else:
self.recordWindow.shutterButton.set_sensitive( not self.ca.m.UPDATING, False )
if (self.ca.m.RECORDING):
@@ -2155,7 +2156,8 @@ class RecordWindow(gtk.Window): self.rightPanelLabel.set_text("")
self.minimize()
else:
- self.rightPanelLabel.set_text("<b><span foreground='gray'>" + Constants.istrYourDiskIsFull + "</span></b>")
+ fullMessage = Constants.istrYourDiskIsFull % {"1":Constants.istrJournal}
+ self.rightPanelLabel.set_text("<b><span foreground='gray'>" + fullMessage + "</span></b>")
self.rightPanelLabel.set_use_markup( True )
self.rightPanelLabel.set_alignment(1, 1)
self.maximize()
|