[gnome-builder/gnome-builder-3-18] workbench: ensure we load the filename as well as content type
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/gnome-builder-3-18] workbench: ensure we load the filename as well as content type
- Date: Tue, 13 Oct 2015 07:29:38 +0000 (UTC)
commit 712750253d52d326b64c3fb77d3e19f00228f25f
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]