diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index bafd982c7..63db0969f 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-05-25 Richard Taylor + * src/plugins/ScratchPad.py: disabled search because it does not do + what the user expects. + 2005-05-25 Richard Taylor * 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 diff --git a/gramps2/src/plugins/ScratchPad.py b/gramps2/src/plugins/ScratchPad.py index 6dc92df6a..96a19d0b9 100644 --- a/gramps2/src/plugins/ScratchPad.py +++ b/gramps2/src/plugins/ScratchPad.py @@ -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