[Gnucash-changes] r14162 - gnucash/trunk - Bug#342182: change gtk-workaround check to be more specific in face of evidence.

Joshua Sled jsled at cvs.gnucash.org
Tue May 23 21:44:57 EDT 2006


Author: jsled
Date: 2006-05-23 21:44:55 -0400 (Tue, 23 May 2006)
New Revision: 14162
Trac: http://svn.gnucash.org/trac/changeset/14162

Modified:
   gnucash/trunk/ChangeLog
   gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
Log:
Bug#342182: change gtk-workaround check to be more specific in face of evidence.


Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog	2006-05-24 01:40:39 UTC (rev 14161)
+++ gnucash/trunk/ChangeLog	2006-05-24 01:44:55 UTC (rev 14162)
@@ -1,3 +1,10 @@
+2006-05-23  Joshua Sled  <jsled at asynchronous.org>
+
+	* src/register/register-gnome/gnucash-sheet.c
+	(GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL): Change test to be
+	open-ended on the top, as we expect future GTKs will not allow
+	this either, as experience has shown.  Should fix Bug#342182.
+
 2006-05-22  Derek Atkins  <derek at ihtfp.com>
 
 	* src/import-export/qif-import/*:

Modified: gnucash/trunk/src/register/register-gnome/gnucash-sheet.c
===================================================================
--- gnucash/trunk/src/register/register-gnome/gnucash-sheet.c	2006-05-24 01:40:39 UTC (rev 14161)
+++ gnucash/trunk/src/register/register-gnome/gnucash-sheet.c	2006-05-24 01:44:55 UTC (rev 14162)
@@ -48,7 +48,8 @@
 /* FIXME: at least broken on gtk 2.4.14 */
 /* jsled: and 2.6.8 */
 /* jsled: and 2.8.8 */
-#define GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL (GTK_MINOR_VERSION > 8)
+/* jsled: and 2.9.{0,1}, as per http://bugzilla.gnome.org/show_bug.cgi?id=342182 */
+#define GTK_ALLOWED_SELECTION_WITHIN_INSERT_SIGNAL (GTK_MINOR_VERSION < 4)
 
 static guint gnucash_register_initial_rows = 15;
 



More information about the gnucash-changes mailing list