* src/PeopleView.py: back port anti-flicker code from HEAD

* src/dates/Date_de.py: use "etwa" instead of "circa"


svn: r4699
This commit is contained in:
Don Allingham 2005-05-27 02:47:01 +00:00
parent 175ee0f498
commit e177fe4030
4 changed files with 12 additions and 6 deletions

View File

@ -1,4 +1,6 @@
2005-05-26 Don Allingham <don@gramps-project.org>
* src/PeopleView.py: back port anti-flicker code from HEAD
* src/dates/Date_de.py: use "etwa" instead of "circa"
* src/DateDisplay.py: don't mark date formats as translatable
2005-05-25 Don Allingham <don@gramps-project.org>

View File

@ -7,8 +7,8 @@ AC_PREREQ(2.57)
AC_INIT(gramps, 2.0.1, gramps-bugs@lists.sourceforge.net)
AC_CONFIG_SRCDIR(src/gramps.py)
AM_INIT_AUTOMAKE(1.6.3)
RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
dnl RELEASE=1
dnl RELEASE=0.CVS$(head -c 10 ${srcdir}/ChangeLog | tr -d '-')
RELEASE=1
VERSIONSTRING=$VERSION
if test x"$RELEASE" != "x"

View File

@ -248,9 +248,13 @@ class PeopleView:
top_name = self.parent.db.get_name_group_mapping(group_name)
top_path = self.person_model.on_get_path(top_name)
self.person_tree.expand_row(top_path,0)
self.person_selection.unselect_all()
self.person_selection.select_path(path)
self.person_tree.scroll_to_cell(path,None,1,0.5,0)
current = self.person_model.on_get_iter(path)
selected = self.person_selection.path_is_selected(path)
if current != p.get_handle() or not selected:
self.person_selection.unselect_all()
self.person_selection.select_path(path)
self.person_tree.scroll_to_cell(path,None,1,0.5,0)
except KeyError:
self.person_selection.unselect_all()
print "Person not currently available due to filter"

View File

@ -131,7 +131,7 @@ class DateDisplayDE(DateDisplay):
u" (Französisch Republikanisch)", u" (Persisch)", u" (Islamisch)"
)
_mod_str = ("",u"vor ",u"nach ",u"circa ","","","")
_mod_str = ("",u"vor ",u"nach ",u"etwa ","","","")
_qual_str = ("",u"geschätzt ",u"errechnet ")