[gnome-commander] noop: variable renamed



commit ded450e045d15b6c224b790f36173df38e6800a2
Author: Uwe Scholz <u scholz83 gmx de>
Date:   Fri Jan 1 21:59:28 2021 +0100

    noop: variable renamed

 plugins/fileroller/file-roller-plugin.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/plugins/fileroller/file-roller-plugin.cc b/plugins/fileroller/file-roller-plugin.cc
index b528d64a..d8b2e574 100644
--- a/plugins/fileroller/file-roller-plugin.cc
+++ b/plugins/fileroller/file-roller-plugin.cc
@@ -506,14 +506,14 @@ static GList *create_popup_menu_items (GnomeCmdPlugin *plugin, GnomeCmdState *st
 
                 if (activeDirId && inactiveDirId && g_str_equal(activeDirId, inactiveDirId))
                 {
-                    auto path = GetGfileAttributeString(state->inactiveDirGfile, 
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME);
+                    auto basenameString = GetGfileAttributeString(state->inactiveDirGfile, 
G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME);
 
-                    text = g_strdup_printf (_("Extract to ā€œ%sā€"), path);
+                    text = g_strdup_printf (_("Extract to ā€œ%sā€"), basenameString);
                     item = create_menu_item (text, TRUE, GTK_SIGNAL_FUNC (on_extract_cwd), 
gnomeCmdFileBase->gFile);
-                    g_object_set_data (G_OBJECT (item), TARGET_DIR, path);
+                    g_object_set_data (G_OBJECT (item), TARGET_DIR, basenameString);
                     items = g_list_append (items, item);
                     g_free (text);
-                    g_free (path);
+                    g_free (basenameString);
                 }
 
                 g_free(activeDirId);


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