+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
+Mon Mar 11 01:25:14 2002 Kristian Rietveld <kris@gtk.org>
+
+ * gtk/gtktreeview.c (gtk_tree_view_button_press): compare path with
+ cursor path and not with the selected iter in the 'decide to edit'
+ check
+
Fri Mar 8 14:45:00 2002 Owen Taylor <otaylor@redhat.com>
* ======== Released GTK+-2.0 ========
(GdkEvent *)event,
path_string,
&background_area,
- &cell_area, flags))
+ &cell_area, flags) &&
+ tree_view->priv->cursor)
{
- if (cell_editable != NULL &&
- gtk_tree_selection_iter_is_selected (gtk_tree_view_get_selection (tree_view), &iter))
+ GtkTreePath *cursor = gtk_tree_row_reference_get_path (tree_view->priv->cursor);
+
+ if (cell_editable != NULL && cursor &&
+ !gtk_tree_path_compare (cursor, path))
{
gtk_tree_view_real_start_editing (tree_view,
column,
(GdkEvent *)event,
flags);
gtk_tree_path_free (path);
+ gtk_tree_path_free (cursor);
return TRUE;
}
+ if (cursor)
+ gtk_tree_path_free (cursor);
column_handled_click = TRUE;
}
g_free (path_string);