[gedit/gnome-3-16] open-document-selector: add name attribute



commit ce33b4852f85c466f3ff5ae11957f55e7159a0c7
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Mon Apr 13 19:07:35 2015 +0200

    open-document-selector: add name attribute
    
    Works without this but we encounter an
    assertion 'name != NULL' failed error
    so we add this to be sure.

 gedit/gedit-open-document-selector-store.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-open-document-selector-store.c b/gedit/gedit-open-document-selector-store.c
index 7e13c05..310443c 100644
--- a/gedit/gedit-open-document-selector-store.c
+++ b/gedit/gedit-open-document-selector-store.c
@@ -182,6 +182,7 @@ get_children_from_dir (GeditOpenDocumentSelectorStore *selector_store,
        g_return_val_if_fail (G_IS_FILE (dir), NULL);
 
        file_enum = g_file_enumerate_children (dir,
+                                              "standard::name,"
                                               "standard::type,"
                                               "standard::fast-content-type,"
                                               "time::access,time::access-usec",


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