From 878795b4c8a81a7d6f9d0f288048de70ad25d943 Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Sat, 11 Apr 2009 16:54:50 -0700 Subject: [PATCH] Add toggle_roaming() to change bssid_entry sensitivity Signed-off-by: Sean Robinson --- wifi-radar | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/wifi-radar b/wifi-radar index c937d56..e132768 100755 --- a/wifi-radar +++ b/wifi-radar @@ -2063,6 +2063,20 @@ class profile_dialog: self.dialog.destroy() del self.dialog + # Respond to roaming checkbox toggle by activating/de-activating the BSSID text entry. + # + #Parameters: + # + # 'roaming_toggle' -- gtk.CheckButton - The checkbox sending the signal. + # + # 'data' -- tuple - list of arbitrary arguments (not used) + # + #Returns: + # + # nothing + def toggle_roaming(self, roaming_toggle, data=None): + self.bssid_entry.set_sensitive(not roaming_toggle.get_active()) + # Respond to expanding/hiding IP segment. # #Parameters: -- 2.11.4.GIT