* src/gramps_main.py: remove unused functions, fix history

* src/FamilyView.py: improve reordering of children


svn: r3059
This commit is contained in:
Don Allingham 2004-03-25 15:05:56 +00:00
parent 06d3497ea6
commit 44c1b553db
5 changed files with 15 additions and 12 deletions

View File

@ -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>
* src/gramps_main.py: rebuild models after import
* src/gramps.glade: expand child menu

View File

@ -1455,7 +1455,6 @@ class EditPerson:
if surname != name.get_surname():
name.set_surname(surname)
self.db.add_surname(surname)
if given != name.get_first_name():
name.set_first_name(given)

View File

@ -219,7 +219,6 @@ class NameEditor:
if self.name.get_surname() != last:
self.name.set_surname(last)
self.parent.db.add_surname(last)
self.parent.lists_changed = 1
if self.name.get_suffix() != suffix:

View File

@ -2519,6 +2519,15 @@ class GrampsDB:
self.place2title = {}
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
#that way we will not have to track these with code.
def get_surnames(self):
@ -2530,14 +2539,6 @@ class GrampsDB:
vals.sort()
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):
"""returns the list of Person instances in the bookmarks"""
return self.bookmarks

View File

@ -1918,7 +1918,7 @@
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">True</property>
<property name="reorderable">False</property>
<property name="reorderable">True</property>
<property name="enable_search">False</property>
</widget>
</child>
@ -2248,7 +2248,7 @@
<property name="can_focus">True</property>
<property name="headers_visible">True</property>
<property name="rules_hint">True</property>
<property name="reorderable">False</property>
<property name="reorderable">True</property>
<property name="enable_search">False</property>
</widget>
</child>