forked from AuroraMiddleware/gtk
Set cell data unconditionally. (#152562, Federico Mena Quintero)
2004-10-08 Matthias Clasen <mclasen@redhat.com> * gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data unconditionally. (#152562, Federico Mena Quintero)
This commit is contained in:
parent
f64d8567ed
commit
ca4f063f28
@ -1,3 +1,8 @@
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||
unconditionally. (#152562, Federico Mena Quintero)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_node): Also update smart separators
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||
unconditionally. (#152562, Federico Mena Quintero)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_node): Also update smart separators
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||
unconditionally. (#152562, Federico Mena Quintero)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_node): Also update smart separators
|
||||
|
@ -1,3 +1,8 @@
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtktreeview.c (gtk_tree_view_button_press): Set cell data
|
||||
unconditionally. (#152562, Federico Mena Quintero)
|
||||
|
||||
2004-10-08 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* gtk/gtkuimanager.c (update_node): Also update smart separators
|
||||
|
@ -2286,16 +2286,15 @@ gtk_tree_view_button_press (GtkWidget *widget,
|
||||
GtkTreePath *anchor;
|
||||
GtkTreeIter iter;
|
||||
|
||||
gtk_tree_model_get_iter (tree_view->priv->model, &iter, path);
|
||||
gtk_tree_view_column_cell_set_cell_data (column,
|
||||
tree_view->priv->model,
|
||||
&iter,
|
||||
GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_PARENT),
|
||||
node->children?TRUE:FALSE);
|
||||
|
||||
if (tree_view->priv->anchor)
|
||||
{
|
||||
anchor = gtk_tree_row_reference_get_path (tree_view->priv->anchor);
|
||||
gtk_tree_model_get_iter (tree_view->priv->model, &iter, path);
|
||||
gtk_tree_view_column_cell_set_cell_data (column,
|
||||
tree_view->priv->model,
|
||||
&iter,
|
||||
GTK_RBNODE_FLAG_SET (node, GTK_RBNODE_IS_PARENT),
|
||||
node->children?TRUE:FALSE);
|
||||
}
|
||||
anchor = gtk_tree_row_reference_get_path (tree_view->priv->anchor);
|
||||
else
|
||||
anchor = NULL;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user