[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: Re: Bug#39210: menu items not properly enabled/disabled
From: Anders Lund <anders () alweb ! dk>
Date: 2002-03-11 10:34:02
[Download RAW message or body]
On Monday 11 March 2002 09:19, jfirebaugh@kde.org wrote:
> Package: kwrite
> Version: 4.0 (using KDE 2.9.0 7 (3.0 rc1))
> Severity: normal
> Installed from: compiled sources
> Compiler: gcc version 2.95.4 20011002 (Debian prerelease)
> OS: Linux (ppc) release 2.4.16-powerpc
> OS/Compiler notes:
>
> File:
> Save - only enabled when modified
> Edit:
> Cut, Copy, Deselect - only enabled when a selection is active.
> Select All - disabled when all is selected
Well, I can appreciate this kind of pickyness;)
It should be possible for katepart, connecting selectionChanged() to a slot
setting the state of those actions. However, for kate, this requires a bit of
work, as the editing actions in kate calls
currentView->document()-><action>(), and setting their state on menu launch
would require them to be reset at menu hide (as we uses the keyboard..).
This could actually be considered a flaw in the design of kate, as it don't
use the actions of the active part directly.
I don't really know if it is worth working on this right now, as there is
probably more important things to do. Cullmann?
-anders
_______________________________________________
kwrite-devel mailing list
kwrite-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic