aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2004-01-28 05:08:16 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-01-28 05:08:16 +0800
commit96729a9fd1c06a0b68f774ea608a21fb05969c91 (patch)
tree65e3d139e38537848db115475778df3311226994 /mail/em-folder-tree.c
parentca4c6b7f6bdfff67b2a9a544ab5a42d4435e9b7c (diff)
downloadgsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar.gz
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar.bz2
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar.lz
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar.xz
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.tar.zst
gsoc2013-evolution-96729a9fd1c06a0b68f774ea608a21fb05969c91.zip
Use gtk_tree_view_get_dest_row_at_pos() instead of
2004-01-27 Jeffrey Stedfast <fejj@ximian.com> * em-folder-tree.c (tree_drag_data_received): Use gtk_tree_view_get_dest_row_at_pos() instead of gtk_tree_view_get_path_at_pos() since this is what Nautilus uses. Unfortunately, it still gives us back the wrong GtkTreePath so it looks to me like Gtk+ is borked. * em-migrate.c (em_migrate_imap_caches_1_4): Copy the imap cache into the right place. Duh. svn path=/trunk/; revision=24477
Diffstat (limited to 'mail/em-folder-tree.c')
-rw-r--r--mail/em-folder-tree.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/mail/em-folder-tree.c b/mail/em-folder-tree.c
index 62b3deba2a..43012b3453 100644
--- a/mail/em-folder-tree.c
+++ b/mail/em-folder-tree.c
@@ -566,8 +566,7 @@ tree_drag_data_received (GtkWidget *widget, GdkDragContext *context, int x, int
guint info, guint time, EMFolderTree *emft)
{
struct _EMFolderTreePrivate *priv = emft->priv;
- GtkTreeViewColumn *column;
- int cell_x, cell_y;
+ GtkTreeViewDropPosition pos;
GtkTreePath *path;
gboolean success;
gboolean moved;
@@ -575,7 +574,7 @@ tree_drag_data_received (GtkWidget *widget, GdkDragContext *context, int x, int
printf ("::drag-data-received called\n");
- if (!gtk_tree_view_get_path_at_pos (priv->treeview, x, y, &path, &column, &cell_x, &cell_y))
+ if (!gtk_tree_view_get_dest_row_at_pos (priv->treeview, x, y, &path, &pos))
return;
move = context->action == GDK_ACTION_MOVE;