mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-11-05 16:04:31 +00:00
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:
parent
d10671c872
commit
916d33649d
2 changed files with 10 additions and 1 deletions
|
@ -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:
|
||||
|
|
|
@ -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 (),
|
||||
|
|
Loading…
Reference in a new issue