aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-completion-test.c
diff options
context:
space:
mode:
authorJon Trowbridge <trow@gnu.org>2001-03-06 17:47:08 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-03-06 17:47:08 +0800
commit10d0e730eccccf34fc53dc8c1d6145fca1f52f57 (patch)
tree231d378aa6256253d73d078251d5c8096b824a54 /widgets/text/e-completion-test.c
parent1bdc6e147f19384e42679512130cfc5f4d93364b (diff)
downloadgsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.gz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.bz2
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.lz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.xz
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.tar.zst
gsoc2013-evolution-10d0e730eccccf34fc53dc8c1d6145fca1f52f57.zip
Added. This is part of a change of sematics that makes things much nicer
2001-03-06 Jon Trowbridge <trow@gnu.org> * 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
Diffstat (limited to 'widgets/text/e-completion-test.c')
-rw-r--r--widgets/text/e-completion-test.c2
1 files changed, 1 insertions, 1 deletions
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),