summaryrefslogtreecommitdiff
path: root/src/nautilus-autorun-software.c
diff options
context:
space:
mode:
authormads@kiilerich.com <mads@kiilerich.com>2011-09-07 16:07:57 -0400
committerCosimo Cecchi <cosimoc@gnome.org>2011-09-07 16:08:32 -0400
commitad5b834df34d6a8f3919909b63ce97cc2bda53d4 (patch)
tree535161d8a474aae975ad5d97c956e137f4596ecc /src/nautilus-autorun-software.c
parent8978c6375bbe0cd26fffded25bc4606cab2c88e6 (diff)
downloadnautilus-ad5b834df34d6a8f3919909b63ce97cc2bda53d4.tar.gz
nautilus-autorun-software: handle mime type x-content/unix-software only
This is a consequence of the fix for https://bugs.freedesktop.org/show_bug.cgi?id=20562 . This undoes the part of cffb9cf7025 that hardcodes that media with x-content/win32-software are silently ignored, and thus improves on the fix for #524270. Wine or something could now provide a handler for win32-software. https://bugzilla.gnome.org/show_bug.cgi?id=632510
Diffstat (limited to 'src/nautilus-autorun-software.c')
-rw-r--r--src/nautilus-autorun-software.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/nautilus-autorun-software.c b/src/nautilus-autorun-software.c
index 50e53561e..2909457e8 100644
--- a/src/nautilus-autorun-software.c
+++ b/src/nautilus-autorun-software.c
@@ -125,14 +125,6 @@ autorun (GMount *mount)
} else if (_check_file (root, "autorun.sh", TRUE)) {
program_to_spawn = g_file_new_for_path ("/bin/sh");
program_parameter_file = g_file_get_child (root, "autorun.sh");
- } else if (_check_file (root, "autorun.exe", TRUE)) {
- /* TODO */
- } else if (_check_file (root, "AUTORUN.EXE", TRUE)) {
- /* TODO */
- } else if (_check_file (root, "autorun.inf", FALSE)) {
- /* TODO */
- } else if (_check_file (root, "AUTORUN.INF", FALSE)) {
- /* TODO */
}
if (program_to_spawn != NULL) {