Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Silva <sebastian@sugarlabs.org>2011-07-11 13:43:49 (GMT)
committer Sebastian Silva <sebastian@sugarlabs.org>2011-07-11 13:43:49 (GMT)
commitdf7993e96973c74feb9dd911525571a5191d4749 (patch)
tree16b7d96c94b7cf3cb568847aae1a3b3093257582
parent98dace9861609d9627db2b3a66c8a537159d94de (diff)
Friendlier name for recorded journal item (olpcau#792)
-rw-r--r--pippy_app.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/pippy_app.py b/pippy_app.py
index 04e7baa..406fa4d 100644
--- a/pippy_app.py
+++ b/pippy_app.py
@@ -73,11 +73,11 @@ class ScreencastActivity(ViewSourceActivity):
# Status label.
self.status = gtk.Label(_("Status: Stopped"))
- hbox.pack_start(self.record, expand=False)
- hbox.pack_start(self.stop, expand=False)
- hbox.pack_start(self.status, expand=False)
+ hbox.pack_start(self.record, expand=False, padding=20)
+ hbox.pack_start(self.stop, expand=False, padding=20)
+ hbox.pack_start(self.status, expand=False, padding=20)
- vbox.pack_start(hbox)
+ vbox.pack_start(hbox, expand=True, fill=False)
self.set_canvas(vbox)
self.show_all()
@@ -147,7 +147,7 @@ class ScreencastActivity(ViewSourceActivity):
print "no more record process"
# The recording process exited
self.status.set_text("Status: Stopped")
- os.system('copy-to-journal /tmp/recordmydesktop.ogv -m video/ogg')
+ os.system('copy-to-journal /tmp/recordmydesktop.ogv -m video/ogg -t "My Screencast"')
return False
else:
# Maybe we have new stderr.