Changes to allow a QML interface:

* a const to launch it
 * fix an error in obtaining dbname
 * refractor pieces to allow reuse


svn: r16504
This commit is contained in:
Benny Malengier
2011-01-30 16:28:54 +00:00
parent 9d79439ead
commit 9a2fd50642
6 changed files with 63 additions and 31 deletions

View File

@ -561,7 +561,7 @@ class ViewManager(CLIManager):
self.window)
self.update_dialog.destroy()
def _errordialog(title, errormessage):
def _errordialog(self, title, errormessage):
"""
Show the error.
In the GUI, the error is shown, and a return happens