Don't popup the completion when there is only a single match because we

2006-09-14  Michael Natterer  <mitch@gimp.org>

	* app/widgets/gimpcontainerentry.c: Don't popup the completion
	when there is only a single match because we already use inline
	completion.
This commit is contained in:
Michael Natterer 2006-09-13 22:51:52 +00:00 committed by Michael Natterer
parent 936ee063e1
commit 70cf90b0c8
2 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2006-09-14 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainerentry.c: Don't popup the completion
when there is only a single match because we already use inline
completion.
2006-09-14 Michael Natterer <mitch@gimp.org> 2006-09-14 Michael Natterer <mitch@gimp.org>
* app/widgets/gimpcontainerentry.c: implement * app/widgets/gimpcontainerentry.c: implement

View File

@ -123,8 +123,9 @@ gimp_container_entry_init (GimpContainerEntry *entry)
GtkCellRenderer *cell; GtkCellRenderer *cell;
completion = g_object_new (GTK_TYPE_ENTRY_COMPLETION, completion = g_object_new (GTK_TYPE_ENTRY_COMPLETION,
"inline-completion", TRUE, "inline-completion", TRUE,
"popup-set-width", FALSE, "popup-single-match", FALSE,
"popup-set-width", FALSE,
NULL); NULL);
store = gtk_list_store_new (GIMP_CONTAINER_ENTRY_NUM_COLUMNS, store = gtk_list_store_new (GIMP_CONTAINER_ENTRY_NUM_COLUMNS,