Minor fixes in output messages
[snf-image-creator] / image_creator / output / dialog.py
index 8b835f9..28ca0b4 100644 (file)
@@ -86,7 +86,7 @@ class GaugeOutput(Output):
         def __init__(self, size, title, bar_type='default'):
             self.output.size = size
             self.bar_type = bar_type
-            self.output.msg = "%s..." % title
+            self.output.msg = "%s ..." % title
             self.goto(0)
 
         def _postfix(self):
@@ -129,6 +129,7 @@ class InfoBoxOutput(Output):
         self.output("Warning: %s" % msg, new_line)
 
     def finalize(self):
-        self.d.msgbox(self.msg, height=(self.height + 2), width=self.width)
+        self.d.msgbox(self.msg, title=self.title, height=(self.height + 2),
+                      width=self.width)
 
 # vim: set sta sts=4 shiftwidth=4 sw=4 et ai :