Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backup.py
diff options
context:
space:
mode:
Diffstat (limited to 'backup.py')
-rw-r--r--backup.py12
1 files changed, 11 insertions, 1 deletions
diff --git a/backup.py b/backup.py
index f38639b..3d15b62 100644
--- a/backup.py
+++ b/backup.py
@@ -486,9 +486,19 @@ class BackupActivity(activity.Activity):
self._setup_main_view()
def _setup_main_view(self):
+ def label_size_allocate(widget, rect):
+ widget.set_size_request(rect.width, -1)
+
vbox = gtk.VBox()
+ instruction = _('Please plug in the storage device you want to back'
+ ' up to, select it in the tool bar and press the'
+ ' button to start the backup.')
+ instruction_label = gtk.Label(instruction.encode('utf-8'))
+ instruction_label.set_line_wrap(True)
+ instruction_label.connect('size-allocate', label_size_allocate)
+ vbox.pack_start(instruction_label, True)
self.set_canvas(vbox)
- vbox.show()
+ vbox.show_all()
def _setup_toolbar(self):
if pre_086_toolbars: