Re: [patch] "Save" menu/toolbar action is greyed out when file unchanged

David Malcolm <[email protected]>
Newsgroups gmane.editors.conglomerate.devel
Message-ID <[email protected]>
On Sun, 2004-10-17 at 17:59 -0400, Douglas Burke wrote:
> The attached patch makes the "Save" menu item and toolbar icon insensitive
> if the file has not been modified. It's not 100% foolproof (add a space
> and then delete it [ie no use of the undo]) and it doesn't recognise the
> file is unchanged.

This is heading in the right direction, however I'd prefer it if we
didn't start having multiple definitions of the SET_ACTION_SENSITIVE
macro in different c files; can you move this to a header file (cong-ui-
hooks.h ?) and redo the patch?  Thanks.

> 
> Doug
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.