[nautilus] regular-file-function: reword the function name



commit 3d50ceab14145912289cc0dc66c476037b5f4e08
Author: Neha Yadav <inehayadav28 gmail com>
Date:   Fri Oct 7 19:57:59 2016 +0530

    regular-file-function: reword the function name
    
    The problem is that there is a file available which contain
    "!nautilus_file_is_directory" which not look good in file.
    
    Now we have the API, we can check if the file is a regular file
    where needed and not check if it is not a directory.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=772588

 src/nautilus-file.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-file.c b/src/nautilus-file.c
index 7509f1c..4f63e39 100644
--- a/src/nautilus-file.c
+++ b/src/nautilus-file.c
@@ -7795,7 +7795,7 @@ nautilus_file_is_launchable (NautilusFile *file)
            nautilus_file_can_get_permissions (file) &&
            nautilus_file_can_execute (file) &&
            nautilus_file_is_executable (file) &&
-           !nautilus_file_is_directory (file);
+           nautilus_file_is_regular_file (file);
 }
 
 /**


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