diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2014-11-09 19:10:25 +0100 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2014-11-09 19:10:25 +0100 |
commit | 78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0 (patch) | |
tree | 711b511c3d431c4ba1cf60164025cde5a68bfd6b | |
parent | 4b8751e80e712857d61dea68c2a048c6ae78e3d9 (diff) | |
download | isodumper-78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0.tar isodumper-78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0.tar.gz isodumper-78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0.tar.bz2 isodumper-78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0.tar.xz isodumper-78b8a2dd4531621a5ce9aecee1e4e0a6dd17a4f0.zip |
Default folder for filepicker to /home/user
-rwxr-xr-x | lib/isodumper.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/isodumper.py b/lib/isodumper.py index f15bf6e..0ffab18 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -86,7 +86,7 @@ class IsoDumper: self.user = user # get glade tree - self.gladefile = "/usr/share/isodumper/isodumper.glade" + self.gladefile = "../share/isodumper/isodumper.glade" self.wTree = gtk.glade.XML(self.gladefile) # get globally needed widgets @@ -179,7 +179,9 @@ class IsoDumper: break self.backup_select.set_sensitive(True) self.wTree.get_widget("format_button").set_sensitive(True) - self.wTree.get_widget("filechooserbutton").set_sensitive(True) + self.chooser.set_sensitive(True) + if self.chooser.get_current_folder_uri() == None : + self.chooser.set_current_folder_uri('file:///home/'+self.user) self.logger(_('Target Device: ')+ self.dev) def backup_sel(self,widget): |