pyneighborhood team mailing list archive
-
pyneighborhood team
-
Mailing list archive
-
Message #00178
[Branch ~pyneighborhood/pyneighborhood/devel] Rev 547: s/umount/unmount/ in Options Dialog Options, fixes #696320
------------------------------------------------------------
revno: 547
committer: Stefan J. Betz <info@xxxxxxxxxxxxxxx>
branch nick: pyneighborhood
timestamp: Sun 2011-01-02 09:48:37 +0100
message:
s/umount/unmount/ in Options Dialog Options, fixes #696320
modified:
pyneighborhood/options.py
--
lp:pyneighborhood
https://code.launchpad.net/~pyneighborhood/pyneighborhood/devel
Your team pyNeighborhood is subscribed to branch lp:pyneighborhood.
To unsubscribe from this branch go to https://code.launchpad.net/~pyneighborhood/pyneighborhood/devel/+edit-subscription
=== modified file 'pyneighborhood/options.py'
--- pyneighborhood/options.py 2010-10-22 12:11:16 +0000
+++ pyneighborhood/options.py 2011-01-02 08:48:37 +0000
@@ -84,7 +84,7 @@
if self.sudo_toggle.get_active():
self.sudoentry.set_sensitive(True)
else:
- if ((stat(config.get("CIFS", "mount"))[ST_MODE] & S_ISUID) == 0) or ((stat(config.get("CIFS", "umount"))[ST_MODE] & S_ISUID) == 0):
+ if ((stat(config.get("CIFS", "mount"))[ST_MODE] & S_ISUID) == 0) or ((stat(config.get("CIFS", "unmount"))[ST_MODE] & S_ISUID) == 0):
self.sudo_toggle.set_active(True)
dlg = gtk.MessageDialog(self.window, gtk.DIALOG_DESTROY_WITH_PARENT, gtk.MESSAGE_ERROR, gtk.BUTTONS_OK, _("SUID bits on mount/umount are not set!\nDisabling sudo is not possible!"))
dlg.connect("response", lambda x,y: dlg.destroy())