forked from AuroraMiddleware/gtk
Merged from stable.
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview should only grab focus back if the "cell_editable" widget still has focus. (Fixes #110104, testcase provided by Marco Pesenti Gritti).
This commit is contained in:
parent
c400b654ca
commit
fd9992d8e6
@ -1,3 +1,12 @@
|
||||
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
|
||||
should only grab focus back if the "cell_editable" widget still
|
||||
has focus. (Fixes #110104, testcase provided by Marco Pesenti
|
||||
Gritti).
|
||||
|
||||
Thu Jul 17 19:06:34 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
|
||||
should only grab focus back if the "cell_editable" widget still
|
||||
has focus. (Fixes #110104, testcase provided by Marco Pesenti
|
||||
Gritti).
|
||||
|
||||
Thu Jul 17 19:06:34 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
|
||||
should only grab focus back if the "cell_editable" widget still
|
||||
has focus. (Fixes #110104, testcase provided by Marco Pesenti
|
||||
Gritti).
|
||||
|
||||
Thu Jul 17 19:06:34 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
|
||||
should only grab focus back if the "cell_editable" widget still
|
||||
has focus. (Fixes #110104, testcase provided by Marco Pesenti
|
||||
Gritti).
|
||||
|
||||
Thu Jul 17 19:06:34 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,12 @@
|
||||
Thu Jul 17 19:12:02 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_remove_widget): the treeview
|
||||
should only grab focus back if the "cell_editable" widget still
|
||||
has focus. (Fixes #110104, testcase provided by Marco Pesenti
|
||||
Gritti).
|
||||
|
||||
Thu Jul 17 19:06:34 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -11369,6 +11369,7 @@ gtk_tree_view_remove_widget (GtkCellEditable *cell_editable,
|
||||
_gtk_tree_view_column_stop_editing (tree_view->priv->edited_column);
|
||||
tree_view->priv->edited_column = NULL;
|
||||
|
||||
if (GTK_WIDGET_HAS_FOCUS (cell_editable))
|
||||
gtk_widget_grab_focus (GTK_WIDGET (tree_view));
|
||||
|
||||
gtk_container_remove (GTK_CONTAINER (tree_view),
|
||||
|
Loading…
Reference in New Issue
Block a user