only unselect all items if the treeview has focus. (Fixes bug reported by
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org> * gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed): only unselect all items if the treeview has focus. (Fixes bug reported by Marco Pesenti Gritti).
This commit is contained in:

committed by
Kristian Rietveld

parent
5c243e9be8
commit
ed77f62512
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
|
||||||
|
only unselect all items if the treeview has focus. (Fixes bug
|
||||||
|
reported by Marco Pesenti Gritti).
|
||||||
|
|
||||||
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
|
||||||
|
only unselect all items if the treeview has focus. (Fixes bug
|
||||||
|
reported by Marco Pesenti Gritti).
|
||||||
|
|
||||||
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
|
||||||
|
only unselect all items if the treeview has focus. (Fixes bug
|
||||||
|
reported by Marco Pesenti Gritti).
|
||||||
|
|
||||||
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
|
||||||
|
only unselect all items if the treeview has focus. (Fixes bug
|
||||||
|
reported by Marco Pesenti Gritti).
|
||||||
|
|
||||||
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Wed Nov 19 00:06:04 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
|
* gtk/gtkentrycompletion.c (gtk_entry_completion_selection_changed):
|
||||||
|
only unselect all items if the treeview has focus. (Fixes bug
|
||||||
|
reported by Marco Pesenti Gritti).
|
||||||
|
|
||||||
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
Tue Nov 18 22:26:30 2003 Kristian Rietveld <kris@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
* gtk/gtkentry.c (gtk_entry_completion_key_press): the total
|
||||||
|
@ -678,7 +678,8 @@ gtk_entry_completion_selection_changed (GtkTreeSelection *selection,
|
|||||||
if (completion->priv->first_sel_changed)
|
if (completion->priv->first_sel_changed)
|
||||||
{
|
{
|
||||||
completion->priv->first_sel_changed = FALSE;
|
completion->priv->first_sel_changed = FALSE;
|
||||||
gtk_tree_selection_unselect_all (selection);
|
if (gtk_widget_is_focus (completion->priv->tree_view))
|
||||||
|
gtk_tree_selection_unselect_all (selection);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user