[gnome-commander] GnomeCmdFileList: fix for long standing problem with d&d



commit ca9fa6e2e937374f0a9d7984d7b1db59a3ff2f1c
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Sat Aug 6 23:44:30 2011 +0200

    GnomeCmdFileList: fix for long standing problem with d&d

 src/gnome-cmd-file-list.cc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-cmd-file-list.cc b/src/gnome-cmd-file-list.cc
index d9d6b7c..76cc3a6 100644
--- a/src/gnome-cmd-file-list.cc
+++ b/src/gnome-cmd-file-list.cc
@@ -230,8 +230,6 @@ GnomeCmdFileList::GnomeCmdFileList(ColumnID sort_col, GtkSortType sort_order)
     priv->sort_func = file_list_column[sort_col].sort_func;
 
     create_column_titles();
-
-    init_dnd();
 }
 
 
@@ -1596,6 +1594,8 @@ static void gnome_cmd_file_list_init (GnomeCmdFileList *fl)
 {
     fl->priv = new GnomeCmdFileList::Private(fl);
 
+    fl->init_dnd();
+
     g_signal_connect_after (fl, "scroll-vertical", G_CALLBACK (on_scroll_vertical), fl);
     g_signal_connect (fl, "click-column", G_CALLBACK (on_column_clicked), fl);
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]