2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>

* src/plugins/ScratchPad.py: disabled search because it does not do
		  what the user expects.


svn: r4671
This commit is contained in:
Richard Taylor 2005-05-25 07:24:39 +00:00
parent 4cb7fdabd0
commit 06913ac261
2 changed files with 13 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: disabled search because it does not do
what the user expects.
2005-05-25 Richard Taylor <rjt-gramps@thegrindstone.me.uk>
* src/plugins/ScratchPad.py: rename on_scratch_pad_delete_event for consistency
* src/plugins/scratchpad.glade: add on_scratch_pad_delete_event to fix bug

View File

@ -612,6 +612,11 @@ class ScratchPadListView:
self.treetips = TreeTips.TreeTips(self._widget,2,True)
# Set the column that inline searching will use.
# The search does not appear to work properly so I am disabling it for now.
self._widget.set_enable_search(False)
#self._widget.set_search_column(1)
self._widget.drag_dest_set(gtk.DEST_DEFAULT_ALL,
(ScratchPadListView.LOCAL_DRAG_TARGET,) + \
DdTargets.all_targets(),
@ -767,7 +772,10 @@ class ScratchPadListView:
def get_selection(self):
return self._widget.get_selection()
def set_search_column(self,col):
return self._widget.set_search_column(col)
#-------------------------------------------------------------------------
#
# ScatchPadWindow class