diff options
author | papoteur-mga <yves.brungard_git@gadz.org> | 2014-11-09 18:55:23 +0100 |
---|---|---|
committer | papoteur-mga <yves.brungard_git@gadz.org> | 2014-11-09 18:55:23 +0100 |
commit | 6b16dfe5af783927ca308829029acb99b6dcca47 (patch) | |
tree | 511da79141a38964851ae02214d400852174cba3 | |
parent | 36196ada1870753f6e5c1f83e8abe76f83825224 (diff) | |
download | isodumper-6b16dfe5af783927ca308829029acb99b6dcca47.tar isodumper-6b16dfe5af783927ca308829029acb99b6dcca47.tar.gz isodumper-6b16dfe5af783927ca308829029acb99b6dcca47.tar.bz2 isodumper-6b16dfe5af783927ca308829029acb99b6dcca47.tar.xz isodumper-6b16dfe5af783927ca308829029acb99b6dcca47.zip |
File picker default to /home/user
-rw-r--r-- | CHANGELOG | 1 | ||||
-rwxr-xr-x | lib/isodumper.py | 4 |
2 files changed, 4 insertions, 1 deletions
@@ -12,6 +12,7 @@ IsoDumper 0.32 - change the name in .img for backup. - formatting and updating all .po files. - recompiling all .mo files. + - default folder to /home/user for image filepicker. IsoDumper 0.31 ------------ diff --git a/lib/isodumper.py b/lib/isodumper.py index fc15ba2..bb083d5 100755 --- a/lib/isodumper.py +++ b/lib/isodumper.py @@ -156,7 +156,9 @@ class IsoDumper: self.dev = self.devicelist.get_active_text() 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): |