forked from AuroraMiddleware/gtk
Stop editing when a new model is set. (#145566, Dmitry M. Shatrov)
Thu Jul 8 00:33:15 2004 Matthias Clasen <maclas@gmx.de> * gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing when a new model is set. (#145566, Dmitry M. Shatrov)
This commit is contained in:
parent
b36f879cfb
commit
39fb304f97
@ -1,3 +1,8 @@
|
||||
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
|
||||
when a new model is set. (#145566, Dmitry M. Shatrov)
|
||||
|
||||
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
|
||||
when a new model is set. (#145566, Dmitry M. Shatrov)
|
||||
|
||||
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
|
||||
when a new model is set. (#145566, Dmitry M. Shatrov)
|
||||
|
||||
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
|
||||
|
@ -1,3 +1,8 @@
|
||||
Thu Jul 8 00:31:34 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_set_model): Stop editing
|
||||
when a new model is set. (#145566, Dmitry M. Shatrov)
|
||||
|
||||
Wed Jul 7 23:44:32 2004 Matthias Clasen <maclas@gmx.de>
|
||||
|
||||
* gtk/gtkimage.c (gtk_image_expose): Make sure that subpixbufs
|
||||
|
@ -8831,8 +8831,8 @@ gtk_tree_view_get_model (GtkTreeView *tree_view)
|
||||
* @model: The model.
|
||||
*
|
||||
* Sets the model for a #GtkTreeView. If the @tree_view already has a model
|
||||
* set, it will remove it before setting the new model. If @model is %NULL, then
|
||||
* it will unset the old model.
|
||||
* set, it will remove it before setting the new model. If @model is %NULL,
|
||||
* then it will unset the old model.
|
||||
**/
|
||||
void
|
||||
gtk_tree_view_set_model (GtkTreeView *tree_view,
|
||||
@ -8851,6 +8851,7 @@ gtk_tree_view_set_model (GtkTreeView *tree_view,
|
||||
GList *tmplist = tree_view->priv->columns;
|
||||
|
||||
gtk_tree_view_unref_and_check_selection_tree (tree_view, tree_view->priv->tree);
|
||||
gtk_tree_view_stop_editing (tree_view, TRUE);
|
||||
|
||||
g_signal_handlers_disconnect_by_func (tree_view->priv->model,
|
||||
gtk_tree_view_row_changed,
|
||||
|
Loading…
Reference in New Issue
Block a user