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

Diff of /trunk/Src/wptClipEncryptDlg.cpp

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

revision 104 by twoaday, Sat Nov 5 12:00:55 2005 UTC revision 105 by twoaday, Wed Nov 30 10:22:00 2005 UTC
# Line 18  Line 18 
18   * along with WinPT; if not, write to the Free Software Foundation,   * along with WinPT; if not, write to the Free Software Foundation,
19   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA   * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
20   */   */
   
21  #ifdef HAVE_CONFIG_H  #ifdef HAVE_CONFIG_H
22  #include <config.h>  #include <config.h>
23  #endif  #endif
# Line 138  clip_encrypt_dlg_proc (HWND dlg, UINT ms Line 137  clip_encrypt_dlg_proc (HWND dlg, UINT ms
137            
138      switch( msg ) {      switch( msg ) {
139      case WM_INITDIALOG:      case WM_INITDIALOG:
140          SetWindowText( dlg, _("Encryption") );          SetWindowText (dlg, _("Encryption"));
141            SetDlgItemText (dlg, IDC_ENCRYPT_FNDCMD, _("&Find"));
142            SetDlgItemText (dlg, IDCANCEL, _("&Cancel"));
143          kc = keycache_get_ctx( KEYCACHE_PUB );          kc = keycache_get_ctx( KEYCACHE_PUB );
144          if( !kc )          if( !kc )
145              BUG( NULL );              BUG( NULL );
# Line 163  clip_encrypt_dlg_proc (HWND dlg, UINT ms Line 164  clip_encrypt_dlg_proc (HWND dlg, UINT ms
164          notify = (NMHDR *)lparam;          notify = (NMHDR *)lparam;
165          if (notify && notify->code == NM_DBLCLK &&          if (notify && notify->code == NM_DBLCLK &&
166              notify->idFrom == IDC_ENCRYPT_KEYLIST)              notify->idFrom == IDC_ENCRYPT_KEYLIST)
167              PostMessage( dlg, WM_COMMAND, MAKEWPARAM( IDOK, 0 ), 0);              PostMessage( dlg, WM_COMMAND, MAKEWPARAM( IDOK, 0 ), 0 );
168          if (notify && notify->code == LVN_COLUMNCLICK &&          if (notify && notify->code == LVN_COLUMNCLICK &&
169              notify->idFrom == IDC_ENCRYPT_KEYLIST ) {              notify->idFrom == IDC_ENCRYPT_KEYLIST ) {
170              NMLISTVIEW *p = (LPNMLISTVIEW) lparam;              NMLISTVIEW *p = (LPNMLISTVIEW) lparam;

Legend:
Removed from v.104  
changed lines
  Added in v.105

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26