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

Diff of /trunk/Src/wptClipSignEncDlg.cpp

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

revision 2 by twoaday, Mon Jan 31 11:02:21 2005 UTC revision 12 by twoaday, Thu Apr 14 12:56:25 2005 UTC
# Line 1  Line 1 
1  /* wptSignEncDlg.cpp - Sign & encrypt dialog  /* wptSignEncDlg.cpp - Sign & encrypt dialog
2   *      Copyright (C) 2000-2004 Timo Schulz   *      Copyright (C) 2000-2005 Timo Schulz
3   *   *
4   * This file is part of WinPT.   * This file is part of WinPT.
5   *   *
# Line 40  Line 40 
40    
41    
42  BOOL CALLBACK  BOOL CALLBACK
43  clip_signenc_dlg_proc( HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam )  clip_signenc_dlg_proc (HWND dlg, UINT msg, WPARAM wparam, LPARAM lparam)
44  {  {
45      static listview_ctrl_t lv = NULL;      static listview_ctrl_t lv = NULL;
46      static keylist_t list = NULL;      static keylist_t list = NULL;
# Line 56  clip_signenc_dlg_proc( HWND dlg, UINT ms Line 56  clip_signenc_dlg_proc( HWND dlg, UINT ms
56            
57      switch( msg ) {      switch( msg ) {
58      case WM_INITDIALOG:      case WM_INITDIALOG:
59            enable = 0;
60  #ifndef LANG_DE  #ifndef LANG_DE
61          SetWindowText( dlg, _("Sign & Encrypt") );          SetWindowText( dlg, _("Sign & Encrypt") );
62  #endif  #endif
# Line 65  clip_signenc_dlg_proc( HWND dlg, UINT ms Line 66  clip_signenc_dlg_proc( HWND dlg, UINT ms
66          lv = keylist_load( GetDlgItem( dlg, IDC_SIGNENC_KEYLIST ),          lv = keylist_load( GetDlgItem( dlg, IDC_SIGNENC_KEYLIST ),
67                             kc, NULL, kmode, GPGME_ATTR_USERID );                             kc, NULL, kmode, GPGME_ATTR_USERID );
68          seclist_init( dlg, IDC_SIGNENC_SECLIST, KEYLIST_FLAG_SHORT, &list );          seclist_init( dlg, IDC_SIGNENC_SECLIST, KEYLIST_FLAG_SHORT, &list );
69          center_window( dlg );          center_window (dlg);
70          set_active_window( dlg );          set_active_window (dlg);
71          EnableWindow( GetDlgItem( dlg, IDC_SIGNENC_SECLIST ), FALSE );          EnableWindow (GetDlgItem (dlg, IDC_SIGNENC_SECLIST), FALSE);
72          SetDlgItemText (dlg, IDC_SIGNENC_SELKEY, _("Select key for signing"));          SetDlgItemText (dlg, IDC_SIGNENC_SELKEY, _("Select key for signing"));
73          SetDlgItemText (dlg, IDC_SIGNENC_SECLISTINF, _("Signing key:"));          SetDlgItemText (dlg, IDC_SIGNENC_SECLISTINF, _("Signing key:"));
74          SetForegroundWindow( dlg );          SetForegroundWindow (dlg);
75          return TRUE;          return TRUE;
76                    
77      case WM_DESTROY:      case WM_DESTROY:

Legend:
Removed from v.2  
changed lines
  Added in v.12

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26