Just for testing :)
http://people.vnoss.org/~vnpenguin/fedora7/misc/geany-svn.r1678-fc7.i686.rpm
In Windows, when closing an unsaved file, the dialog presented is not clear. The message is that the file is not saved, and the buttons just say "yes", "no" and "cancel". To make it clear to me, I make the following change to dialogs.c in dialogs_show_unsaved_file(gint idx)
from: msg = g_strdup_printf(_("The file '%s' is not saved."), (short_fn != NULL) ? short_fn : GEANY_STRING_UNTITLED);
to: msg = g_strdup_printf(_("The file '%s' is not saved. Save it?"), (short_fn != NULL) ? short_fn : GEANY_STRING_UNTITLED);
at about line 415. I'd like to suggest this as a change to the source.
Thanks,
chuck
Vnpenguin wrote:
Just for testing :)
http://people.vnoss.org/~vnpenguin/fedora7/misc/geany-svn.r1678-fc7.i686.rpm
On Sat, 07 Jul 2007 14:36:21 -0700, chuck ctl@arrowtwins.com wrote:
In Windows, when closing an unsaved file, the dialog presented is not clear. The message is that the file is not saved, and the buttons just say "yes", "no" and "cancel". To make it clear to me, I make
Oops. Fixed in SVN r1679. Many thanks for reporting, I guess I had never noticed it.
I fixed it in a different way to your suggestion so we reuse the "Do you want to save it before closing?" string we already use for non-Windows builds and just append it to the already displayed string.
Regards, Enrico