[nautilus/wip/antoniof/gtk4-preparation-step-event-controllers: 61/75] location-entry: Set :inline-completion to FALSE




commit 1abe294348b135f9d69ec3e162c9f3baf4ae7793
Author: António Fernandes <antoniof gnome org>
Date:   Sat Aug 7 12:49:19 2021 +0100

    location-entry: Set :inline-completion to FALSE
    
    We already do the prefix completion manually by calling
    gtk_entry_completion_insert_prefix(), because we want full control of
    when we do that.
    
    So, disable the automatic prefix completion. Also, this is necessary to
    prevent a regression in the next commit.

 src/nautilus-location-entry.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/nautilus-location-entry.c b/src/nautilus-location-entry.c
index 9d9970222..506dbe03e 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -986,7 +986,7 @@ nautilus_location_entry_init (NautilusLocationEntry *entry)
 
     g_object_set (priv->completion,
                   "text-column", 0,
-                  "inline-completion", TRUE,
+                  "inline-completion", FALSE,
                   "inline-selection", TRUE,
                   "popup-single-match", TRUE,
                   NULL);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]