[gnome-builder/gnome-builder-43] libide/webkit: return to url display on focus-out



commit 200219ead1556e5b06e3b7f5b1a321f4da2aaa0a
Author: Christian Hergert <chergert redhat com>
Date:   Wed Sep 21 23:24:54 2022 -0700

    libide/webkit: return to url display on focus-out

 src/libide/webkit/ide-url-bar.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/libide/webkit/ide-url-bar.c b/src/libide/webkit/ide-url-bar.c
index 74d1b1637..8789a0207 100644
--- a/src/libide/webkit/ide-url-bar.c
+++ b/src/libide/webkit/ide-url-bar.c
@@ -129,6 +129,7 @@ on_editable_focus_leave_cb (IdeUrlBar               *self,
   g_assert (IDE_IS_URL_BAR (self));
   g_assert (GTK_IS_EVENT_CONTROLLER_FOCUS (focus));
 
+  gtk_stack_set_visible_child_name (self->stack, "display");
 }
 
 static void


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