Icon choosing in kedittoolbar

Andras Mantia amantia at kde.org
Fri Apr 30 07:54:01 BST 2004


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

On Friday 30 April 2004 02:11, David Faure wrote:
> On Friday 30 April 2004 00:53, David Faure wrote:
> > Well you apparently need to fix much more than that, in particular
> > letting the normal xmlgui plugging mechanism do its work (you're
> > creating a real toolbar, so AFAICS it should work, if xmlguifactory
> > can find the action).
>
> Just to prove that it works indeed: proof-of-concept patch attached.
>
> Note the TODO, and note that you'll have to fix slotRemoveToolbar to
> fix the crash on exit :). And you can probably clean up a lot of
> slotConfigureToolbars().
>
> But the point is that it works fine that way, with no manual
> plugging, the toolbars appear and the edittoolbar dialog works as you
> expect.

After reading your other mail and the patch, this looks a way to go. I 
will have to test it deeply, just to be sure that everything works as 
expected (saving, loading, modifying the toolbars and actions, etc.).

And yes, the kedittoolbar patch was again a hack. ;-)

Andras

- -- 
Quanta Plus developer - http://quanta.sourceforge.net
K Desktop Environment - http://www.kde.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQFAkfgNTQdfac6L/08RAg4gAKDkQENE1ccR5QlyViY37OZ7aWFouACfXxaH
HKJldgq7twOaWVXN6OxwPtE=
=hqT8
-----END PGP SIGNATURE-----





More information about the kde-core-devel mailing list