[Gnucash-changes] r14027 - gnucash/trunk/src/gnome-utils - Fix Bug
#341375.
Chris Shoemaker
chris at cvs.gnucash.org
Thu May 11 21:47:13 EDT 2006
Author: chris
Date: 2006-05-11 21:47:12 -0400 (Thu, 11 May 2006)
New Revision: 14027
Trac: http://svn.gnucash.org/trac/changeset/14027
Modified:
gnucash/trunk/src/gnome-utils/gnc-main-window.c
Log:
Fix Bug #341375.
When handling the focus-out event for a GtkCellEditable, it's important
not to keep the editable alive for too long, because the cursor-blink
timeout expects that the editable still has the focus. The easiest way to
do this is to stop the editing immediately by calling
gtk_cell_editable_editing_done() and then handle all the real work from
the "editing-done" signal handler.
Modified: gnucash/trunk/src/gnome-utils/gnc-main-window.c
===================================================================
--- gnucash/trunk/src/gnome-utils/gnc-main-window.c 2006-05-12 00:28:34 UTC (rev 14026)
+++ gnucash/trunk/src/gnome-utils/gnc-main-window.c 2006-05-12 01:47:12 UTC (rev 14027)
@@ -1587,7 +1587,7 @@
GncPluginPage *page)
{
ENTER("");
- gnc_main_window_tab_entry_activate(entry, page);
+ gtk_cell_editable_editing_done(GTK_CELL_EDITABLE(entry));
LEAVE("");
return FALSE;
}
More information about the gnucash-changes
mailing list