rpms/nautilus/devel nautilus-2.13-format.patch, 1.2, 1.3 nautilus.spec, 1.94, 1.95

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Mon Feb 27 18:49:57 UTC 2006


Author: mclasen

Update of /cvs/dist/rpms/nautilus/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv17368

Modified Files:
	nautilus-2.13-format.patch nautilus.spec 
Log Message:
update patches


nautilus-2.13-format.patch:
 0 files changed

Index: nautilus-2.13-format.patch
===================================================================
RCS file: /cvs/dist/rpms/nautilus/devel/nautilus-2.13-format.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- nautilus-2.13-format.patch	13 Dec 2005 17:11:12 -0000	1.2
+++ nautilus-2.13-format.patch	27 Feb 2006 18:49:53 -0000	1.3
@@ -1,57 +0,0 @@
-Index: src/file-manager/fm-directory-view.c
-===================================================================
-RCS file: /cvs/gnome/nautilus/src/file-manager/fm-directory-view.c,v
-retrieving revision 1.727
-diff -u -p -r1.727 fm-directory-view.c
---- src/file-manager/fm-directory-view.c	12 Dec 2005 16:59:11 -0000	1.727
-+++ src/file-manager/fm-directory-view.c	13 Dec 2005 17:10:16 -0000
-@@ -6192,6 +6192,8 @@ action_format_volume_callback (GtkAction
- 	GList *selection, *l;
- 	GnomeVFSDrive *drive;
- 	FMDirectoryView *view;
-+        char *device_path;
-+        char *cmdline;
- 
-         view = FM_DIRECTORY_VIEW (data);
- 	
-@@ -6201,9 +6203,16 @@ action_format_volume_callback (GtkAction
- 
- 		if (nautilus_file_has_drive (file)) {
- 			drive = nautilus_file_get_drive (file);
-+			device_path = gnome_vfs_drive_get_device_path (drive);
- 			if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY) {
--				g_spawn_command_line_async ("gfloppy", NULL);
-+				cmdline = g_strconcat ("gfloppy ", device_path, NULL);
- 			}
-+			else {
-+				cmdline = g_strconcat ("userformat ", device_path, NULL);
-+			}
-+ 			g_spawn_command_line_async (cmdline, NULL);
-+                        g_free (cmdline);
-+                        g_free (device_path);
- 		}
- 	}	
- 	nautilus_file_list_free (selection);
-@@ -6944,15 +6953,17 @@ file_should_show_foreach (NautilusFile *
- 	} else if (nautilus_file_has_drive (file)) {
- 		drive = nautilus_file_get_drive (file);
- 		*show_eject = eject_for_type (gnome_vfs_drive_get_device_type (drive));
-+                if ((gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY &&
-+                   g_find_program_in_path ("gfloppy")) ||
-+                   g_find_program_in_path ("userformat")) {
-+                       *show_format = TRUE;
-+                }
-+
- 		if (gnome_vfs_drive_is_mounted (drive)) {
- 			*show_unmount = TRUE;
-+			*show_format = FALSE;
- 		} else {
- 			*show_mount = TRUE;
--		}
--
--                if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY &&
--		    g_find_program_in_path ("gfloppy")) {
--			*show_format = TRUE;
- 		}
- 	} else if (nautilus_file_is_nautilus_link (file)) {
- 		uri = nautilus_file_get_activation_uri (file);


Index: nautilus.spec
===================================================================
RCS file: /cvs/dist/rpms/nautilus/devel/nautilus.spec,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- nautilus.spec	27 Feb 2006 18:26:46 -0000	1.94
+++ nautilus.spec	27 Feb 2006 18:49:53 -0000	1.95
@@ -95,7 +95,7 @@
 %setup -q -n %{name}-%{version}
 
 %patch1 -p1 -b .rhconfig
-%patch2 -p0 -b .format
+%patch2 -p1 -b .format
 %patch3 -p1 -b .no-delay
 
 %build




More information about the fedora-cvs-commits mailing list