[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kmail-devel
Subject:    Bug#38716: When configuring the toolbars, kmail does not update the toolbar when apply is pressed
From:       richard.newton9 () ntlworld ! com
Date:       2002-02-26 23:08:19
[Download RAW message or body]

Package: kmail
Version: KDE 2.9.2 CVS/CVSup/Snapshot
Severity: normal
Installed from:    Compiled sources
Compiler:          gcc 2.95.4
OS:                Linux
OS/Compiler notes: OS: Debian unstable

KEditToolbar only seems to handle automatically updating the toolbar when called by \
the factory() method, not when using actions.  

Since KMail uses the actions method, when configuring the toolbar in either the main \
window or a compose new mail window, pressing the Apply button has no effect.

The way I solved this problem was to added code into the slotEditToolbars() slot of \
both kmcomposewin.cpp and kmmainwin.cpp to connect the KEditToolbar signal \
newToolbarConfig(), which is called whenever OK or Apply is pressed, to a new slot, \
which calls createGUI to update the toolbar.

I'll provide a patch in the next email, as I cannot see a way to attach one from the \
KDE bug report wizard.

Ric.

(Submitted via bugs.kde.org)

_______________________________________________
KMail Developers mailing list
kmail@mail.kde.org
http://mail.kde.org/mailman/listinfo/kmail


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic