/[winpt]/trunk/Src/wptProxySettingsDlg.cpp
ViewVC logotype

Diff of /trunk/Src/wptProxySettingsDlg.cpp

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 77 by werner, Mon Oct 31 14:04:59 2005 UTC revision 78 by twoaday, Tue Nov 15 08:54:44 2005 UTC
# Line 17  Line 17 
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
# Line 111  BOOL CALLBACK Line 110  BOOL CALLBACK
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:
# Line 131  keyserver_proxy_dlg_proc (HWND dlg, UINT Line 130  keyserver_proxy_dlg_proc (HWND dlg, UINT
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                    

Legend:
Removed from v.77  
changed lines
  Added in v.78

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26