forked from AuroraMiddleware/gtk
Merged from stable.
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org> Merged from stable. * gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel the current editing, if it exists. (Fixes #108956, reported by Michael Natterer).
This commit is contained in:
parent
4a03ea2334
commit
7554c3dfae
@ -1,3 +1,11 @@
|
||||
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
|
||||
the current editing, if it exists. (Fixes #108956, reported by
|
||||
Michael Natterer).
|
||||
|
||||
Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
|
||||
the current editing, if it exists. (Fixes #108956, reported by
|
||||
Michael Natterer).
|
||||
|
||||
Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
|
||||
the current editing, if it exists. (Fixes #108956, reported by
|
||||
Michael Natterer).
|
||||
|
||||
Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
|
||||
the current editing, if it exists. (Fixes #108956, reported by
|
||||
Michael Natterer).
|
||||
|
||||
Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -1,3 +1,11 @@
|
||||
Thu May 29 17:12:19 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_cursor_on_cell): cancel
|
||||
the current editing, if it exists. (Fixes #108956, reported by
|
||||
Michael Natterer).
|
||||
|
||||
Thu May 29 17:06:09 2003 Kristian Rietveld <kris@gtk.org>
|
||||
|
||||
Merged from stable.
|
||||
|
@ -9910,6 +9910,11 @@ gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view,
|
||||
g_return_if_fail (GTK_IS_CELL_RENDERER (focus_cell));
|
||||
}
|
||||
|
||||
/* cancel the current editing, if it exists */
|
||||
if (tree_view->priv->edited_column &&
|
||||
tree_view->priv->edited_column->editable_widget)
|
||||
gtk_tree_view_stop_editing (tree_view, TRUE);
|
||||
|
||||
gtk_tree_view_real_set_cursor (tree_view, path, TRUE, TRUE);
|
||||
|
||||
if (focus_column && focus_column->visible)
|
||||
|
Loading…
Reference in New Issue
Block a user