[gnome-builder/wip/gtk4-port] libide/editor: always show workdir in secondary workspace



commit 59c027e278b3717900fc590d0e28a73074af01cd
Author: Christian Hergert <chergert redhat com>
Date:   Wed Apr 6 22:40:46 2022 -0700

    libide/editor: always show workdir in secondary workspace

 src/libide/editor/ide-editor-workspace.c | 9 ++++-----
 1 file changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/src/libide/editor/ide-editor-workspace.c b/src/libide/editor/ide-editor-workspace.c
index 97281cd90..59d790c38 100644
--- a/src/libide/editor/ide-editor-workspace.c
+++ b/src/libide/editor/ide-editor-workspace.c
@@ -97,11 +97,10 @@ ide_editor_workspace_context_set (IdeWorkspace *workspace,
     g_object_bind_property (project_info, "name",
                             self->project_title, "title",
                             G_BINDING_SYNC_CREATE);
-  else
-    g_object_bind_property_full (context, "workdir",
-                                 self->project_title, "subtitle",
-                                 G_BINDING_SYNC_CREATE,
-                                 file_to_short_path, NULL, NULL, NULL);
+  g_object_bind_property_full (context, "workdir",
+                               self->project_title, "subtitle",
+                               G_BINDING_SYNC_CREATE,
+                               file_to_short_path, NULL, NULL, NULL);
 }
 
 static void


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