[gnome-builder] greeter: show non-translated directory to user



commit c23fd8aa7cf2c8567e10c92a6178326adfba82f7
Author: Christian Hergert <chergert redhat com>
Date:   Tue Mar 26 15:36:53 2019 -0700

    greeter: show non-translated directory to user
    
    It's nicer if we can show the user the original path they
    selected rather than the translated form we want to use within
    the IDE subsystems.

 src/libide/greeter/ide-greeter-row.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
---
diff --git a/src/libide/greeter/ide-greeter-row.c b/src/libide/greeter/ide-greeter-row.c
index 6993f6ebe..069f5bbe2 100644
--- a/src/libide/greeter/ide-greeter-row.c
+++ b/src/libide/greeter/ide-greeter-row.c
@@ -23,8 +23,11 @@
 #include "config.h"
 
 #include <glib/gi18n.h>
+#include <libide-projects.h>
 #include <stdlib.h>
 
+#include "ide-project-info-private.h"
+
 #include "ide-greeter-row.h"
 
 typedef struct
@@ -276,7 +279,7 @@ ide_greeter_row_set_project_info (IdeGreeterRow  *self,
           g_auto(GStrv) languages = g_strdupv ((gchar **)ide_project_info_get_languages (project_info));
           const gchar *name = ide_project_info_get_name (project_info);
           const gchar *build_system = ide_project_info_get_build_system_name (project_info);
-          GFile *directory = ide_project_info_get_directory (project_info);
+          GFile *directory = _ide_project_info_get_real_directory (project_info);
           const gchar *desc = ide_project_info_get_description (project_info);
           GIcon *icon = ide_project_info_get_icon (project_info);
           g_autoptr(GPtrArray) parts = g_ptr_array_new ();


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