The unified diff between revisions [c89aef0b..] and [d9f86034..] is displayed below. It can also be downloaded as a raw diff.

#
#
# patch "interapplet.py"
#  from [a2ca2fc694abae6b408ca93196bbbbc1f74aa8d4]
#    to [a7e974acc3e2609c08ac91198f86ab82e8cd5561]
#
============================================================
--- interapplet.py	a2ca2fc694abae6b408ca93196bbbbc1f74aa8d4
+++ interapplet.py	a7e974acc3e2609c08ac91198f86ab82e8cd5561
@@ -214,9 +214,11 @@ class InterfaceApplet(gnomeapplet.Applet
 		self.set_active_logo()
 		gobject.timeout_add(500, self.wait_cb)
 	def disable_interface(self, int):
-		self.run_command("/usr/bin/sudo /sbin/ifdown %s" % (pipes.quote(int)))
+		command = '/sbin/ifdown %s' % (pipes.quote(int))
+		self.run_command("/usr/bin/gksudo %s" % (pipes.quote(command)))
 	def enable_interface(self, int):
-		self.run_command("/usr/bin/sudo /sbin/ifup %s" % (pipes.quote(int)))
+		command = '/sbin/ifup %s' % (pipes.quote(int))
+		self.run_command("/usr/bin/gksudo %s" % (pipes.quote(command)))
 	def init_state_files(self):
 		self.delete_old_state()
 		for mapping in self.if_state.state: