2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>

* 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

svn: r9778
This commit is contained in:
Raphael Ackermann 2008-01-10 23:27:06 +00:00
parent abc7d85760
commit d28b01f4b0
7 changed files with 12 additions and 9 deletions

View File

@ -1,3 +1,11 @@
2008-01-10 Raphael Ackermann <raphael.ackermann@gmail.com>
* 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 <frederik.de.richter@pandora.be>
* src/GrampsCfg.py:
* src/plugins/Reorderids.py: add note reordering

View File

@ -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):

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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()

View File

@ -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():