[PATCH] Renew the typeahead search timeout when using scrollwheel
- From: Nelson Benítez <gnel cenobioracing com>
- To: nautilus-list gnome org
- Subject: [PATCH] Renew the typeahead search timeout when using scrollwheel
- Date: Wed, 11 Oct 2006 12:01:01 +0100
>From bug http://bugs.gnome.org/354042 , patch is attached.
Index: libnautilus-private/nautilus-icon-container.c
===================================================================
RCS file: /cvs/gnome/nautilus/libnautilus-private/nautilus-icon-container.c,v
retrieving revision 1.406
diff -p -u -r1.406 nautilus-icon-container.c
--- libnautilus-private/nautilus-icon-container.c 12 Dec 2005 16:59:10 -0000 1.406
+++ libnautilus-private/nautilus-icon-container.c 2 Sep 2006 21:51:38 -0000
@@ -3943,6 +3942,15 @@ nautilus_icon_container_search_scroll_ev
retval = TRUE;
}
+ /* renew the flush timeout */
+ if (retval && container->details->typeselect_flush_timeout) {
+ g_source_remove (container->details->typeselect_flush_timeout);
+ container->details->typeselect_flush_timeout =
+ g_timeout_add (NAUTILUS_ICON_CONTAINER_SEARCH_DIALOG_TIMEOUT,
+ (GSourceFunc) nautilus_icon_container_search_entry_flush_timeout,
+ container);
+ }
+
return retval;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]