* src/gramps_main.py: remove unused functions, fix history
* src/FamilyView.py: improve reordering of children svn: r3059
This commit is contained in:
parent
13837efea8
commit
08f4675fd3
@ -1,3 +1,7 @@
|
|||||||
|
2004-03-24 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
|
* src/gramps_main.py: remove unused functions, fix history
|
||||||
|
* src/FamilyView.py: improve reordering of children
|
||||||
|
|
||||||
2004-03-22 Don Allingham <dallingham@users.sourceforge.net>
|
2004-03-22 Don Allingham <dallingham@users.sourceforge.net>
|
||||||
* src/gramps_main.py: rebuild models after import
|
* src/gramps_main.py: rebuild models after import
|
||||||
* src/gramps.glade: expand child menu
|
* src/gramps.glade: expand child menu
|
||||||
|
@ -1455,7 +1455,6 @@ class EditPerson:
|
|||||||
|
|
||||||
if surname != name.get_surname():
|
if surname != name.get_surname():
|
||||||
name.set_surname(surname)
|
name.set_surname(surname)
|
||||||
self.db.add_surname(surname)
|
|
||||||
|
|
||||||
if given != name.get_first_name():
|
if given != name.get_first_name():
|
||||||
name.set_first_name(given)
|
name.set_first_name(given)
|
||||||
|
@ -219,7 +219,6 @@ class NameEditor:
|
|||||||
|
|
||||||
if self.name.get_surname() != last:
|
if self.name.get_surname() != last:
|
||||||
self.name.set_surname(last)
|
self.name.set_surname(last)
|
||||||
self.parent.db.add_surname(last)
|
|
||||||
self.parent.lists_changed = 1
|
self.parent.lists_changed = 1
|
||||||
|
|
||||||
if self.name.get_suffix() != suffix:
|
if self.name.get_suffix() != suffix:
|
||||||
|
@ -2519,6 +2519,15 @@ class GrampsDB:
|
|||||||
self.place2title = {}
|
self.place2title = {}
|
||||||
self.genderStats = GenderStats ()
|
self.genderStats = GenderStats ()
|
||||||
|
|
||||||
|
def start_transaction(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def end_transaction(self):
|
||||||
|
pass
|
||||||
|
|
||||||
|
def abort_transaction(self):
|
||||||
|
pass
|
||||||
|
|
||||||
#EARNEY, may eventually be able to use secondary indexes for this
|
#EARNEY, may eventually be able to use secondary indexes for this
|
||||||
#that way we will not have to track these with code.
|
#that way we will not have to track these with code.
|
||||||
def get_surnames(self):
|
def get_surnames(self):
|
||||||
@ -2530,14 +2539,6 @@ class GrampsDB:
|
|||||||
vals.sort()
|
vals.sort()
|
||||||
return vals
|
return vals
|
||||||
|
|
||||||
#this function may eventually become obsolete.. if we use
|
|
||||||
#secondary indexes.
|
|
||||||
def add_surname(self,name):
|
|
||||||
pass
|
|
||||||
# if name and name not in self.surnames:
|
|
||||||
# self.surnames.append(name)
|
|
||||||
# self.surnames.sort()
|
|
||||||
|
|
||||||
def get_bookmarks(self):
|
def get_bookmarks(self):
|
||||||
"""returns the list of Person instances in the bookmarks"""
|
"""returns the list of Person instances in the bookmarks"""
|
||||||
return self.bookmarks
|
return self.bookmarks
|
||||||
|
@ -1918,7 +1918,7 @@
|
|||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="headers_visible">True</property>
|
<property name="headers_visible">True</property>
|
||||||
<property name="rules_hint">True</property>
|
<property name="rules_hint">True</property>
|
||||||
<property name="reorderable">False</property>
|
<property name="reorderable">True</property>
|
||||||
<property name="enable_search">False</property>
|
<property name="enable_search">False</property>
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
@ -2248,7 +2248,7 @@
|
|||||||
<property name="can_focus">True</property>
|
<property name="can_focus">True</property>
|
||||||
<property name="headers_visible">True</property>
|
<property name="headers_visible">True</property>
|
||||||
<property name="rules_hint">True</property>
|
<property name="rules_hint">True</property>
|
||||||
<property name="reorderable">False</property>
|
<property name="reorderable">True</property>
|
||||||
<property name="enable_search">False</property>
|
<property name="enable_search">False</property>
|
||||||
</widget>
|
</widget>
|
||||||
</child>
|
</child>
|
||||||
|
Loading…
Reference in New Issue
Block a user