[Glade-devel] [patch, glade3] insensitive Cut,Copy etc in popup menu



Paolo wrote:

Il dom, 2003-05-11 alle 22:37, Joaquin Cuenca Abela ha scritto:
Paolo, making the menu items insensitive when the action is not 
allowed will give you several love points ;-)

Here it is a ten minutes patch which should do.
For paste it works ok, note however that currently there is 
always a widget selected so copy, cut and delete end up being 
always sensitive. What I mean is that when you add a vbox and 
select one of its slots, even if is empty, copy/cut work: 
they put the whole vbox on the clipboard. I don't know if 
this is a bug or if it is the intended behaviour. If it is 
the intended behaviour can you suggest when the items should 
be unsensitive?

When the selected item is a placeholder.  Copying the container of the
placeholder when the selected item is the placeholder itself should be
considered a bug.

Cheers,






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]