/[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 129 by twoaday, Fri Dec 30 13:56:10 2005 UTC revision 176 by twoaday, Mon Feb 13 09:38:03 2006 UTC
# Line 61  gpg_clip_sign_encrypt (gpgme_ctx_t ctx, Line 61  gpg_clip_sign_encrypt (gpgme_ctx_t ctx,
61          return gpg_error (GPG_ERR_NO_PUBKEY);          return gpg_error (GPG_ERR_NO_PUBKEY);
62    
63      gpgme_set_armor (ctx, 1);      gpgme_set_armor (ctx, 1);
64        gpgme_set_textmode (ctx, 1);
65            
66      err = gpg_data_new_from_clipboard (&plain, 0);      err = gpg_data_new_from_clipboard (&plain, 0);
67      if (err)      if (err)
# Line 103  clip_signenc_dlg_proc (HWND dlg, UINT ms Line 104  clip_signenc_dlg_proc (HWND dlg, UINT ms
104      passphrase_cb_s pwd;      passphrase_cb_s pwd;
105      char *signer = NULL;      char *signer = NULL;
106      int force_trust = 0;      int force_trust = 0;
     int kmode = reg_prefs.keylist_mode? KEYLIST_ENCRYPT_MIN : KEYLIST_ENCRYPT;  
107      int n;      int n;
108            
109      switch( msg ) {      switch( msg ) {
# Line 114  clip_signenc_dlg_proc (HWND dlg, UINT ms Line 114  clip_signenc_dlg_proc (HWND dlg, UINT ms
114          if (!kc)          if (!kc)
115              BUG (NULL);              BUG (NULL);
116          lv = keylist_load (GetDlgItem (dlg, IDC_SIGNENC_KEYLIST),          lv = keylist_load (GetDlgItem (dlg, IDC_SIGNENC_KEYLIST),
117                             kc, NULL, kmode, KEY_SORT_USERID);                             kc, NULL, KEYLIST_ENCRYPT_MIN, KEY_SORT_USERID);
118          seclist_init (dlg, IDC_SIGNENC_SECLIST, KEYLIST_FLAG_SHORT, &list);          seclist_init (dlg, IDC_SIGNENC_SECLIST, KEYLIST_FLAG_SHORT, &list);
119          center_window (dlg, NULL);          center_window (dlg, NULL);
120          EnableWindow (GetDlgItem (dlg, IDC_SIGNENC_SECLIST), FALSE);          EnableWindow (GetDlgItem (dlg, IDC_SIGNENC_SECLIST), FALSE);

Legend:
Removed from v.129  
changed lines
  Added in v.176

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26