2006-10-10  Alex Roitman  <shura@gramps-project.org>
	* NEWS: Update.
	* src/plugins/ExportVCalendar.py (get_option_box): Use custom filters.
	* src/plugins/ExportVCard.py (get_option_box): Use custom filters.
	* src/plugins/WriteFtree.py (get_option_box): Use custom filters.
	* src/plugins/WriteGeneWeb.py (get_option_box): Use custom filters.
	* src/Selectors/_BaseSelector.py: Import gettext.

	* src/ReportBase/_StyleEditor.py: Make style editor not modal
	* src/glade/gramps.glade: Make style editor not modal
	* src/GrampsLogger/_ErrorReportAssistant.py: Fix typo.
	* src/plugins/AncestorReport.py: Fix generation numbers.
	* src/GrampsLogger/_ErrorReportAssistant.py: Fix email client
	launch (#455)
	* src/plugins/Checkpoint.py: typo
	* src/docgen/RTFDoc.py: fix page breaks (#0000441)
	* src/plugins/Calendar.py: fix filter typo
	* src/plugins/WritePkg.py: don't set uid on Windows
In po:
2006-10-10  Alex Roitman  <shura@gramps-project.org>
	* POTFILES.in: Include all of Selectors package.

	* sk.po: Update translation.
	* lt.po: updated Lithuanian translation.


svn: r7391
This commit is contained in:
Alex Roitman 2006-10-11 04:59:26 +00:00
parent 13c3884aaa
commit bf82cb6fb7
9 changed files with 71 additions and 36 deletions

View File

@ -1,3 +1,11 @@
2006-10-10 Alex Roitman <shura@gramps-project.org>
* NEWS: Update.
* src/plugins/ExportVCalendar.py (get_option_box): Use custom filters.
* src/plugins/ExportVCard.py (get_option_box): Use custom filters.
* src/plugins/WriteFtree.py (get_option_box): Use custom filters.
* src/plugins/WriteGeneWeb.py (get_option_box): Use custom filters.
* src/Selectors/_BaseSelector.py: Import gettext.
2006-10-10 Don Allingham <don@gramps-project.org> 2006-10-10 Don Allingham <don@gramps-project.org>
* src/gramps_main.py: use pngs for windows * src/gramps_main.py: use pngs for windows
@ -59,8 +67,6 @@
2006-10-07 Alex Roitman <shura@gramps-project.org> 2006-10-07 Alex Roitman <shura@gramps-project.org>
* src/Editors/_EditSourceRef.py (_cleanup_on_exit): Factor out * src/Editors/_EditSourceRef.py (_cleanup_on_exit): Factor out
cleanup into its own method (as in the parent class). cleanup into its own method (as in the parent class).
FIXME: This needs to be fixed so that _cleanup_on_exit is not
run on OK, only on cancel. Maybe we need _clean_up_on_cancel() ?
* src/DisplayTabs/_TextTab.py (cancel): Only reset text, not the * src/DisplayTabs/_TextTab.py (cancel): Only reset text, not the
whole source reference. whole source reference.
* src/plugins/BookReport.py (BookList.parse): Catch ValueError * src/plugins/BookReport.py (BookList.parse): Catch ValueError
@ -158,7 +164,8 @@
2006-09-24 Brian Matherly <brian@gramps-project.org> 2006-09-24 Brian Matherly <brian@gramps-project.org>
* src/plugins/AncestorReport.py: Fix generation numbers. * src/plugins/AncestorReport.py: Fix generation numbers.
* src/GrampsLogger/_ErrorReportAssistant.py: Fix email client launch (#455) * src/GrampsLogger/_ErrorReportAssistant.py: Fix email client
launch (#455)
2006-09-23 Don Allingham <don@gramps-project.org> 2006-09-23 Don Allingham <don@gramps-project.org>
* src/images/sources.svg: new icon * src/images/sources.svg: new icon

11
NEWS
View File

@ -1,7 +1,10 @@
Version 2.1.98 -- the "" release Version 2.2.0rc1 -- the "Help, Help! I'm being repressed!" release
* Czech relationship calculator (Zdenek Hatas) * Address has county, Location has street now.
* Bug fixes * Improved icons (James Leigh).
* DB transactions are adjusted by the user.
* Drag and Drop improvements.
* Czech relationship calculator (Zdenek Hatas).
* Bug fixes.
Version 2.1.95 -- the "Listen! I can't give it to you now. It says, 'in the event of death'. Uh. Oh! Ah. Ah. Eh." release Version 2.1.95 -- the "Listen! I can't give it to you now. It says, 'in the event of death'. Uh. Oh! Ah. Ah. Eh." release
* Removal of StartupUp Dialog * Removal of StartupUp Dialog

View File

@ -1,8 +1,11 @@
2006-10-10 Alex Roitman <shura@gramps-project.org>
* POTFILES.in: Include all of Selectors package.
2006-10-09 Morten Bo Johansen <mbj@spamcop.net> 2006-10-09 Morten Bo Johansen <mbj@spamcop.net>
* da.po: Translation update. * da.po: Translation update.
2006-10-04 Lubo Vasko <pgval@post.sk> 2006-10-04 Lubo Vasko <pgval@post.sk>
* po/sk.po: Update translation. * sk.po: Update translation.
2006-10-03 Stefan Bjork <betula@users.sourceforge.net> 2006-10-03 Stefan Bjork <betula@users.sourceforge.net>
* sv.po: Updated Swedish translation. * sv.po: Updated Swedish translation.

View File

@ -244,7 +244,9 @@ src/Mime/_PythonMime.py
# src/ObjectSelector/_PersonTreeFrame.py # src/ObjectSelector/_PersonTreeFrame.py
# src/ObjectSelector/_PreviewFrameBase.py # src/ObjectSelector/_PreviewFrameBase.py
# src/ObjectSelector/_TreeFrameBase.py # src/ObjectSelector/_TreeFrameBase.py
# src/Selectors/_BaseSelector.py
# Selectors package
src/Selectors/_BaseSelector.py
src/Selectors/_SelectEvent.py src/Selectors/_SelectEvent.py
src/Selectors/_SelectFamily.py src/Selectors/_SelectFamily.py
src/Selectors/_SelectObject.py src/Selectors/_SelectObject.py
@ -252,9 +254,9 @@ src/Selectors/_SelectPerson.py
src/Selectors/_SelectPlace.py src/Selectors/_SelectPlace.py
src/Selectors/_SelectRepository.py src/Selectors/_SelectRepository.py
src/Selectors/_SelectSource.py src/Selectors/_SelectSource.py
# src/Selectors/_SelectorExceptions.py src/Selectors/_SelectorExceptions.py
# src/Selectors/_SelectorFactory.py src/Selectors/_SelectorFactory.py
# src/Selectors/__init__.py src/Selectors/__init__.py
# plugins directory # plugins directory
src/plugins/AncestorChart2.py src/plugins/AncestorChart2.py

View File

@ -20,6 +20,12 @@
# $Id$ # $Id$
#-------------------------------------------------------------------------
#
# Python modules
#
#-------------------------------------------------------------------------
from gettext import gettext as _
try: try:
set() set()
except: except:

View File

@ -88,6 +88,8 @@ class CalendarWriterOptionBox:
all.set_name(_("Entire Database")) all.set_name(_("Entire Database"))
all.add_rule(Rules.Person.Everyone([])) all.add_rule(Rules.Person.Everyone([]))
the_filters = [all]
if self.person: if self.person:
des = GenericFilter() des = GenericFilter()
des.set_name(_("Descendants of %s") % des.set_name(_("Descendants of %s") %
@ -107,10 +109,11 @@ class CalendarWriterOptionBox:
com.add_rule(Rules.Person.HasCommonAncestorWith( com.add_rule(Rules.Person.HasCommonAncestorWith(
[self.person.get_gramps_id()])) [self.person.get_gramps_id()]))
self.filter_menu = build_filter_menu( the_filters += [all,des,ans,com]
[all,des,ans,com])
else: from Filters import CustomFilters
self.filter_menu = build_filter_menu([all]) the_filters.extend(CustomFilters.get_filters('Person'))
self.filter_menu = build_filter_menu(the_filters)
filter_obj.set_menu(self.filter_menu) filter_obj.set_menu(self.filter_menu)
the_box = self.topDialog.get_widget('vbox1') the_box = self.topDialog.get_widget('vbox1')

View File

@ -86,6 +86,8 @@ class CardWriterOptionBox:
all.set_name(_("Entire Database")) all.set_name(_("Entire Database"))
all.add_rule(Rules.Person.Everyone([])) all.add_rule(Rules.Person.Everyone([]))
the_filters = [all]
if self.person: if self.person:
des = GenericFilter() des = GenericFilter()
des.set_name(_("Descendants of %s") % des.set_name(_("Descendants of %s") %
@ -105,10 +107,11 @@ class CardWriterOptionBox:
com.add_rule(Rules.Person.HasCommonAncestorWith( com.add_rule(Rules.Person.HasCommonAncestorWith(
[self.person.get_gramps_id()])) [self.person.get_gramps_id()]))
self.filter_menu = build_filter_menu( the_filers += [all,des,ans,com]
[all,des,ans,com])
else: from Filters import CustomFilters
self.filter_menu = build_filter_menu([all]) the_filters.extend(CustomFilters.get_filters('Person'))
self.filter_menu = build_filter_menu(the_filters)
filter_obj.set_menu(self.filter_menu) filter_obj.set_menu(self.filter_menu)
the_box = self.topDialog.get_widget('vbox1') the_box = self.topDialog.get_widget('vbox1')

View File

@ -90,6 +90,8 @@ class FtreeWriterOptionBox:
all.set_name(_("Entire Database")) all.set_name(_("Entire Database"))
all.add_rule(Rules.Person.Everyone([])) all.add_rule(Rules.Person.Everyone([]))
the_filters = [all]
if self.person: if self.person:
des = GenericFilter() des = GenericFilter()
des.set_name(_("Descendants of %s") % des.set_name(_("Descendants of %s") %
@ -109,9 +111,11 @@ class FtreeWriterOptionBox:
com.add_rule(Rules.Person.HasCommonAncestorWith( com.add_rule(Rules.Person.HasCommonAncestorWith(
[self.person.get_gramps_id()])) [self.person.get_gramps_id()]))
self.filter_menu = build_filter_menu([all,des,ans,com]) the_filters += [all,des,ans,com]
else:
self.filter_menu = build_filter_menu([all]) from Filters import CustomFilters
the_filters.extend(CustomFilters.get_filters('Person'))
self.filter_menu = build_filter_menu(the_filters)
filter_obj.set_menu(self.filter_menu) filter_obj.set_menu(self.filter_menu)
the_box = self.top.get_widget("vbox1") the_box = self.top.get_widget("vbox1")

View File

@ -92,6 +92,8 @@ class GeneWebWriterOptionBox:
all.set_name(_("Entire Database")) all.set_name(_("Entire Database"))
all.add_rule(Rules.Person.Everyone([])) all.add_rule(Rules.Person.Everyone([]))
the_filters = [all]
if self.person: if self.person:
des = GenericFilter() des = GenericFilter()
des.set_name(_("Descendants of %s") % des.set_name(_("Descendants of %s") %
@ -111,9 +113,11 @@ class GeneWebWriterOptionBox:
com.add_rule(Rules.Person.HasCommonAncestorWith( com.add_rule(Rules.Person.HasCommonAncestorWith(
[self.person.get_gramps_id()])) [self.person.get_gramps_id()]))
self.filter_menu = build_filter_menu([all,des,ans,com]) the_filters += [all,des,ans,com]
else:
self.filter_menu = build_filter_menu([all]) from Filters import CustomFilters
the_filters.extend(CustomFilters.get_filters('Person'))
self.filter_menu = build_filter_menu(the_filters)
filter_obj.set_menu(self.filter_menu) filter_obj.set_menu(self.filter_menu)
the_box = self.topDialog.get_widget('vbox1') the_box = self.topDialog.get_widget('vbox1')