75 |
|
|
76 |
switch (msg) { |
switch (msg) { |
77 |
case WM_ACTIVATE: |
case WM_ACTIVATE: |
78 |
safe_edit_control_init (dlg, item_ctrl_id (c->gpg_cmd)); |
/* Some people complained that it is no longer possible to |
79 |
|
paste in the passphrase in this dialog. When this option |
80 |
|
is enabled, the ordinary passphrase control will be used. */ |
81 |
|
if (!reg_prefs.no_safe_pwd_ctrl) |
82 |
|
safe_edit_control_init (dlg, item_ctrl_id (c->gpg_cmd)); |
83 |
break; |
break; |
84 |
|
|
85 |
case WM_DESTROY: |
case WM_DESTROY: |
86 |
safe_edit_control_free (dlg, item_ctrl_id (c->gpg_cmd)); |
if (!reg_prefs.no_safe_pwd_ctrl) |
87 |
|
safe_edit_control_free (dlg, item_ctrl_id (c->gpg_cmd)); |
88 |
break; |
break; |
89 |
|
|
90 |
case WM_INITDIALOG: |
case WM_INITDIALOG: |