mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Enable inline completion only for gtk>=2.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14593 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
@@ -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@gmx.net>
|
||||
|
||||
@@ -171,7 +171,9 @@ gnc_cbe_add_completion (GtkComboBoxEntry *cbe)
|
||||
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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user