gnome-specimen r169 - in branches/import-from-bzr: . specimen



Author: wbolster
Date: Tue Jun 17 18:54:58 2008
New Revision: 169
URL: http://svn.gnome.org/viewvc/gnome-specimen?rev=169&view=rev

Log:
* specimen/specimenwindow.py:
  - Update find filter in an idle handler to make the find
    entry more responsive.


Modified:
   branches/import-from-bzr/   (props changed)
   branches/import-from-bzr/specimen/specimenwindow.py

Modified: branches/import-from-bzr/specimen/specimenwindow.py
==============================================================================
--- branches/import-from-bzr/specimen/specimenwindow.py	(original)
+++ branches/import-from-bzr/specimen/specimenwindow.py	Tue Jun 17 18:54:58 2008
@@ -303,7 +303,7 @@
         self.fonts_treeview.set_model(model);
 
     def on_find_entry_changed(self, entry, data=None):
-        self.update_find_filter()
+        gobject.idle_add(lambda: self.update_find_filter() and False)
 
     def on_find_entry_activated(self, entry, data=None):
         '''Callback for Enter key in the find entry.'''



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]