summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-13 15:29:10 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2012-01-13 15:29:10 +0000
commit5d019aa0e7ee5178d697162403819b8cce2f91f8 (patch)
tree75b77d986c7ca280807f6b9649c390794f563875 /src/trg-torrent-props-dialog.c
parent7aef8c5669946d7a13ec56e1b3a3c72584ab3284 (diff)
a torrent priority right click menu. change the refresh on interactive action behavior to make sure priority/other changes are refreshed immediately.
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c7
1 files changed, 4 insertions, 3 deletions
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);