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" |
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; |
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); |