* src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra
unicode conversion. svn: r7229
This commit is contained in:
parent
041e762a91
commit
19ba55bd9f
@ -1,4 +1,6 @@
|
||||
2006-08-21 Alex Roitman <shura@gramps-project.org>
|
||||
* src/plugins/ChangeTypes.py (on_apply_clicked): Remove extra
|
||||
unicode conversion.
|
||||
* src/plugins/Checkpoint.py (__init__): Assign dbstate.
|
||||
|
||||
2006-08-21 Don Allingham <don@gramps-project.org>
|
||||
|
@ -152,9 +152,9 @@ class ChangeTypes(Tool.BatchTool, ManagedWindow.ManagedWindow):
|
||||
def on_apply_clicked(self,obj):
|
||||
# Need to store English names for later comparison
|
||||
self.options.handler.options_dict['fromtype'] = EventType._I2EMAP[
|
||||
EventType._S2IMAP[unicode(self.auto1.child.get_text())]]
|
||||
EventType._S2IMAP[self.auto1.child.get_text()]]
|
||||
self.options.handler.options_dict['totype'] = EventType._I2EMAP[
|
||||
EventType._S2IMAP[unicode(self.auto2.child.get_text())]]
|
||||
EventType._S2IMAP[self.auto2.child.get_text()]]
|
||||
|
||||
modified,msg = self.run_tool(cli=False)
|
||||
OkDialog(_('Change types'),msg,self.window)
|
||||
|
Loading…
Reference in New Issue
Block a user