From 5d019aa0e7ee5178d697162403819b8cce2f91f8 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Fri, 13 Jan 2012 15:29:10 +0000 Subject: a torrent priority right click menu. change the refresh on interactive action behavior to make sure priority/other changes are refreshed immediately. --- src/trg-torrent-props-dialog.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/trg-torrent-props-dialog.c') diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c index 05ebaa8..a0ae22a 100644 --- a/src/trg-torrent-props-dialog.c +++ b/src/trg-torrent-props-dialog.c @@ -132,15 +132,16 @@ trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id, } request = torrent_set(priv->targetIds); - request_set_tag_from_ids(request, priv->targetIds); args = node_get_arguments(request); json_object_set_int_member(args, FIELD_SEED_RATIO_MODE, gtk_combo_box_get_active(GTK_COMBO_BOX - (priv->seedRatioMode))); + (priv-> + seedRatioMode))); json_object_set_int_member(args, FIELD_BANDWIDTH_PRIORITY, gtk_combo_box_get_active(GTK_COMBO_BOX - (priv->bandwidthPriorityCombo)) + (priv-> + bandwidthPriorityCombo)) - 1); trg_json_widgets_save(priv->widgets, args); -- cgit v1.2.3