Quote rawdevice_path. Patch from rajeev.karale@wipro.com

2002-06-28  Alexander Larsson  <alexl@redhat.com>

	* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
	Quote rawdevice_path. Patch from rajeev.karale@wipro.com
This commit is contained in:
Alexander Larsson 2002-06-28 08:38:43 +00:00 committed by Alexander Larsson
parent d10671c872
commit 916d33649d
2 changed files with 10 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-06-28 Alexander Larsson <alexl@redhat.com>
* src/file-manager/fm-desktop-icon-view.c (volume_ops_callback):
Quote rawdevice_path. Patch from rajeev.karale@wipro.com
2002-06-27 Frank Worsley <fworsley@shaw.ca>
* libnautilus-private/nautilus-program-choosing.c:

View file

@ -823,7 +823,7 @@ volume_ops_callback (BonoboUIComponent *component, gpointer data, const char *ve
GList *selection;
char *command;
const char *device_path;
char *rawdevice_path;
char *rawdevice_path, *quoted_path;
char *program;
NautilusVolume *volume;
gboolean status;
@ -874,6 +874,10 @@ volume_ops_callback (BonoboUIComponent *component, gpointer data, const char *ve
} else {
rawdevice_path = g_strdup (device_path);
}
quoted_path = g_shell_quote (rawdevice_path);
g_free (rawdevice_path);
rawdevice_path = quoted_path;
if (strcmp (verb, "Unmount Volume Conditional") == 0) {
nautilus_volume_monitor_mount_unmount_removable (nautilus_volume_monitor_get (),