nautilus r14557 - in trunk: . src
- From: cneumair svn gnome org
- To: svn-commits-list gnome org
- Subject: nautilus r14557 - in trunk: . src
- Date: Mon, 1 Sep 2008 11:52:47 +0000 (UTC)
Author: cneumair
Date: Mon Sep 1 11:52:46 2008
New Revision: 14557
URL: http://svn.gnome.org/viewvc/nautilus?rev=14557&view=rev
Log:
2008-09-01 Christian Neumair <cneumair gnome org>
* src/nautilus-application.c (volume_added_callback):
Make autorun work for blank CDs. Fixes #548221. Thanks to Jerry Yu
<jijun yu sun com>.
Modified:
trunk/ChangeLog
trunk/src/nautilus-application.c
Modified: trunk/src/nautilus-application.c
==============================================================================
--- trunk/src/nautilus-application.c (original)
+++ trunk/src/nautilus-application.c Mon Sep 1 11:52:46 2008
@@ -1345,6 +1345,12 @@
g_volume_should_automount (volume) &&
g_volume_can_mount (volume)) {
nautilus_file_operations_mount_volume (NULL, volume, TRUE);
+ } else {
+ /* Allow nautilus_autorun() to run. When the mount is later
+ * added programmatically (i.e. for a blank CD),
+ * nautilus_autorun() will be called by mount_added_callback(). */
+ nautilus_allow_autorun_for_volume (volume);
+ nautilus_allow_autorun_for_volume_finish (volume);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]