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

Diff of /trunk/Src/wptKeysignDlg.cpp

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

revision 36 by werner, Thu Oct 27 15:25:13 2005 UTC revision 48 by werner, Mon Oct 31 21:14:11 2005 UTC
# Line 23  Line 23 
23  #endif  #endif
24    
25  #include <windows.h>  #include <windows.h>
 #include <windows.h>  
26  #include <commctrl.h>  #include <commctrl.h>
27    
28  #include "../resource.h"  #include "resource.h"
29  #include "wptGPG.h"  #include "wptGPG.h"
30  #include "wptNLS.h"  #include "wptNLS.h"
31  #include "wptW32API.h"  #include "wptW32API.h"
# Line 38  Line 37 
37  #include "wptDlgs.h"  #include "wptDlgs.h"
38  #include "wptUTF8.h"  #include "wptUTF8.h"
39  #include "wptRegistry.h"  #include "wptRegistry.h"
40  #include "wptKeyList.h"  #include "wptKeylist.h"
41  #include "wptKeyEdit.h"  #include "wptKeyEdit.h"
42    
43  static int sig_class_choice = 0;  static int sig_class_choice = 0;
# Line 269  keysign_dlg_proc (HWND dlg, UINT msg, WP Line 268  keysign_dlg_proc (HWND dlg, UINT msg, WP
268              ShowWindow (GetDlgItem (dlg, IDC_KEYSIGN_NREV), SW_HIDE);              ShowWindow (GetDlgItem (dlg, IDC_KEYSIGN_NREV), SW_HIDE);
269          if (key->ext && key->ext->attrib.len > 0)          if (key->ext && key->ext->attrib.len > 0)
270              EnableWindow (GetDlgItem (dlg, IDC_KEYSIGN_SHOWIMG), TRUE);              EnableWindow (GetDlgItem (dlg, IDC_KEYSIGN_SHOWIMG), TRUE);
271            if (!reg_prefs.gpg.ask_cert_level)
272                EnableWindow (GetDlgItem (dlg, IDC_KEYSIGN_ASKLEVEL), FALSE);
273          SetForegroundWindow (dlg);          SetForegroundWindow (dlg);
274          h = GetDlgItem (dlg, IDC_KEYSIGN_PASSPHRASE);          h = GetDlgItem (dlg, IDC_KEYSIGN_PASSPHRASE);
275          SetFocus (h);          SetFocus (h);

Legend:
Removed from v.36  
changed lines
  Added in v.48

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26