If the node being moved isn't viewable there is no way that moving the
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com> * gtk/gtkctree.c (real_tree_move): If the node being moved isn't viewable there is no way that moving the node will cause the focus row to become not viewable, so omit check on the visibility of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -1,3 +1,10 @@
|
||||
Wed Jan 31 21:20:39 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkctree.c (real_tree_move): If the node being moved isn't
|
||||
viewable there is no way that moving the node will cause the
|
||||
focus row to become not viewable, so omit check on the visibility
|
||||
of new_sibling, which is irrelevant. (Fixes #8002, David Helder)
|
||||
|
||||
Wed Jan 31 20:33:35 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkentry.c (gtk_entry_set_selection): Check bounds
|
||||
|
||||
@@ -2413,8 +2413,7 @@ real_tree_move (GtkCTree *ctree,
|
||||
gtk_clist_freeze (clist);
|
||||
|
||||
work = NULL;
|
||||
if (gtk_ctree_is_viewable (ctree, node) ||
|
||||
gtk_ctree_is_viewable (ctree, new_sibling))
|
||||
if (gtk_ctree_is_viewable (ctree, node))
|
||||
work = GTK_CTREE_NODE (g_list_nth (clist->row_list, clist->focus_row));
|
||||
|
||||
gtk_ctree_unlink (ctree, node, FALSE);
|
||||
|
||||
Reference in New Issue
Block a user