[nautilus] nautilus-file: fix test for distcheck



commit 7d2d1215f38b2febf02bf8831f365530a578efcc
Author: Carlos Soriano <csoriano gnome org>
Date:   Tue Mar 24 17:10:03 2015 +0100

    nautilus-file: fix test for distcheck
    
    I'm not sure when this brake, and why it has to be eazel:///
    when the uri is eazel: . I tried to debug with a older glib
    and older nautilus but nothing fixed it.
    
    For now workaround it or "fix" it, since for me it makes sense
    that the name is the uri if nothing else is available...

 libnautilus-private/nautilus-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libnautilus-private/nautilus-file.c b/libnautilus-private/nautilus-file.c
index 26d1d41..d498f10 100644
--- a/libnautilus-private/nautilus-file.c
+++ b/libnautilus-private/nautilus-file.c
@@ -8246,7 +8246,7 @@ nautilus_self_check_file (void)
        nautilus_file_unref (file_1);
 
        file_1 = nautilus_file_get_by_uri ("eazel:");
-       EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "eazel:///");
+       EEL_CHECK_STRING_RESULT (nautilus_file_get_name (file_1), "eazel:");
        nautilus_file_unref (file_1);
 
        /* sorting */


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