gnome-commander r2401 - in trunk: . plugins/fileroller



Author: epiotr
Date: Wed Jan  7 17:07:03 2009
New Revision: 2401
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2401&view=rev

Log:
Yet another fix for fileroller plugin

Modified:
   trunk/ChangeLog
   trunk/plugins/fileroller/file-roller-plugin.c

Modified: trunk/plugins/fileroller/file-roller-plugin.c
==============================================================================
--- trunk/plugins/fileroller/file-roller-plugin.c	(original)
+++ trunk/plugins/fileroller/file-roller-plugin.c	Wed Jan  7 17:07:03 2009
@@ -312,9 +312,11 @@
 
                 if (!gnome_vfs_uri_equal (state->active_dir_uri, state->inactive_dir_uri))
                 {
-                    text = g_strdup_printf (_("Extract to '%s'"), state->inactive_dir_uri->text);
+                    gchar *path = gnome_vfs_unescape_string (gnome_vfs_uri_get_path (state->inactive_dir_uri), NULL);
+
+                    text = g_strdup_printf (_("Extract to '%s'"), path);
                     item = create_menu_item (text, TRUE, GTK_SIGNAL_FUNC (on_extract_cwd), finfo->uri);
-                    gtk_object_set_data (GTK_OBJECT (item), "target_dir", g_strdup (state->inactive_dir_uri->text));
+                    gtk_object_set_data (GTK_OBJECT (item), "target_dir", path);
                     items = g_list_append (items, item);
                     g_free (text);
                 }



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