kde-3.2.1 - kde-3.2.2 and kde-3.2.3 clock applet bug
Catimimi
Catimimi at libertysurf.fr
Fri Jun 11 18:34:04 BST 2004
Hi,
In march I found a bug in clock applet.
If you choose a digital clock without the LCD style you are unable
to choose the background color of the clock.
The same bug is in kde-3.2.3
I found the reason of the bug, here is the patch.
Where could I send it in order to get it taken into account in future
releases?
Thanks
Michel
Here is the patch :
diff -ru org/kicker/applets/clock/clock.cpp
mod/kicker/applets/clock/clock.cpp
--- org/kicker/applets/clock/clock.cpp 2004-06-10 18:18:05.962520976 +0200
+++ mod/kicker/applets/clock/clock.cpp 2004-06-10 17:28:45.000000000 +0200
@@ -1018,7 +1018,7 @@
// let's propagate the background brush too
if ((!_clock->widget()->paletteBackgroundPixmap() &&
_clock->widget()->paletteBackgroundColor() ==
paletteBackgroundColor())
- || paletteBackgroundPixmap())
+ || _clock->widget()->paletteBackgroundPixmap())
{
_clock->widget()->setBackgroundOrigin(AncestorOrigin);
const QPixmap* brush = paletteBackgroundPixmap();
PS :
In order to apply it :
download and untar kdebase3 sources
copy the patch in a file and after in kdebase-3.2.3 folder
patch -p1 < "name of the patch"
cd "name of your folder"/kdebase-3.2.3
./configure
cd ./kicker/applets/clock
make
then copy : ./clock_panelapplet.la and ./.libs/clock_panelapplet.so
in folder /opt/kde3/lib/kde3/
the background color will be set automatically.
Michel
___________________________________________________
This message is from the kde mailing list.
Account management: https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.
More information about the kde
mailing list