From 34c56c7db7c57f5db0184489d01866902e992300 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 21 Oct 2011 23:12:21 +0000 Subject: make the execute command tree view in preferences a generic widget, the "persistent tree view" --- src/trg-torrent-move-dialog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/trg-torrent-move-dialog.c') 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 { -- cgit v1.2.3