17 |
* along with WinPT; if not, write to the Free Software Foundation, |
* along with WinPT; if not, write to the Free Software Foundation, |
18 |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
* Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA |
19 |
*/ |
*/ |
|
|
|
20 |
#ifdef HAVE_CONFIG_H |
#ifdef HAVE_CONFIG_H |
21 |
#include <config.h> |
#include <config.h> |
22 |
#endif |
#endif |
110 |
keyserver_proxy_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam) |
keyserver_proxy_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam) |
111 |
{ |
{ |
112 |
const char *proxy = NULL, *user=NULL, *pass = NULL; |
const char *proxy = NULL, *user=NULL, *pass = NULL; |
113 |
int port = 0, auth = 0; |
int port = 0, auth = 0; |
114 |
|
|
115 |
switch (msg) { |
switch (msg) { |
116 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |
130 |
auth++; |
auth++; |
131 |
} |
} |
132 |
} |
} |
133 |
enable_proxy_auth (dlg, auth); |
enable_proxy_auth (dlg, auth); |
134 |
center_window (dlg, NULL); |
SetDlgItemText (dlg, IDC_PROXY_HOSTINF, _("Proxy host name or IP address")); |
135 |
SetDlgItemText (dlg, IDC_PROXY_AUTH, _("Server requires &authentication")); |
SetDlgItemText (dlg, IDC_PROXY_AUTH, _("Server requires &authentication")); |
136 |
|
SetDlgItemText (dlg, IDC_PROXY_USERINF, _("User name")); |
137 |
|
SetDlgItemText (dlg, IDC_PROXY_PWDINF, _("Password")); |
138 |
SetWindowText (dlg, _("Proxy Settings")); |
SetWindowText (dlg, _("Proxy Settings")); |
139 |
|
center_window (dlg, NULL); |
140 |
SetForegroundWindow (dlg); |
SetForegroundWindow (dlg); |
141 |
break; |
break; |
142 |
|
|