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

Diff of /trunk/Src/wptMainProc.cpp

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

revision 77 by twoaday, Tue Nov 8 07:15:13 2005 UTC revision 78 by twoaday, Tue Nov 15 08:54:44 2005 UTC
# Line 391  winpt_main_proc (HWND hwnd, UINT msg, WP Line 391  winpt_main_proc (HWND hwnd, UINT msg, WP
391          agent_flush_cache ();          agent_flush_cache ();
392          if (!gpg_clip_istext_avail (&has_data) && has_data) {          if (!gpg_clip_istext_avail (&has_data) && has_data) {
393              int chk = get_reg_winpt_flag ("WipeClipboard");              int chk = get_reg_winpt_flag ("WipeClipboard");
394              if (chk == -1)              if (chk == -1 && msg != WM_ENDSESSION)
395                  DialogBoxParam (glob_hinst, (LPCTSTR)IDD_WINPT_CONFDELCLIP,                  DialogBoxParam (glob_hinst, (LPCTSTR)IDD_WINPT_CONFDELCLIP,
396                                  GetDesktopWindow (), confirm_delclipboard_dlg,                                  GetDesktopWindow (), confirm_delclipboard_dlg,
397                                  0);                                  0);
# Line 461  winpt_main_proc (HWND hwnd, UINT msg, WP Line 461  winpt_main_proc (HWND hwnd, UINT msg, WP
461              break;              break;
462                            
463          case WM_LBUTTONDBLCLK:          case WM_LBUTTONDBLCLK:
464              SendMessage( hwnd, WM_COMMAND, ID_WINPT_KEY, 0 );              gpg_read_only = gpg_check_permissions (0) == 0? 0 : 1;
465                SendMessage (hwnd, WM_COMMAND, ID_WINPT_KEY, 0);
466              break;              break;
467          }          }
468          break;          break;

Legend:
Removed from v.77  
changed lines
  Added in v.78

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26