2006-12-22 Alex Roitman <shura@phy.ucsf.edu>
* src/GrampsDb/_WriteGedcom.py (write_source_ref): Write PAGE as a single line. * src/Editors/_EditFamily.py (build_interface): Remove extra show() call. * src/Editors/_EditMedia.py (_local_init): Remove extra show() call. * src/Editors/_EditEvent.py (_local_init): Remove extra show() call. * src/Editors/_EditRepository.py (_local_init): Remove extra show() call. * src/Editors/_EditSecondary.py (_set_size): Remove extra show() call. * src/Editors/_EditReference.py (_set_size): Remove extra show() call. * src/Editors/_EditSource.py (_local_init): Remove extra show() call. svn: r7839
This commit is contained in:
parent
1b35b73038
commit
328a87f5b4
@ -1,3 +1,16 @@
|
||||
2006-12-22 Alex Roitman <shura@phy.ucsf.edu>
|
||||
* src/GrampsDb/_WriteGedcom.py (write_source_ref): Write PAGE as a
|
||||
single line.
|
||||
* src/Editors/_EditFamily.py (build_interface): Remove extra
|
||||
show() call.
|
||||
* src/Editors/_EditMedia.py (_local_init): Remove extra show() call.
|
||||
* src/Editors/_EditEvent.py (_local_init): Remove extra show() call.
|
||||
* src/Editors/_EditRepository.py (_local_init): Remove extra
|
||||
show() call.
|
||||
* src/Editors/_EditSecondary.py (_set_size): Remove extra show() call.
|
||||
* src/Editors/_EditReference.py (_set_size): Remove extra show() call.
|
||||
* src/Editors/_EditSource.py (_local_init): Remove extra show() call.
|
||||
|
||||
2006-12-22 Don Allingham <don@gramps-project.org>
|
||||
* src/GrampsDb/_WriteXML.py: fix bookmark handling
|
||||
* src/plugins/FindDupes.py (Merge.find_potentials): update internal
|
||||
|
@ -100,7 +100,6 @@ class EditEvent(EditPrimary):
|
||||
width = Config.get(Config.EVENT_WIDTH)
|
||||
height = Config.get(Config.EVENT_HEIGHT)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _connect_signals(self):
|
||||
self.top.get_widget('button111').connect('clicked',self.close)
|
||||
|
@ -468,7 +468,6 @@ class EditFamily(EditPrimary):
|
||||
|
||||
self.mbox = self.top.get_widget('mbox')
|
||||
self.fbox = self.top.get_widget('fbox')
|
||||
self.window.show()
|
||||
|
||||
def _connect_signals(self):
|
||||
self.define_ok_button(self.top.get_widget('ok'), self.save)
|
||||
|
@ -89,7 +89,6 @@ class EditMedia(EditPrimary):
|
||||
width = Config.get(Config.MEDIA_WIDTH)
|
||||
height = Config.get(Config.MEDIA_HEIGHT)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _connect_signals(self):
|
||||
self.define_cancel_button(self.glade.get_widget('button91'))
|
||||
|
@ -71,7 +71,6 @@ class EditPlace(EditPrimary):
|
||||
width = Config.get(Config.PLACE_WIDTH)
|
||||
height = Config.get(Config.PLACE_HEIGHT)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def get_menu_title(self):
|
||||
if self.obj and self.obj.get_handle():
|
||||
|
@ -65,7 +65,6 @@ class EditReference(ManagedWindow.ManagedWindow):
|
||||
width = Config.get(self.WIDTH_KEY)
|
||||
height = Config.get(self.HEIGHT_KEY)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _local_init(self):
|
||||
"""
|
||||
|
@ -76,7 +76,6 @@ class EditRepository(EditPrimary):
|
||||
width = Config.get(Config.REPO_WIDTH)
|
||||
height = Config.get(Config.REPO_HEIGHT)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def build_menu_names(self,source):
|
||||
return (_('Edit Repository'), self.get_menu_title())
|
||||
|
@ -55,7 +55,6 @@ class EditSecondary(ManagedWindow.ManagedWindow):
|
||||
width = Config.get(self.WIDTH_KEY)
|
||||
height = Config.get(self.HEIGHT_KEY)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _local_init(self):
|
||||
"""
|
||||
|
@ -83,7 +83,6 @@ class EditSource(EditPrimary):
|
||||
width = Config.get(Config.SOURCE_WIDTH)
|
||||
height = Config.get(Config.SOURCE_HEIGHT)
|
||||
self.window.resize(width, height)
|
||||
self.window.show()
|
||||
|
||||
def _connect_signals(self):
|
||||
self.define_ok_button(self.glade.get_widget('ok'),self.save)
|
||||
|
@ -1385,9 +1385,9 @@ class GedcomWriter(UpdateCallback):
|
||||
# Reference to the source
|
||||
self.writeln("%d SOUR @%s@" % (level,src.get_gramps_id()))
|
||||
if ref.get_page() != "":
|
||||
self.write_long_text("PAGE",level+1,
|
||||
self.cnvtxt(ref.get_page()))
|
||||
|
||||
page_text = self.cnvtxt(ref.get_page())
|
||||
self.writeln('%d PAGE %s',
|
||||
(level+1,page_text))
|
||||
conf = ref.get_confidence_level()
|
||||
# Cap the maximum level
|
||||
conf = min(conf,RelLib.SourceRef.CONF_VERY_HIGH)
|
||||
|
Loading…
Reference in New Issue
Block a user