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




commit 615e087eb5552248a85fa922ab361411e7523c8c
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 d7fbc1e79..260767044 100644
--- a/src/nautilus-location-entry.c
+++ b/src/nautilus-location-entry.c
@@ -988,7 +988,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]