From 4073ac25ea4f0b38bef0ad09664e4e66e6fe7f00 Mon Sep 17 00:00:00 2001 From: Alan Fitton Date: Mon, 7 Mar 2011 20:39:04 +0000 Subject: support proxy configuration using libproxy (optional). might add a getenv() fallback sometime. --- src/trg-remote-prefs-dialog.c | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'src/trg-remote-prefs-dialog.c') diff --git a/src/trg-remote-prefs-dialog.c b/src/trg-remote-prefs-dialog.c index 1536293..e1717c2 100644 --- a/src/trg-remote-prefs-dialog.c +++ b/src/trg-remote-prefs-dialog.c @@ -302,7 +302,8 @@ static void on_port_tested(JsonObject * response, int status, TrgRemotePrefsDialogPrivate *priv = TRG_REMOTE_PREFS_DIALOG_GET_PRIVATE(data); - gtk_button_set_label(GTK_BUTTON(priv->port_test_button), _("Retest")); + gtk_button_set_label(GTK_BUTTON(priv->port_test_button), + _("Retest")); gtk_widget_set_sensitive(priv->port_test_button, TRUE); if (status == CURLE_OK) { @@ -311,10 +312,12 @@ static void on_port_tested(JsonObject * response, int status, "port-is-open"); if (isOpen) gtk_label_set_markup(GTK_LABEL(priv->port_test_label), - _("Port is open")); + _ + ("Port is open")); else gtk_label_set_markup(GTK_LABEL(priv->port_test_label), - _("Port is closed")); + _ + ("Port is closed")); } else { trg_error_dialog(GTK_WINDOW(data), status, response); } @@ -544,7 +547,8 @@ static GtkWidget *trg_rprefs_generalPage(TrgRemotePrefsDialog * win, w = priv->trash_original_torrent_files_check = hig_workarea_add_wide_checkbutton(t, &row, - _("Trash original torrent files"), + _ + ("Trash original torrent files"), session_get_trash_original_torrent_files (s)); widget_set_json_key(w, SGET_TRASH_ORIGINAL_TORRENT_FILES); -- cgit v1.2.3