Patch to ubiquity's gtk_ui.py
--- gtk_ui.py.old 2008-04-01 13:02:20.917370401 +0000 +++ gtk_ui.py 2008-04-01 13:14:14.753433264 +0000 @@ -271,6 +271,11 @@ self.gconf_previous[gconf_key] = gconftool.get(gconf_key) if self.gconf_previous[gconf_key] != 'false': gconftool.set(gconf_key, 'bool', 'false') + gconf_key = '/apps/nautilus/preferences/media_autorun_never' + self.gconf_previous[gconf_key] = gconftool.get(gconf_key) + if self.gconf_previous[gconf_key] != 'true': + gconftool.set(gconf_key, 'bool', 'true') +
self.thunar_previous = self.thunar_set_volmanrc( {'AutomountDrives': 'FALSE', 'AutomountMedia': 'FALSE'}) @@ -292,6 +297,12 @@ elif self.gconf_previous[gconf_key] != 'false': gconftool.set(gconf_key, 'bool', self.gconf_previous[gconf_key]) + gconf_key = '/apps/nautilus/preferences/media_autorun_never' + if self.gconf_previous[gconf_key] == '': + gconftool.unset(gconf_key) + elif self.gconf_previous[gconf_key] != 'true': + gconftool.set(gconf_key, 'bool', + self.gconf_previous[gconf_key])
if self.thunar_previous: self.thunar_set_volmanrc(self.thunar_previous)
Patch to ubiquity's gtk_ui.py
--- gtk_ui.py.old 2008-04-01 13:02:20.917370401 +0000
self. gconf_previous[ gconf_key] = gconftool. get(gconf_ key) previous[ gconf_key] != 'false':
gconftool. set(gconf_ key, 'bool', 'false') nautilus/ preferences/ media_autorun_ never' previous[ gconf_key] = gconftool. get(gconf_ key) previous[ gconf_key] != 'true': set(gconf_ key, 'bool', 'true')
+++ gtk_ui.py 2008-04-01 13:14:14.753433264 +0000
@@ -271,6 +271,11 @@
if self.gconf_
+ gconf_key = '/apps/
+ self.gconf_
+ if self.gconf_
+ gconftool.
+
@@ -292,6 +297,12 @@
elif self.gconf_
+ gconf_key = '/apps/
+ if self.gconf_
+ gconftool.
+ elif self.gconf_
+ gconftool.
+ self.gconf_
if self.thunar_ previous:
self. thunar_ set_volmanrc( self.thunar_ previous)