From 777dcec49c2e500a17b33a25361869b791f1b37c Mon Sep 17 00:00:00 2001
From: Alexandre Savard <alexandre.savard@savoirfairelinux.com>
Date: Tue, 8 May 2012 17:15:39 -0400
Subject: [PATCH] #10543: Make sure only current calls tab is initailized with
 dragndrop capabilities

---
 gnome/src/contacts/calltree.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/gnome/src/contacts/calltree.c b/gnome/src/contacts/calltree.c
index b8c2aab7fd..9e398d9b46 100644
--- a/gnome/src/contacts/calltree.c
+++ b/gnome/src/contacts/calltree.c
@@ -475,7 +475,7 @@ calltree_create(calltab_t* tab, int searchbar_type)
                      G_CALLBACK(button_pressed),
                      NULL);
 
-    if (tab != history_tab && tab != contacts_tab) {
+    if (g_strcmp0(tab->_name, CURRENT_CALLS) == 0) {
         // Make calltree reordable for drag n drop
         gtk_tree_view_set_reorderable(GTK_TREE_VIEW(tab->view), TRUE);
 
-- 
GitLab