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:
parent
abc7d85760
commit
d28b01f4b0
@ -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>
|
2008-01-10 Erik De richter <frederik.de.richter@pandora.be>
|
||||||
* src/GrampsCfg.py:
|
* src/GrampsCfg.py:
|
||||||
* src/plugins/Reorderids.py: add note reordering
|
* src/plugins/Reorderids.py: add note reordering
|
||||||
|
@ -334,11 +334,9 @@ class PersonView(PageView.PersonNavView):
|
|||||||
if Config.get(Config.FILTER):
|
if Config.get(Config.FILTER):
|
||||||
self.search_bar.hide()
|
self.search_bar.hide()
|
||||||
self.filter_pane.show()
|
self.filter_pane.show()
|
||||||
active = True
|
|
||||||
else:
|
else:
|
||||||
self.search_bar.show()
|
self.search_bar.show()
|
||||||
self.filter_pane.hide()
|
self.filter_pane.hide()
|
||||||
active = False
|
|
||||||
self.build_tree()
|
self.build_tree()
|
||||||
|
|
||||||
def drag_begin(self, widget, *data):
|
def drag_begin(self, widget, *data):
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# 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.
|
Custom Filter Editor tool.
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
# 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.
|
Custom Filter Editor tool.
|
||||||
|
@ -724,7 +724,6 @@ class MarkupBuffer(gtk.TextBuffer):
|
|||||||
|
|
||||||
def _hex_to_color(self, hex):
|
def _hex_to_color(self, hex):
|
||||||
"""Convert hex string to gtk.gdk.Color."""
|
"""Convert hex string to gtk.gdk.Color."""
|
||||||
color = gtk.gdk.Color()
|
|
||||||
color = gtk.gdk.color_parse(hex)
|
color = gtk.gdk.color_parse(hex)
|
||||||
return color
|
return color
|
||||||
|
|
||||||
|
@ -590,11 +590,9 @@ class ListView(BookMarkView):
|
|||||||
if Config.get(Config.FILTER):
|
if Config.get(Config.FILTER):
|
||||||
self.search_bar.hide()
|
self.search_bar.hide()
|
||||||
self.filter_pane.show()
|
self.filter_pane.show()
|
||||||
active = True
|
|
||||||
else:
|
else:
|
||||||
self.search_bar.show()
|
self.search_bar.show()
|
||||||
self.filter_pane.hide()
|
self.filter_pane.hide()
|
||||||
active = False
|
|
||||||
|
|
||||||
def post(self):
|
def post(self):
|
||||||
if self.filter_class:
|
if self.filter_class:
|
||||||
@ -854,7 +852,7 @@ class ListView(BookMarkView):
|
|||||||
self.dirty = True
|
self.dirty = True
|
||||||
|
|
||||||
def object_build(self):
|
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:
|
if self.active:
|
||||||
self.bookmarks.redraw()
|
self.bookmarks.redraw()
|
||||||
|
@ -766,7 +766,7 @@ class ViewManager:
|
|||||||
|
|
||||||
def toolbar_toggle(self, obj):
|
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
|
results in the configuration settings
|
||||||
"""
|
"""
|
||||||
if obj.get_active():
|
if obj.get_active():
|
||||||
|
Loading…
Reference in New Issue
Block a user