=== modified file 'data/templates/ubuntu-application/help/tutorial.xml'
--- old/data/templates/ubuntu-application/help/tutorial.xml 2012-08-02 20:30:03 +0000
+++ new/data/templates/ubuntu-application/help/tutorial.xml 2012-10-20 12:58:21 +0000
@@ -405,7 +405,7 @@
- def save_file(self, widget, data=None):
+ def on_mnu_save_activate(self, widget, data=None):
#get the title from the user
saver = SaveDialog()
result = saver.run()
@@ -539,7 +539,7 @@
if len(rows) < 1:
return None
else:
- return rows[0]['Name']
+ return rows[0]['File']
Using the Open Dialog
Now we want to use the Open Dialog in JottyWindow's on_mnu_open_activate method. To use it, we'll follow these steps: