[nautilus] mime-actions: Use more obvious name



commit 5dbed5565e149161e6ec32ded7413d1b656d2ad0
Author: Carlos Soriano <csoriano redhat com>
Date:   Wed Sep 26 16:42:24 2018 +0200

    mime-actions: Use more obvious name
    
    I'm not gonna say how much of the day I spent on this code because
    I read it the other way around because of the misleading function name.

 src/nautilus-mime-actions.c | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-mime-actions.c b/src/nautilus-mime-actions.c
index 6d5027330..baa22f37f 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1946,7 +1946,7 @@ activate_activation_uris_ready_callback (GList    *files_ignore,
 }
 
 static void
-activation_get_activation_uris (ActivateParameters *parameters)
+activate_regular_files (ActivateParameters *parameters)
 {
     GList *l, *files;
     NautilusFile *file;
@@ -2074,7 +2074,7 @@ activation_mount_mountables (ActivateParameters *parameters)
 
     if (parameters->mountables == NULL && parameters->start_mountables == NULL)
     {
-        activation_get_activation_uris (parameters);
+        activate_regular_files (parameters);
     }
 }
 
@@ -2163,7 +2163,7 @@ activation_start_mountables (ActivateParameters *parameters)
 
     if (parameters->mountables == NULL && parameters->start_mountables == NULL)
     {
-        activation_get_activation_uris (parameters);
+        activate_regular_files (parameters);
     }
 }
 
@@ -2258,7 +2258,7 @@ nautilus_mime_activate_files (GtkWindow               *parent_window,
     }
     if (parameters->mountables == NULL && parameters->start_mountables == NULL)
     {
-        activation_get_activation_uris (parameters);
+        activate_regular_files (parameters);
     }
 }
 


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