Changeset 1041 for trunk/dll/notebook.c


Ignore:
Timestamp:
Jul 7, 2008, 1:30:30 AM (17 years ago)
Author:
Gregg Young
Message:

Adds optional support for delete being move to X/Eworkplace trashcan (ticket 43)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/notebook.c

    r1039 r1041  
    3030  22 Feb 08 JBS Ticket 230: Fix/improve various code related to state or presparam values in the INI file.
    3131  29 Feb 08 GKY Changes to enable user settable command line length
    32   29 Feb 08 GKY Use xfree where appropriate
    3332  08 Mar 08 JBS Ticket 230: Replace prefixless INI keys for default directory containers with
    34                 keys using a "DirCnr." prefix
     33  keys using a "DirCnr." prefix
     34  06 Jul 08 GKY Update delete/undelete to include move to and open XWP trashcan
    3535
    3636***********************************************************************/
     
    11151115    WinCheckButton(hwnd, CFGG_CONFIRMTARGET, fConfirmTarget);
    11161116    WinSetDlgItemText(hwnd, CFGG_TARGETDIR, targetdir);
     1117    WinCheckButton(hwnd, CFGG_TRASHCAN, fTrashCan);
    11171118    WinSendDlgItemMsg(hwnd, CFGG_CMDLNLNGTH, SPBM_SETCURRENTVALUE,
    11181119                      MPFROMLONG(MaxComLineStrg), MPVOID);
     
    12171218    fFM2Deletes = WinQueryButtonCheckstate(hwnd, CFGG_FM2DELETES);
    12181219    PrfWriteProfileData(fmprof, FM3Str, "FM2Deletes",
    1219                         &fFM2Deletes, sizeof(BOOL));
     1220                        &fFM2Deletes, sizeof(BOOL));
     1221    fTrashCan = WinQueryButtonCheckstate(hwnd, CFGG_TRASHCAN);
     1222    PrfWriteProfileData(fmprof, FM3Str, "TrashCan",
     1223                        &fTrashCan, sizeof(BOOL));
    12201224    fConfirmTarget = WinQueryButtonCheckstate(hwnd, CFGG_CONFIRMTARGET);
    12211225    PrfWriteProfileData(fmprof, appname, "ConfirmTarget",
Note: See TracChangeset for help on using the changeset viewer.