mirror of
https://gitlab.gnome.org/GNOME/nautilus
synced 2024-09-13 04:51:15 +00:00
Only show the "Format" menuitem if gfloppy is found
This commit is contained in:
parent
9bbc0a175e
commit
7bb907e0e4
|
@ -1,3 +1,8 @@
|
|||
2005-10-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* src/file-manager/fm-directory-view.c: Only show
|
||||
the "Format" item if gfloppy is around.
|
||||
|
||||
2005-10-21 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* src/file-manager/fm-actions.h:
|
||||
|
|
|
@ -6532,7 +6532,8 @@ file_should_show_foreach (NautilusFile *file,
|
|||
*show_mount = TRUE;
|
||||
}
|
||||
|
||||
if (gnome_vfs_drive_get_device_type (drive) == GNOME_VFS_DEVICE_TYPE_FLOPPY) {
|
||||
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)) {
|
||||
|
|
Loading…
Reference in a new issue