Part 1 of issue 4276. I principle same patch as for branch, but adapeted to trunk.
svn: r15959
This commit is contained in:
@@ -526,7 +526,7 @@ class CheckIntegrity(object):
|
||||
self.bad_photo.append(ObjectId)
|
||||
|
||||
def fs_ok_clicked(obj):
|
||||
name = Utils.get_unicode_path(fs_top.get_filename())
|
||||
name = Utils.get_unicode_path_from_file_chooser(fs_top.get_filename())
|
||||
if os.path.isfile(name):
|
||||
obj = self.db.get_object_from_handle(ObjectId)
|
||||
obj.set_path(name)
|
||||
|
@@ -396,7 +396,7 @@ class DisplayChart(ManagedWindow.ManagedWindow):
|
||||
f.hide()
|
||||
|
||||
if status == gtk.RESPONSE_OK:
|
||||
name = Utils.get_unicode_path(f.get_filename())
|
||||
name = Utils.get_unicode_path_from_file_chooser(f.get_filename())
|
||||
doc = ODSTab(len(self.row_data))
|
||||
doc.creator(self.db.get_researcher().get_name())
|
||||
|
||||
|
Reference in New Issue
Block a user