2007-03-21 Zsolt Foldvari <zfoldvar@users.sourceforge.net>
* src/MarkupText.py (MarkupBuffer.set_text): convert unicode to byte string for parseString. * src/Editors/_EditAddress.py: * src/Editors/_EditLdsOrd.py: * src/Editors/_EditSourceRef.py: * src/Editors/_EditEventRef.py: * src/Editors/_EditMedia.py: * src/Editors/_EditName.py: * src/Editors/_EditEvent.py: attach ValidatableMaskedEntry into table with FILL=False yoption for having the validation error tip at right position. svn: r8309
This commit is contained in:
@@ -176,9 +176,9 @@ class EditLdsOrd(EditSecondary):
|
||||
self.obj, self.db.readonly)
|
||||
|
||||
table = self.top.get_widget('table')
|
||||
date_entry = ValidatableMaskedEntry(str)
|
||||
date_entry = ValidatableMaskedEntry(str)
|
||||
date_entry.show()
|
||||
table.attach(date_entry, 1, 2, 3, 4)
|
||||
table.attach(date_entry, 1, 2, 3, 4, yoptions=gtk.EXPAND)
|
||||
|
||||
self.date_field = MonitoredDate(
|
||||
date_entry,
|
||||
@@ -366,9 +366,9 @@ class EditFamilyLdsOrd(EditSecondary):
|
||||
self.obj, self.db.readonly)
|
||||
|
||||
table = self.top.get_widget('table')
|
||||
date_entry = ValidatableMaskedEntry(str)
|
||||
date_entry = ValidatableMaskedEntry(str)
|
||||
date_entry.show()
|
||||
table.attach(date_entry, 1, 2, 3, 4)
|
||||
table.attach(date_entry, 1, 2, 3, 4, yoptions=gtk.EXPAND)
|
||||
|
||||
self.date_field = MonitoredDate(
|
||||
date_entry,
|
||||
|
||||
Reference in New Issue
Block a user