r14593 - gnucash/trunk - Enable inline completion only for gtk>=2.6.
Andreas Köhler
andi5 at cvs.gnucash.org
Sat Aug 5 17:15:24 EDT 2006
Author: andi5
Date: 2006-08-05 17:15:22 -0400 (Sat, 05 Aug 2006)
New Revision: 14593
Trac: http://svn.gnucash.org/trac/changeset/14593
Modified:
gnucash/trunk/ChangeLog
gnucash/trunk/src/core-utils/gnc-gtk-utils.c
Log:
Enable inline completion only for gtk>=2.6.
Modified: gnucash/trunk/ChangeLog
===================================================================
--- gnucash/trunk/ChangeLog 2006-08-05 09:18:26 UTC (rev 14592)
+++ gnucash/trunk/ChangeLog 2006-08-05 21:15:22 UTC (rev 14593)
@@ -5,7 +5,9 @@
* src/gnome-utils/dialog-account.c: Check for account type
compatibility when creating a new account. Fixes 344966.
- * src/core-utils/gnc-gtk-utils.c: Unref entry completion.
+ * src/core-utils/gnc-gtk-utils.c: Unref entry completion, inline
+ completion only for gtk>=2.6.
+
* src/gnome-utils/dialog-account.c: I18n "Type", unref store.
2006-08-03 Andreas Köhler <andi5.py at gmx.net>
Modified: gnucash/trunk/src/core-utils/gnc-gtk-utils.c
===================================================================
--- gnucash/trunk/src/core-utils/gnc-gtk-utils.c 2006-08-05 09:18:26 UTC (rev 14592)
+++ gnucash/trunk/src/core-utils/gnc-gtk-utils.c 2006-08-05 21:15:22 UTC (rev 14593)
@@ -171,7 +171,9 @@
model = gtk_combo_box_get_model(GTK_COMBO_BOX(cbe));
gtk_entry_completion_set_model(completion, model);
gtk_entry_completion_set_text_column(completion, 0);
+#ifdef HAVE_GTK26
gtk_entry_completion_set_inline_completion(completion, TRUE);
+#endif
gtk_entry_set_completion(entry, completion);
g_object_unref(completion);
}
More information about the gnucash-changes
mailing list