[gnome-builder] workbench: ensure we load the filename as well as content type



commit 4adc173554825de7b97b8622c585660d04a87030
Author: Christian Hergert <christian hergert me>
Date:   Tue Sep 29 16:26:37 2015 -0700

    workbench: ensure we load the filename as well as content type
    
    This was causing name to be null when doing content type checks.

 src/workbench/gb-workbench.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/workbench/gb-workbench.c b/src/workbench/gb-workbench.c
index 7186320..1753bb9 100644
--- a/src/workbench/gb-workbench.c
+++ b/src/workbench/gb-workbench.c
@@ -847,6 +847,7 @@ gb_workbench_open (GbWorkbench *self,
    */
 
   g_file_query_info_async (file,
+                           G_FILE_ATTRIBUTE_STANDARD_NAME","
                            G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE,
                            G_FILE_QUERY_INFO_NONE,
                            G_PRIORITY_DEFAULT,


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