r18443 - gnucash/trunk/src/gnome-utils - Fix Bug 591573 - "File|Save As" with xml option and no file name crashes

Derek Atkins warlord at MIT.EDU
Fri Dec 4 11:06:16 EST 2009

Phil Longstaff <plongstaff at rogers.com> 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 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
       warlord at MIT.EDU                        PGP key available

More information about the gnucash-devel mailing list