summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
diff options
context:
space:
mode:
authorKristian Rietveld <kris@gtk.org>2003-10-13 19:07:34 +0000
committerKristian Rietveld <kristian@src.gnome.org>2003-10-13 19:07:34 +0000
commit027d69003ef4c1e8178e62e0e25532e0ef7e03b8 (patch)
tree632f4669dd154f64c0546eabccb5dfde7903e2be /gtk/gtkentrycompletion.c
parent2baa63a100d76110915133c7fcb728c8545b11ca (diff)
downloadgtk+-027d69003ef4c1e8178e62e0e25532e0ef7e03b8.tar.gz
remove the reset of first_sel_changed, as after the first popup the
Mon Oct 13 21:01:43 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentrycompletion.c (gtk_entry_completion_popup): remove the reset of first_sel_changed, as after the first popup the treeview will always have a row selected and will thus not focus_to_cursor. * gtk/gtkentry.c (keyval_is_cursor_move): new function to determine whether the keyval should move the completion selection cursor (used to avoid ending up with extreme cluttered code), also added all KP_ equivalents of the keys here, (gtk_entry_completion_key_press): Keynav tweaks based on comments from Dave Bordoley and Marco Pesenti Gritti; add the -1 state as possible current selection, implement Home/End keys, modified the down key to stop cycling. Maybe page up/down should be implemented at some later time.
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index 73f642189f..74eacfdae6 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1040,8 +1040,6 @@ _gtk_entry_completion_popup (GtkEntryCompletion *completion)
if (GTK_WIDGET_MAPPED (completion->priv->popup_window))
return;
- completion->priv->first_sel_changed = TRUE;
-
gtk_widget_show_all (completion->priv->vbox);
gdk_window_get_origin (completion->priv->entry->window, &x, &y);