[Kde-accessibility] Patches for KMouth

Olaf Jan Schmidt ojschmidt at kde.org
Wed Dec 10 13:48:32 CET 2003


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

Hi!

Here are two patches for KMouth.

The first is a trivial compile fix for the 3.1 branch.

The second fixes the phraselist edit actions, which are disfunctional in 
current CVS. The problem is that there are circular dependencies in the 
order of things needing to be initialised:

- - createGUI() requires the actions to be initialised first
- - The phraselist actions require phraseList to be initialised first (this 
was not the case, hence they did not work)
- - phraseList initialisation requires readOptions() first
- - readOptions() requires initialising the "Options" menu actions first
- - readOptions() also initialises the phraselist menu, which requires 
calling createGUI() first

My patch solves this by initialising the actions from the "Options" menu 
earlier and calling createGUI() twice. A cleaner solution might be to 
split readOptions(). Gunnar, is that possible?

Olaf.

- -- 
Olaf Jan Schmidt, KDE Accessibility Project
KDEAP co-maintainer, maintainer of http://accessibility.kde.org

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAj/XFiQACgkQoLYC8AehV8eovgCfRU7UWnwTPjM2AmU4tW5Rf4cT
9j4AnjlirN/nQubppQfx0AWArKcqw7US
=p+uu
-----END PGP SIGNATURE-----



More information about the kde-accessibility mailing list