diff --git a/ChangeLog b/ChangeLog index 9805c9c04..8666397ed 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2008-01-10 Raphael Ackermann + * src/MarkupText.py: in _hex_to_color removed dupe assignment to color + * src/PageView.py: doc typo and delete unused statements in filter_toggle + * src/ViewManager.py: fix typo in doc + * src/DataViews/PersonView.py: delete unused statements in filter_toggle + * src/FilterEditor/_EditRule.py: fix wrong $Id name + * src/FilterEditor/_ShowResults.py: fix wrong $Id name + 2008-01-10 Erik De richter * src/GrampsCfg.py: * src/plugins/Reorderids.py: add note reordering diff --git a/src/DataViews/PersonView.py b/src/DataViews/PersonView.py index 0054a6054..c26b0f4f3 100644 --- a/src/DataViews/PersonView.py +++ b/src/DataViews/PersonView.py @@ -334,11 +334,9 @@ class PersonView(PageView.PersonNavView): if Config.get(Config.FILTER): self.search_bar.hide() self.filter_pane.show() - active = True else: self.search_bar.show() self.filter_pane.hide() - active = False self.build_tree() def drag_begin(self, widget, *data): diff --git a/src/FilterEditor/_EditRule.py b/src/FilterEditor/_EditRule.py index 8509592fe..941754ceb 100644 --- a/src/FilterEditor/_EditRule.py +++ b/src/FilterEditor/_EditRule.py @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: _FilterEditor.py 6840 2006-06-01 22:37:13Z dallingham $ +# $Id: _EditRule.py 6840 2006-06-01 22:37:13Z dallingham $ """ Custom Filter Editor tool. diff --git a/src/FilterEditor/_ShowResults.py b/src/FilterEditor/_ShowResults.py index 088bdc175..341c0e85d 100644 --- a/src/FilterEditor/_ShowResults.py +++ b/src/FilterEditor/_ShowResults.py @@ -18,7 +18,7 @@ # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA # -# $Id: _FilterEditor.py 6840 2006-06-01 22:37:13Z dallingham $ +# $Id: _ShowResults.py 6840 2006-06-01 22:37:13Z dallingham $ """ Custom Filter Editor tool. diff --git a/src/MarkupText.py b/src/MarkupText.py index 62a1921cf..461253e50 100644 --- a/src/MarkupText.py +++ b/src/MarkupText.py @@ -724,7 +724,6 @@ class MarkupBuffer(gtk.TextBuffer): def _hex_to_color(self, hex): """Convert hex string to gtk.gdk.Color.""" - color = gtk.gdk.Color() color = gtk.gdk.color_parse(hex) return color diff --git a/src/PageView.py b/src/PageView.py index 56f411af1..cc0164fa9 100644 --- a/src/PageView.py +++ b/src/PageView.py @@ -590,11 +590,9 @@ class ListView(BookMarkView): if Config.get(Config.FILTER): self.search_bar.hide() self.filter_pane.show() - active = True else: self.search_bar.show() self.filter_pane.hide() - active = False def post(self): if self.filter_class: @@ -854,7 +852,7 @@ class ListView(BookMarkView): self.dirty = True def object_build(self): - """callback, for if tree must be rebuild and bookmarks redrawn + """callback, for if tree must be rebuilt and bookmarks redrawn """ if self.active: self.bookmarks.redraw() diff --git a/src/ViewManager.py b/src/ViewManager.py index a29b466dc..fda2e60e4 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -766,7 +766,7 @@ class ViewManager: def toolbar_toggle(self, obj): """ - Set the toobar based on the value of the toggle button. Save the + Set the toolbar based on the value of the toggle button. Save the results in the configuration settings """ if obj.get_active():