summaryrefslogtreecommitdiff
path: root/gtk/gtkctree.c
diff options
context:
space:
mode:
authorAlexander Larsson <alexl@src.gnome.org>2001-04-24 14:58:33 +0000
committerAlexander Larsson <alexl@src.gnome.org>2001-04-24 14:58:33 +0000
commitc668063747cc787e6ae49c2a451bbc1a8ec24278 (patch)
treee322ad3c7b983f824fedec8d6183a1f57f79dc0e /gtk/gtkctree.c
parentb84d2f1234b6a6c1fd42cab2541b563f2ad66615 (diff)
downloadgtk+-c668063747cc787e6ae49c2a451bbc1a8ec24278.tar.gz
i2001-04-24 Alexander Larsson <alexl@redhat.com>
* gtk/gtkclist.[ch]: * gtk/gtkctree.c: When there is a row highlighted for D'n'D it must alse be painted hightlighted on exposes. Otherwise exposes from the icon being dragged will mess up the hightlight. * gtk/gtkfontsel.c: Don't recenter selected font when exposing the font family clist. This means you can now actually scroll the font family list. * gtk/gtknotebook.c: Fix focus movement on scrolling tabs that are placed on the left and right.
Diffstat (limited to 'gtk/gtkctree.c')
-rw-r--r--gtk/gtkctree.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkctree.c b/gtk/gtkctree.c
index 2ea6d473c7..b1f932a93d 100644
--- a/gtk/gtkctree.c
+++ b/gtk/gtkctree.c
@@ -6084,6 +6084,9 @@ gtk_ctree_drag_motion (GtkWidget *widget,
g_list_nth (clist->row_list, dest_info->cell.row)->data,
dest_info->cell.row, dest_info->insert_pos);
+ clist->drag_highlight_row = dest_info->cell.row;
+ clist->drag_highlight_pos = dest_info->insert_pos;
+
gdk_drag_status (context, context->suggested_action, time);
}
return TRUE;