Phil Longstaff <[email protected]> writes:

> Derek,
>
> that's basically what I do (except for popping up a dialog).  What I would
> prefer to do is have Save As be disabled unless either 1) a file is selected
> (I could catch that signal), or 2) a file name is typed into the file name
> text box (I don't know how to catch that signal, and I do assume that a text
> box can emit a signal when something is typed into it).  I think it's better
> UI practice to have invalid operations be disabled.

Ah, I understand what you mean.  Yes, it would be better to not have the
"Ok" button be active at all until the input is valid.  I'm sure there's
a way to get a signal from text entered into the embedded GtkEntry.
There's GOT to be a way to do that.

> Phil

-derek
-- 
       Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
       Member, MIT Student Information Processing Board  (SIPB)
       URL: http://web.mit.edu/warlord/    PP-ASEL-IA     N1NWH
       [email protected]                        PGP key available
_______________________________________________
gnucash-devel mailing list
[email protected]
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to