[turbine] Shorten "Saved as" message to fit in the window



commit abb03011134fce69cc437e29d60d4e1906e51a6b
Author: Thomas Wood <thomas pepper localdomain>
Date:   Fri Nov 27 14:39:37 2009 +0000

    Shorten "Saved as" message to fit in the window

 src/turbine/__init__.py |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/turbine/__init__.py b/src/turbine/__init__.py
index 5ad1a0a..afbec6f 100755
--- a/src/turbine/__init__.py
+++ b/src/turbine/__init__.py
@@ -196,8 +196,7 @@ def handle_post(button, ui):
     f.write (template.c_template % data)
 
     s = ui.get_object ('statusbar')
-    s.push (0, 'Object saved in "%(folder)s"' %
-               {'folder': folder + data['filename'] + '.{c,h}'})
+    s.push (0, 'Object saved as "' + data['filename'] + '.{c,h}"')
 
 def guess_class_params (entry, ui):
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]