gnome-commander r2402 - in branches/gcmd-1-3: . plugins/fileroller
- From: epiotr svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-commander r2402 - in branches/gcmd-1-3: . plugins/fileroller
- Date: Wed, 7 Jan 2009 17:07:18 +0000 (UTC)
Author: epiotr
Date: Wed Jan 7 17:07:18 2009
New Revision: 2402
URL: http://svn.gnome.org/viewvc/gnome-commander?rev=2402&view=rev
Log:
Yet another fix for fileroller plugin
Modified:
branches/gcmd-1-3/ChangeLog
branches/gcmd-1-3/plugins/fileroller/file-roller-plugin.c
Modified: branches/gcmd-1-3/plugins/fileroller/file-roller-plugin.c
==============================================================================
--- branches/gcmd-1-3/plugins/fileroller/file-roller-plugin.c (original)
+++ branches/gcmd-1-3/plugins/fileroller/file-roller-plugin.c Wed Jan 7 17:07:18 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]