From 658b15eae106cdd3c40b786f20974ee971fb2409 Mon Sep 17 00:00:00 2001 From: Lars Doelle Date: Wed, 6 Jan 1999 05:27:09 +0000 Subject: [PATCH] 'about' [de] fixed. support for KDEDIR not at /opt. support for moved KDEDIR. svn path=/trunk/kdebase/konsole/; revision=14906 --- CONTRIBUTORS | 5 +++++ ChangeLog | 3 +++ other/DarkPicture.schema | 2 +- other/LightPicture.schema | 2 +- other/linux.kdelnk | 1 + other/mc.kdelnk | 1 + other/shell.kdelnk | 1 + src/main.C | 2 +- src/schema.C | 11 ++++++++--- 9 files changed, 22 insertions(+), 6 deletions(-) diff --git a/CONTRIBUTORS b/CONTRIBUTORS index e2185258..ff86739f 100644 --- a/CONTRIBUTORS +++ b/CONTRIBUTORS @@ -12,8 +12,13 @@ CONTRIBUTORS - dnd adjustsments - "-e" included into session management. - minor overall improvements. +- Sven Fischer + - bug fixing + - moved installations - Dale M. Flaven - bug fixing +- Martin Jones + - support for atypical kde apps dir locn. - Lars Knoll - bug fixing - Peter Silva diff --git a/ChangeLog b/ChangeLog index 99ff79ae..6ba14b75 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,6 @@ +05 Jan 1998 +- improved handling of atypical or moved installations (Martin,Sven,Lars) +- a QString::printf issue resolved (Sven,Lars) 20 Dec 1998 David Faure imagepath = path; + + // if this is not an absolute filename, prepend the wallpaper dir + if (path[0] != '/') res->imagepath = kapp->kde_wallpaperdir() + '/'; + res->imagepath += path; res->alignment = attr; } if (!strncmp(line,"color",5)) @@ -101,12 +104,14 @@ ColorSchema* ColorSchema::readSchema(const char* path) ColorSchema* ColorSchema::find(int numb) { - return numb2schema.find(numb); + ColorSchema* res = numb2schema.find(numb); + return res ? res : numb2schema.find(0); } ColorSchema* ColorSchema::find(const char* path) { - return path2schema.find(path); + ColorSchema* res = path2schema.find(path); + return res ? res : numb2schema.find(0); } int ColorSchema::count()