Changeset 997 for trunk/dll/init.c


Ignore:
Timestamp:
Mar 8, 2008, 9:27:18 PM (17 years ago)
Author:
John Small
Message:

Ticket 230: Make all INI keys for default directory container settings use the
"DirCnr." prefix.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dll/init.c

    r989 r997  
    13441344  PrfQueryProfileData(fmprof, FM3Str, "FM2Deletes", &fFM2Deletes, &size);
    13451345
    1346   size = sizeof(BOOL);
    1347   PrfQueryProfileData(fmprof, appname, "DetailsLWDate", &detailslwdate, &size);
    1348   size = sizeof(BOOL);
    1349   PrfQueryProfileData(fmprof, appname, "DetailsLWTime", &detailslwtime, &size);
    1350   size = sizeof(BOOL);
    1351   PrfQueryProfileData(fmprof, appname, "DetailsLADate", &detailsladate, &size);
    1352   size = sizeof(BOOL);
    1353   PrfQueryProfileData(fmprof, appname, "DetailsLATime", &detailslatime, &size);
    1354   size = sizeof(BOOL);
    1355   PrfQueryProfileData(fmprof, appname, "DetailsCRDate", &detailscrdate, &size);
    1356   size = sizeof(BOOL);
    1357   PrfQueryProfileData(fmprof, appname, "DetailsCRTime", &detailscrtime, &size);
    1358   size = sizeof(BOOL);
    1359   PrfQueryProfileData(fmprof, appname, "DetailsLongname", &detailslongname, &size);
    1360   size = sizeof(BOOL);
    1361   PrfQueryProfileData(fmprof, appname, "DetailsEA", &detailsea, &size);
    1362   size = sizeof(BOOL);
    1363   PrfQueryProfileData(fmprof, appname, "DetailsSize", &detailssize, &size);
    1364   size = sizeof(BOOL);
    1365   PrfQueryProfileData(fmprof, appname, "DetailsSubject", &detailssubject, &size);
    1366   size = sizeof(BOOL);
    1367   PrfQueryProfileData(fmprof, appname, "DetailsAttr", &detailsattr, &size);
    1368   size = sizeof(BOOL);
    1369   PrfQueryProfileData(fmprof, appname, "DetailsIcon", &detailsicon, &size);
    1370   size = sizeof(BOOL);
    1371   PrfQueryProfileData(fmprof, appname, "SubjectInLeftPane", &fSubjectInLeftPane,
    1372                       &size);
    1373   size = sizeof(BOOL);
    1374   PrfQueryProfileData(fmprof, appname, "SubjectLengthMax", &fSubjectLengthMax,
    1375                       &size);
    1376   if (fSubjectLengthMax)
    1377     SubjectDisplayWidth = 0;
    1378   else {
    1379     PrfQueryProfileData(fmprof, appname, "SubjectDisplayWidth",
    1380                         &SubjectDisplayWidth, &size);
    1381     if (SubjectDisplayWidth < 50)
    1382       SubjectDisplayWidth = 0;
    1383     else if (SubjectDisplayWidth > 1000)
    1384       SubjectDisplayWidth = 1000;
    1385   }
     1346  LoadDetailsSwitches("DirCnr", NULL);
     1347//   size = sizeof(BOOL);
     1348//   PrfQueryProfileData(fmprof, appname, "DetailsLWDate", &detailslwdate, &size);
     1349//   size = sizeof(BOOL);
     1350//   PrfQueryProfileData(fmprof, appname, "DetailsLWTime", &detailslwtime, &size);
     1351//   size = sizeof(BOOL);
     1352//   PrfQueryProfileData(fmprof, appname, "DetailsLADate", &detailsladate, &size);
     1353//   size = sizeof(BOOL);
     1354//   PrfQueryProfileData(fmprof, appname, "DetailsLATime", &detailslatime, &size);
     1355//   size = sizeof(BOOL);
     1356//   PrfQueryProfileData(fmprof, appname, "DetailsCRDate", &detailscrdate, &size);
     1357//   size = sizeof(BOOL);
     1358//   PrfQueryProfileData(fmprof, appname, "DetailsCRTime", &detailscrtime, &size);
     1359//   size = sizeof(BOOL);
     1360//   PrfQueryProfileData(fmprof, appname, "DetailsLongname", &detailslongname, &size);
     1361//   size = sizeof(BOOL);
     1362//   PrfQueryProfileData(fmprof, appname, "DetailsEA", &detailsea, &size);
     1363//   size = sizeof(BOOL);
     1364//   PrfQueryProfileData(fmprof, appname, "DetailsSize", &detailssize, &size);
     1365//   size = sizeof(BOOL);
     1366//   PrfQueryProfileData(fmprof, appname, "DetailsSubject", &detailssubject, &size);
     1367//   size = sizeof(BOOL);
     1368//   PrfQueryProfileData(fmprof, appname, "DetailsAttr", &detailsattr, &size);
     1369//   size = sizeof(BOOL);
     1370//   PrfQueryProfileData(fmprof, appname, "DetailsIcon", &detailsicon, &size);
     1371//   size = sizeof(BOOL);
     1372//   PrfQueryProfileData(fmprof, appname, "SubjectInLeftPane", &fSubjectInLeftPane,
     1373//                    &size);
     1374//   size = sizeof(BOOL);
     1375//   PrfQueryProfileData(fmprof, appname, "SubjectLengthMax", &fSubjectLengthMax,
     1376//                    &size);
     1377//   if (fSubjectLengthMax)
     1378//     SubjectDisplayWidth = 0;
     1379//   else {
     1380//     PrfQueryProfileData(fmprof, appname, "SubjectDisplayWidth",
     1381//                      &SubjectDisplayWidth, &size);
     1382//     if (SubjectDisplayWidth < 50)
     1383//       SubjectDisplayWidth = 0;
     1384//     else if (SubjectDisplayWidth > 1000)
     1385//       SubjectDisplayWidth = 1000;
     1386//   }
    13861387
    13871388  /* load pointers and icons we use */
Note: See TracChangeset for help on using the changeset viewer.