[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fixed it, here's a patch =) (Re: bug #93006 kicker's Child Panel forgets its settings)



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 11 April 2001  9:37 pm, Jens Benecke wrote:
> I filed a KDE bug about this long ago. (well, march 28 ;)
>
> http://bugs.kde.org/db/23/23234.html

This bug was annoying me as I have a child panel at the top of the screen 
with the taskbar in it in KDE 1 style (I don't like the way "external 
taskbar" adjusts the widths of the task buttons), and a news ticker in the 
space at the bottom...

This (small) patch to kicker/extensions/childpanel/childpanelextension.cpp 
seems to fix it. It appears that in the ChildPanelExtension constructor, 
someone forgot to call _containerArea->init(), thus not *loading* the 
settings (if you look at .kde/share/config/childpanelextension_..._rc, you 
can see it *saves* them fine). I noticed this discrepancy between that and 
the core Panel constructor and thought something was amiss. =)

- -- 
Chris Boyle - Winchester College - http://archives.wincoll.ac.uk/
For my PGP key visit: http://archives.wincoll.ac.uk/finger.php?q=chrisb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQE61v/6D834tscfhTwRAtPmAJ48Us+W4ETs7zci00pDtw+ku+yCpwCeLb2D
4bk72NeEjl6doPpqCmBUmQE=
=PUAH
-----END PGP SIGNATURE-----
--- kicker/extensions/childpanel/childpanelextension.cpp.old	Fri Apr 13 13:55:27 2001
+++ kicker/extensions/childpanel/childpanelextension.cpp	Fri Apr 13 13:45:08 2001
@@ -51,6 +51,7 @@
 {
     // container area
     _containerArea = new ContainerArea( orientation(), false, config(), this );
+    _containerArea->init();
     _containerArea->setFrameStyle( QFrame::NoFrame );
     _containerArea->viewport()->installEventFilter( this );
     _containerArea->show();

Reply to: