GEPS008: Create new module for file utilities

svn: r19906
This commit is contained in:
Nick Hall
2012-06-23 22:13:23 +00:00
parent 3ec4c0f80c
commit 2a0b009bdf
51 changed files with 424 additions and 360 deletions

View File

@@ -56,7 +56,7 @@ import tool
from _guioptions import add_gui_options
from gui.dialog import InfoDialog
from gui.editors import EditPerson
import Utils
from gen.utils.file import get_unicode_path_from_file_chooser
import const
from gen.config import config
@@ -432,7 +432,7 @@ class PluginStatus(ManagedWindow):
status = fcd.run()
if status == gtk.RESPONSE_OK:
path = Utils.get_unicode_path_from_file_chooser(fcd.get_filename())
path = get_unicode_path_from_file_chooser(fcd.get_filename())
if path:
self.install_addon_path.set_text(path)
fcd.destroy()