[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-core-devel
Subject: Re: kdelibs 3/kdebase 4 co-installable ?
From: David Faure <faure () kde ! org>
Date: 2007-10-16 20:38:47
Message-ID: 200710162238.47351.faure () kde ! org
[Download RAW message or body]
On Tuesday 16 October 2007, Ingo Klöcker wrote:
> On Tuesday 16 October 2007, Sune Vuorela wrote:
> > On 2007-10-15, David Faure <faure@kde.org> wrote:
> > > Ah there's the better solution: renaming the default theme to
> > > "kde4". Then it won't conflict, and it can coexist with existing
> > > themes from kde3 and kde-look. We just need to find the code which
> > > hardcodes "Default".
> > > I like this solution :)
> >
> > I think it sounds reasonable. Maybe except for the "find the code"
> > part. "Default" isn't actually easy to grep on, but probably the use
> > of *urgh* emoticons is limited to kopete, konversation and maybe
> > kmail.
>
> FWIW:
>
> KMail, KNode (?), and Mailody (?) use the following code for locating
> the emoticons (cf. kdepimlibs/kpimutils/linklocator.cpp):
> const QString iconPath =
> KStandardDirs::locate( "emoticons",
> EmotIcons::theme() +
> QString::fromLatin1( "/" ) +
> imageName + QString::fromLatin1
> ( ".png" ) );
>
> The default theme is defined as being "Default" in
> kdepimlibs/kpimutils/pimemoticons.kcfg.
Thanks, I already found and ported that code today.
It know says "if Default, then load kde4", which is the name of the default emoticons theme.
I also ported kopete.
--
David Faure, faure@kde.org, sponsored by Trolltech to work on KDE,
Konqueror (http://www.konqueror.org), and KOffice (http://www.koffice.org).
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic