[Gnucash-changes] Disable the "OK" and "Apply" buttons before
calling the apply function.
David Hampton
hampton at cvs.gnucash.org
Sun Oct 23 18:56:23 EDT 2005
Log Message:
-----------
Disable the "OK" and "Apply" buttons before calling the apply
function. Makes the UI appear more responsive and prevents a crash if
the user clicks Apply then OK quickly. (#319546) Patch from Arnout
'raboof' Engelen <gnomebugzilla at bzzt.net>.
Tags:
----
gnucash-gnome2-dev
Modified Files:
--------------
gnucash:
ChangeLog
gnucash/src/gnome-utils:
dialog-options.c
Revision Data
-------------
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.349
retrieving revision 1.1487.2.350
diff -LChangeLog -LChangeLog -u -r1.1487.2.349 -r1.1487.2.350
--- ChangeLog
+++ ChangeLog
@@ -1,3 +1,18 @@
+2005-10-23 David Hampton <hampton at employees.org>
+
+ * src/gnome-utils/dialog-options.c: Disable the "OK" and "Apply"
+ buttons before calling the apply function. Makes the UI appear
+ more responsive and prevents a crash if the user clicks Apply then
+ OK quickly. (#319546) Patch from Arnout 'raboof' Engelen
+ <gnomebugzilla at bzzt.net>.
+
+ * src/register/register-gnome/gnucash-sheet.c: Patch from Scott
+ Oonk to re-enable mouse scrolling in the account register.
+
+ * src/gnome-utils/dialog-options.c: Patch from Scott Oonk to fix
+ an invalid cast warning when selecting an account in the accounts
+ tab of the options dialog.
+
2005-10-21 Neil Williams <linux at codehelp.co.uk>
* src/engine/Makefile.am :
Index: dialog-options.c
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/src/gnome-utils/dialog-options.c,v
retrieving revision 1.22.2.26
retrieving revision 1.22.2.27
diff -Lsrc/gnome-utils/dialog-options.c -Lsrc/gnome-utils/dialog-options.c -u -r1.22.2.26 -r1.22.2.27
--- src/gnome-utils/dialog-options.c
+++ src/gnome-utils/dialog-options.c
@@ -1051,9 +1051,9 @@
case GTK_RESPONSE_OK:
case GTK_RESPONSE_APPLY:
+ gnc_options_dialog_changed_internal (window->dialog, FALSE);
if (window->apply_cb)
window->apply_cb (window, window->apply_cb_data);
- gnc_options_dialog_changed_internal (window->dialog, FALSE);
if (response == GTK_RESPONSE_APPLY)
break;
/* fall through */
More information about the gnucash-changes
mailing list