projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b64dc75
)
gtk-demo: Make arrowing in suggestionentry scroll the dropdown
author
Benjamin Otte
<otte@redhat.com>
Sat, 25 Mar 2023 23:58:20 +0000
(
00:58
+0100)
committer
Benjamin Otte
<otte@redhat.com>
Sat, 5 Aug 2023 01:51:53 +0000
(
03:51
+0200)
demos/gtk-demo/suggestionentry.c
patch
|
blob
|
history
diff --git
a/demos/gtk-demo/suggestionentry.c
b/demos/gtk-demo/suggestionentry.c
index d4dd418f20441a328786bf15f1d882cae464142c..a9f66126c6d35c03cb93744cfa1c3de4bf29c986 100644
(file)
--- a/
demos/gtk-demo/suggestionentry.c
+++ b/
demos/gtk-demo/suggestionentry.c
@@
-801,7
+801,7
@@
suggestion_entry_key_pressed (GtkEventControllerKey *controller,
selected = matches - 1;
}
- gtk_
single_selection_set_selected (self->selection, selected
);
+ gtk_
list_view_scroll_to (GTK_LIST_VIEW (self->list), selected, GTK_LIST_SCROLL_SELECT, NULL
);
return TRUE;
}