[nautilus/gnome-3-30] mime-actions: Use more obvious name
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus/gnome-3-30] mime-actions: Use more obvious name
- Date: Wed, 3 Oct 2018 08:54:24 +0000 (UTC)
commit c83090dd88de2eb8fd47c804faebea0e06267f47
Author: Carlos Soriano <csoriano redhat com>
Date: Wed Sep 26 14:42:24 2018 +0000
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.
(cherry picked from commit 5dbed5565e149161e6ec32ded7413d1b656d2ad0)
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 8f691b4f3..00ea1b47a 100644
--- a/src/nautilus-mime-actions.c
+++ b/src/nautilus-mime-actions.c
@@ -1941,7 +1941,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;
@@ -2069,7 +2069,7 @@ activation_mount_mountables (ActivateParameters *parameters)
if (parameters->mountables == NULL && parameters->start_mountables == NULL)
{
- activation_get_activation_uris (parameters);
+ activate_regular_files (parameters);
}
}
@@ -2158,7 +2158,7 @@ activation_start_mountables (ActivateParameters *parameters)
if (parameters->mountables == NULL && parameters->start_mountables == NULL)
{
- activation_get_activation_uris (parameters);
+ activate_regular_files (parameters);
}
}
@@ -2253,7 +2253,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]