KToggleAction in menus
Alex Merry
huntedhacker at tiscali.co.uk
Tue May 1 00:51:58 BST 2007
I just noticed a minor thing with KWrite (trunk). In the Settings menu,
there are three Show options: Show Toolbar, Show Statusbar and Show
Path. Each has a checkbox next to it.
If you click Show Toolbar, it changes the checkbox value, but not the
text. However, clicking Show Statusbar will enable the checkbox _and_
change the text to Hide Statusbar (same for Show Path). Show Statusbar
is from KStandardAction, while Show Path is defined in KWrite itself.
I'm assuming the checkbox is unconditionally displayed for
KToggleAction, in which case the text shouldn't change when toggled.
Should the alternative ("Hide") text be discarded?
Alex
--
KDE: http://www.kde.org
Ubuntu/Kubuntu: http://www.ubuntu.org http://www.kubuntu.org
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20070501/4ca034d6/attachment.sig>
More information about the kde-core-devel
mailing list