summaryrefslogtreecommitdiff
path: root/src/trg-torrent-move-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-21 23:12:21 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-10-21 23:12:21 +0000
commit34c56c7db7c57f5db0184489d01866902e992300 (patch)
tree8707a14ac8f786ff684279be77e66946f235b751 /src/trg-torrent-move-dialog.c
parent3b8fd9e7274477cfad98d66e41a43417ce8d21bf (diff)
make the execute command tree view in preferences a generic widget, the "persistent tree view"
Diffstat (limited to 'src/trg-torrent-move-dialog.c')
-rw-r--r--src/trg-torrent-move-dialog.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/trg-torrent-move-dialog.c b/src/trg-torrent-move-dialog.c
index c742e98..8ea6802 100644
--- a/src/trg-torrent-move-dialog.c
+++ b/src/trg-torrent-move-dialog.c
@@ -60,14 +60,14 @@ trg_torrent_move_response_cb(GtkDialog * dlg, gint res_id, gpointer data)
if (res_id == GTK_RESPONSE_ACCEPT) {
gchar *location =
- gtk_combo_box_get_active_text(GTK_COMBO_BOX
+ trg_destination_combo_get_dir(TRG_DESTINATION_COMBO
(priv->location_combo));
JsonNode *request = torrent_set_location(priv->ids, location,
gtk_toggle_button_get_active
(GTK_TOGGLE_BUTTON
(priv->move_check)));
- request_set_tag_from_ids(request, priv->ids);
g_free(location);
+ request_set_tag_from_ids(request, priv->ids);
dispatch_async(priv->client, request,
on_generic_interactive_action, data);
} else {