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




commit e1fe0c5bd92460becc878b5c93a82e1dd7dccc24
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 b1bda5f79..1c0ebe904 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -987,7 +987,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]