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.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14027 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Chris Shoemaker
2006-05-12 01:47:12 +00:00
parent e4092bb349
commit 4ccc09c1c7
+1 -1
View File
@@ -1587,7 +1587,7 @@ gnc_main_window_tab_entry_focus_out_event (GtkWidget *entry,
GncPluginPage *page)
{
ENTER("");
gnc_main_window_tab_entry_activate(entry, page);
gtk_cell_editable_editing_done(GTK_CELL_EDITABLE(entry));
LEAVE("");
return FALSE;
}