diff options
author | Gene Z. Ragan <gzr@eazel.com> | 2000-09-14 01:50:07 +0000 |
---|---|---|
committer | Gene Ragan <gzr@src.gnome.org> | 2000-09-14 01:50:07 +0000 |
commit | 75f46a478070ad293e8f9b2e85e41bb3a2bc831f (patch) | |
tree | c915f855f9f94adf14179ceeaaafd8e16a8ae8d0 /components/tree | |
parent | d76b671ca9bc0cb9e443399ba0cdd3b1e9bd01d3 (diff) | |
download | nautilus-75f46a478070ad293e8f9b2e85e41bb3a2bc831f.tar.gz |
Fixed a glitch with prelighting and mousedown.
2000-09-13 Gene Z. Ragan <gzr@eazel.com>
Fixed a glitch with prelighting and mousedown.
* libnautilus-extensions/nautilus-ctree.c: (nautilus_ctree_event),
(nautilus_ctree_button_press), (nautilus_ctree_draw_expander),
(row_new):
* components/tree/nautilus-tree-view.c:
Set the state of the in_hotspot flag on
button press and release.
Diffstat (limited to 'components/tree')
-rw-r--r-- | components/tree/nautilus-tree-view.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/components/tree/nautilus-tree-view.c b/components/tree/nautilus-tree-view.c index df6f8c2d0..2bdc4c071 100644 --- a/components/tree/nautilus-tree-view.c +++ b/components/tree/nautilus-tree-view.c @@ -1727,6 +1727,7 @@ nautilus_tree_view_button_press (GtkWidget *widget, GdkEventButton *event) ctree_row = ROW_ELEMENT (clist, press_row)->data; if (ctree_row != NULL) { ctree_row->mouse_down = TRUE; + ctree_row->in_hotspot = TRUE; node = nautilus_ctree_find_node_ptr (NAUTILUS_CTREE (widget), ctree_row); if (node != NULL) { @@ -1785,6 +1786,7 @@ nautilus_tree_view_button_release (GtkWidget *widget, GdkEventButton *event) ctree_row = ROW_ELEMENT (clist, press_row)->data; if (ctree_row != NULL) { ctree_row->mouse_down = FALSE; + ctree_row->in_hotspot = FALSE; /* Redraw spinner */ node = nautilus_ctree_find_node_ptr (NAUTILUS_CTREE (widget), ctree_row); |