From 10d0e730eccccf34fc53dc8c1d6145fca1f52f57 Mon Sep 17 00:00:00 2001 From: Jon Trowbridge Date: Tue, 6 Mar 2001 09:47:08 +0000 Subject: Added. This is part of a change of sematics that makes things much nicer 2001-03-06 Jon Trowbridge * gal/e-text/e-entry.c (e_entry_text_keypress): Added. This is part of a change of sematics that makes things much nicer for the user --- auto-activate the completion popup only on keypresses than also change the entry. (e_entry_proxy_changed): Record that the underlying EText has changed, and set up a timeout to clear the changed_since_keypress flag in a very short amount of time. (e_entry_init): Connect to the EText's "keypress" signal". (e_entry_destroy): If our completion_delay_tag timeout is still floating around out there when we are winding things down, remove it. * gal/e-text/e-text.c (e_text_class_init): Added keypress signal. (e_text_text_model_reposition): Removed some old cruft. (e_text_event): Emit our keypress signal after handling events of type GDK_KEY_PRESS. svn path=/trunk/; revision=8566 --- widgets/text/e-completion-test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/text/e-completion-test.c') diff --git a/widgets/text/e-completion-test.c b/widgets/text/e-completion-test.c index f01389363a..626842cb51 100644 --- a/widgets/text/e-completion-test.c +++ b/widgets/text/e-completion-test.c @@ -175,7 +175,7 @@ main (int argc, gchar **argv) win = gtk_window_new (GTK_WINDOW_TOPLEVEL); entry = e_entry_new (); - e_entry_enable_completion_full (E_ENTRY (entry), complete, -1, NULL); + e_entry_enable_completion_full (E_ENTRY (entry), complete, 0, NULL); e_entry_set_editable (E_ENTRY (entry), TRUE); gtk_signal_connect (GTK_OBJECT (entry), -- cgit v1.2.3