2006-11-09 Don Allingham <don@gramps-project.org>
* src/DisplayModels/PageView.py: fix delete 2006-02-09 Jérôme Rapinat <romjerome@yahoo.fr> 2005-12-10 Jérôme Rapinat <romjerome@yahoo.fr> 2005-12-09 Jérôme Rapinat <romjerome@yahoo.fr> 2005-12-07 Jérôme Rapinat <romjerome@yahoo.fr> 2005-12-06 Jérôme Rapinat <romjerome@yahoo.fr> svn: r7602
This commit is contained in:
parent
b9e815297b
commit
b30e225dcf
13
ChangeLog
13
ChangeLog
@ -1,3 +1,6 @@
|
|||||||
|
2006-11-09 Don Allingham <don@gramps-project.org>
|
||||||
|
* src/DisplayModels/PageView.py: fix delete
|
||||||
|
|
||||||
2006-11-09 Alex Roitman <shura@gramps-project.org>
|
2006-11-09 Alex Roitman <shura@gramps-project.org>
|
||||||
* data/*.svg: Add mime type icons.
|
* data/*.svg: Add mime type icons.
|
||||||
* data/*.png: Update bitmap icons to look the same as SVG.
|
* data/*.png: Update bitmap icons to look the same as SVG.
|
||||||
@ -4656,7 +4659,7 @@
|
|||||||
* src/PersonView.py: Add SetActive action
|
* src/PersonView.py: Add SetActive action
|
||||||
* src/ViewManager.py: move ColumnEdit action
|
* src/ViewManager.py: move ColumnEdit action
|
||||||
|
|
||||||
2006-02-09 J駻<EFBFBD>e Rapinat <romjerome@yahoo.fr>
|
2006-02-09 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
* src/data/gramps.desktop: Add French strings.
|
* src/data/gramps.desktop: Add French strings.
|
||||||
|
|
||||||
2006-02-09 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
|
2006-02-09 Alexandre Prokoudine <alexandre.prokoudine@gmail.com>
|
||||||
@ -5880,7 +5883,7 @@
|
|||||||
* src/po/de.po: Correct mismatched % parameters.
|
* src/po/de.po: Correct mismatched % parameters.
|
||||||
* src/po/eo.po: Correct mismatched % parameters.
|
* src/po/eo.po: Correct mismatched % parameters.
|
||||||
|
|
||||||
2005-12-10 J駻<EFBFBD>e Rapinat <romjerome@yahoo.fr>
|
2005-12-10 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
* src/po/fr.po: Translation update.
|
* src/po/fr.po: Translation update.
|
||||||
* src/dates/Date_fr.py (DateParserFR): Add more quality_to_int
|
* src/dates/Date_fr.py (DateParserFR): Add more quality_to_int
|
||||||
pairs.
|
pairs.
|
||||||
@ -5890,7 +5893,7 @@
|
|||||||
* doc/gramps-manual/C/preface.xml: update
|
* doc/gramps-manual/C/preface.xml: update
|
||||||
* doc/gramps-manual/C/usage.xml: update
|
* doc/gramps-manual/C/usage.xml: update
|
||||||
|
|
||||||
2005-12-09 J駻<EFBFBD>e Rapinat <romjerome@yahoo.fr>
|
2005-12-09 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
* doc/gramps-manual/fr/cmdplug.xml: Add file with new section.
|
* doc/gramps-manual/fr/cmdplug.xml: Add file with new section.
|
||||||
* doc/gramps-manual/fr/gramps-manual.xml: Define entity for new
|
* doc/gramps-manual/fr/gramps-manual.xml: Define entity for new
|
||||||
section.
|
section.
|
||||||
@ -5959,7 +5962,7 @@
|
|||||||
gtl.FILE_CHOOSER_SELECT_FOLDER. GTK documentation error.
|
gtl.FILE_CHOOSER_SELECT_FOLDER. GTK documentation error.
|
||||||
* src/plugins/NavWebPage.py: restore .tar.gz archive option
|
* src/plugins/NavWebPage.py: restore .tar.gz archive option
|
||||||
|
|
||||||
2005-12-07 J駻<EFBFBD>e Rapinat <romjerome@yahoo.fr>
|
2005-12-07 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
* src/po/fr.po: Translation update.
|
* src/po/fr.po: Translation update.
|
||||||
|
|
||||||
2005-12-06 Alex Roitman <shura@gramps-project.org>
|
2005-12-06 Alex Roitman <shura@gramps-project.org>
|
||||||
@ -5970,7 +5973,7 @@
|
|||||||
the preformatted notes; (IndividualPage.__init__): restrict notes,
|
the preformatted notes; (IndividualPage.__init__): restrict notes,
|
||||||
url list, and source on living people.
|
url list, and source on living people.
|
||||||
|
|
||||||
2005-12-06 J駻<EFBFBD>e Rapinat <romjerome@yahoo.fr>
|
2005-12-06 Jérôme Rapinat <romjerome@yahoo.fr>
|
||||||
* src/po/fr.po: Partial translation update.
|
* src/po/fr.po: Partial translation update.
|
||||||
|
|
||||||
2005-12-06 Don Allingham <don@gramps-project.org>
|
2005-12-06 Don Allingham <don@gramps-project.org>
|
||||||
|
@ -110,27 +110,27 @@ class BaseModel(gtk.GenericTreeModel):
|
|||||||
|
|
||||||
return [ x[1] for x in sarray ]
|
return [ x[1] for x in sarray ]
|
||||||
|
|
||||||
def _rebuild_search(self):
|
def _rebuild_search(self,ignore=None):
|
||||||
if self.db.is_open():
|
if self.db.is_open():
|
||||||
if self.search:
|
if self.search:
|
||||||
self.datalist = [h for h in self.sort_keys()\
|
self.datalist = [h for h in self.sort_keys()\
|
||||||
if self.search.match(h) and h not in self.skip]
|
if self.search.match(h) and h not in self.skip and h != ignore]
|
||||||
else:
|
else:
|
||||||
self.datalist = [h for h in self.sort_keys() if h not in self.skip]
|
self.datalist = [h for h in self.sort_keys() if h not in self.skip and h != ignore]
|
||||||
i = 0
|
i = 0
|
||||||
self.indexlist = {}
|
self.indexlist = {}
|
||||||
for key in self.datalist:
|
for key in self.datalist:
|
||||||
if key not in self.skip:
|
if key not in self.skip and key != ignore:
|
||||||
self.indexlist[key] = i
|
self.indexlist[key] = i
|
||||||
i += 1
|
i += 1
|
||||||
else:
|
else:
|
||||||
self.datalist = []
|
self.datalist = []
|
||||||
self.indexlist = {}
|
self.indexlist = {}
|
||||||
|
|
||||||
def _rebuild_filter(self):
|
def _rebuild_filter(self, ignore=None):
|
||||||
if self.db.is_open():
|
if self.db.is_open():
|
||||||
if self.search:
|
if self.search:
|
||||||
self.datalist = self.search.apply(self.db, self.sort_keys())
|
self.datalist = self.search.apply(self.db, [ k for k in self.sort_keys() if k != ignore])
|
||||||
else:
|
else:
|
||||||
self.datalist = self.sort_keys()
|
self.datalist = self.sort_keys()
|
||||||
|
|
||||||
@ -157,14 +157,7 @@ class BaseModel(gtk.GenericTreeModel):
|
|||||||
|
|
||||||
def delete_row_by_handle(self,handle):
|
def delete_row_by_handle(self,handle):
|
||||||
index = self.indexlist[handle]
|
index = self.indexlist[handle]
|
||||||
self.indexlist = {}
|
self.rebuild_data(ignore=handle)
|
||||||
self.datalist = []
|
|
||||||
i = 0
|
|
||||||
for key in self.sort_keys():
|
|
||||||
if key != handle:
|
|
||||||
self.indexlist[key] = i
|
|
||||||
self.datalist.append(key)
|
|
||||||
i += 1
|
|
||||||
self.row_deleted(index)
|
self.row_deleted(index)
|
||||||
|
|
||||||
def update_row_by_handle(self,handle):
|
def update_row_by_handle(self,handle):
|
||||||
|
Loading…
Reference in New Issue
Block a user