summaryrefslogtreecommitdiff
Unidiff
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--ChangeLog3
-rw-r--r--core/launcher/documentlist.cpp4
2 files changed, 5 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 9b31725..2b7bc35 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,35 +1,36 @@
1 2005-??-??Opie 1.2.0 1 2005-??-??Opie 1.2.0
2 2
3 New Features 3 New Features
4 ------------ 4 ------------
5 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl) 5 * Number of icon columns in Launcher is customizable through Launcher.conf (hrw,zecke,mickeyl)
6 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl) 6 * Number of icon columns in Launcher is customizable through LauncherSettings (mickeyl)
7 7
8 Fixed Bugs 8 Fixed Bugs
9 ---------- 9 ----------
10 * #1501 - Fixed bug in todo sql backend (eilers) 10 * #1501 - Fixed bug in todo sql backend (eilers)
11 * n.a - Removed hard coded font sizes in a couple of inputmethods (mickeyl) 11 * n.a. - Removed hard coded font sizes in a couple of inputmethods (mickeyl)
12 * n.a. - Removed MediumDlg appearing prior to FirstUsage wizard (i.e. calibration) (mickeyl)
12 13
13 Internal 14 Internal
14 -------- 15 --------
15 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl) 16 * Added the Qtopia 1.7 SDK macros for quick-apps to easa compilation of 3rd party apps against our headers (mickeyl)
16 17
17 2004-11-26Opie 1.1.8 18 2004-11-26Opie 1.1.8
18 19
19 New Features 20 New Features
20 ------------ 21 ------------
21 * PackageManager supports installation of local ipkg files (drw) 22 * PackageManager supports installation of local ipkg files (drw)
22 * PackageManager supports linking of applications to root (drw) 23 * PackageManager supports linking of applications to root (drw)
23 * PackageManager supports src/gz feeds (drw,wimpie) 24 * PackageManager supports src/gz feeds (drw,wimpie)
24 * Added a syslog information tab to sysinfo (mickeyl) 25 * Added a syslog information tab to sysinfo (mickeyl)
25 * Added new, more consistent, PIM icons + a GIMP teplate (ar) 26 * Added new, more consistent, PIM icons + a GIMP teplate (ar)
26 27
27 Fixed Bugs 28 Fixed Bugs
28 ---------- 29 ----------
29 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw) 30 * #1017 - Tetrix doesn't display correctly for high resolution screens (drw)
30 * #1269 - VCards were imported into personal area if it was activated (eilers) 31 * #1269 - VCards were imported into personal area if it was activated (eilers)
31 * #1464 - Packagemanager dont set active filter after install a package (drw) 32 * #1464 - Packagemanager dont set active filter after install a package (drw)
32 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers) 33 * #1479 - Improved VCard-Parser to import VCards created by Evolution 2 and Apple Addressbook (eilers)
33 * #1493 - Fixed one column layout bug of the launcher (hrw) 34 * #1493 - Fixed one column layout bug of the launcher (hrw)
34 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw) 35 * n.a. - PackageManager - (Minor UI tweak) in filter dialog, when option is enabled, set focus to widget that corresponds to that option (drw)
35 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw) 36 * n.a. - PackageManager - (Minor UI tweak) fix double entry in source feed configuration when adding a new feed (drw)
diff --git a/core/launcher/documentlist.cpp b/core/launcher/documentlist.cpp
index 9781a32..d2b9afa 100644
--- a/core/launcher/documentlist.cpp
+++ b/core/launcher/documentlist.cpp
@@ -525,51 +525,53 @@ void DocumentList::sendAllDocLinks()
525 525
526 526
527DocumentListPrivate::DocumentListPrivate( ServerInterface *gui ) 527DocumentListPrivate::DocumentListPrivate( ServerInterface *gui )
528{ 528{
529 storage = new StorageInfo( this ); 529 storage = new StorageInfo( this );
530 serverGui = gui; 530 serverGui = gui;
531 if ( serverGui ) { 531 if ( serverGui ) {
532 sendAppLnks = serverGui->requiresApplications(); 532 sendAppLnks = serverGui->requiresApplications();
533 sendDocLnks = serverGui->requiresDocuments(); 533 sendDocLnks = serverGui->requiresDocuments();
534 } else { 534 } else {
535 sendAppLnks = false; 535 sendAppLnks = false;
536 sendDocLnks = false; 536 sendDocLnks = false;
537 } 537 }
538 for ( int i = 0; i < MAX_SEARCH_DEPTH; i++ ) { 538 for ( int i = 0; i < MAX_SEARCH_DEPTH; i++ ) {
539 listDirs[i] = 0; 539 listDirs[i] = 0;
540 lists[i] = 0; 540 lists[i] = 0;
541 listPositions[i] = 0; 541 listPositions[i] = 0;
542 } 542 }
543 initialize(); 543 initialize();
544 tid = 0; 544 tid = 0;
545} 545}
546 546
547void DocumentListPrivate::appendDocpath(FileSystem*fs) 547void DocumentListPrivate::appendDocpath(FileSystem*fs)
548{ 548{
549 Config c( "qpe" );
550 c.setGroup( "Startup" );
549 QDir defPath(fs->path()+"/Documents"); 551 QDir defPath(fs->path()+"/Documents");
550 QFileInfo f(fs->path()+"/.opiestorage.cf"); 552 QFileInfo f(fs->path()+"/.opiestorage.cf");
551 if (!f.exists()) { 553 if ( c.readNumEntry( "FirstUse", 42 ) == 0 && !f.exists()) {
552 Mediadlg dlg(fs); 554 Mediadlg dlg(fs);
553 if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) { 555 if (QDialog::Accepted != QPEApplication::execDialog( &dlg )) {
554 return; 556 return;
555 } 557 }
556 } 558 }
557 Config conf(f.filePath(), Config::File ); 559 Config conf(f.filePath(), Config::File );
558 conf.setGroup("main"); 560 conf.setGroup("main");
559 if (!conf.readBoolEntry("check",false)) { 561 if (!conf.readBoolEntry("check",false)) {
560 return; 562 return;
561 } 563 }
562 conf.setGroup("subdirs"); 564 conf.setGroup("subdirs");
563 bool read_all = conf.readBoolEntry("wholemedia",true); 565 bool read_all = conf.readBoolEntry("wholemedia",true);
564 if (read_all) { 566 if (read_all) {
565 docPaths+=fs->path(); 567 docPaths+=fs->path();
566 return; 568 return;
567 } 569 }
568 QStringList subDirs = conf.readListEntry("subdirs",':'); 570 QStringList subDirs = conf.readListEntry("subdirs",':');
569 if (subDirs.isEmpty()) { 571 if (subDirs.isEmpty()) {
570 if (defPath.exists()) { 572 if (defPath.exists()) {
571 docPaths+=defPath.path(); 573 docPaths+=defPath.path();
572 } 574 }
573 return; 575 return;
574 } 576 }
575 for (unsigned c = 0; c < subDirs.count();++c) { 577 for (unsigned c = 0; c < subDirs.count();++c) {