summaryrefslogtreecommitdiff
path: root/src/trg-torrent-props-dialog.c
diff options
context:
space:
mode:
authorGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-07 20:39:04 +0000
committerGravatar Alan Fitton <ajf@eth0.org.uk>2011-03-07 20:39:04 +0000
commit4073ac25ea4f0b38bef0ad09664e4e66e6fe7f00 (patch)
tree626f8923ef9ad83f2d47b6dd4f6b3994ca563afd /src/trg-torrent-props-dialog.c
parentecbd6bbb7423bc9b6f329f937bf740b7dc87598d (diff)
support proxy configuration using libproxy (optional). might add a getenv() fallback sometime.
Diffstat (limited to 'src/trg-torrent-props-dialog.c')
-rw-r--r--src/trg-torrent-props-dialog.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/trg-torrent-props-dialog.c b/src/trg-torrent-props-dialog.c
index 2b80aef..2851b7c 100644
--- a/src/trg-torrent-props-dialog.c
+++ b/src/trg-torrent-props-dialog.c
@@ -138,10 +138,12 @@ trg_torrent_props_response_cb(GtkDialog * dlg, gint res_id,
(priv->seedRatioLimit), args);
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);
gtk_spin_button_json_int_out(GTK_SPIN_BUTTON
@@ -219,7 +221,8 @@ static GtkWidget *trg_props_limitsPage(TrgTorrentPropsDialog * win,
w = priv->seedRatioMode = gtk_combo_box_new_text();
widget_set_json_key(GTK_WIDGET(w), FIELD_SEED_RATIO_MODE);
gtk_combo_box_append_text(GTK_COMBO_BOX(w), _("Use global settings"));
- gtk_combo_box_append_text(GTK_COMBO_BOX(w), _("Stop seeding at ratio"));
+ gtk_combo_box_append_text(GTK_COMBO_BOX(w),
+ _("Stop seeding at ratio"));
gtk_combo_box_append_text(GTK_COMBO_BOX(w),
_("Seed regardless of ratio"));
gtk_combo_box_set_active(GTK_COMBO_BOX(w),