From ac54a2ed457d37a40be193bb0fea684f1dd0e197 Mon Sep 17 00:00:00 2001 From: TingPing Date: Sun, 8 Feb 2015 01:51:22 -0500 Subject: Allow reordering some dialogs with dnd This sadly can't work everywhere since they all have entirely different ways of saving the data.. Related to #1288 --- src/fe-gtk/editlist.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/fe-gtk/editlist.c') diff --git a/src/fe-gtk/editlist.c b/src/fe-gtk/editlist.c index c6526017..4b236dc1 100644 --- a/src/fe-gtk/editlist.c +++ b/src/fe-gtk/editlist.c @@ -283,6 +283,7 @@ editlist_treeview_new (GtkWidget *box, char *title1, char *title2) view = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store)); gtk_tree_view_set_fixed_height_mode (GTK_TREE_VIEW (view), TRUE); gtk_tree_view_set_enable_search (GTK_TREE_VIEW (view), FALSE); + gtk_tree_view_set_reorderable (GTK_TREE_VIEW (view), TRUE); g_signal_connect (G_OBJECT (view), "key_press_event", G_CALLBACK (editlist_keypress), NULL); -- cgit 1.4.1