projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
490d4b0
)
filechooserentry: Fix completions
author
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Oct 2022 01:41:18 +0000
(21:41 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 21 Oct 2022 01:41:18 +0000
(21:41 -0400)
Before we can drop them, lets make them work.
This was broken since 4.0, I assume :(
gtk/gtkfilechooserentry.c
patch
|
blob
|
history
diff --git
a/gtk/gtkfilechooserentry.c
b/gtk/gtkfilechooserentry.c
index 1d5c66c43555ecb703fc15069c8fb98667c0283d..39f7c3dceba9526dc66e84a1a71df572f497d65d 100644
(file)
--- a/
gtk/gtkfilechooserentry.c
+++ b/
gtk/gtkfilechooserentry.c
@@
-637,7
+637,7
@@
finished_loading_cb (GtkFileSystemModel *model,
completion = gtk_entry_get_completion (GTK_ENTRY (chooser_entry));
update_inline_completion (chooser_entry);
- if (gtk_widget_has_focus (GTK_WIDGET (
chooser_entry
)))
+ if (gtk_widget_has_focus (GTK_WIDGET (
gtk_entry_get_text_widget (GTK_ENTRY (chooser_entry))
)))
{
gtk_entry_completion_complete (completion);
gtk_entry_completion_insert_prefix (completion);