From 81d73c30c95b7b8ae8ffc39533229b35647be08c Mon Sep 17 00:00:00 2001 From: Sean Robinson Date: Mon, 2 Mar 2009 05:23:37 -0700 Subject: [PATCH] Set width for preferences dialog entry boxes --- wifi-radar | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/wifi-radar b/wifi-radar index 75483ca..9b8447b 100755 --- a/wifi-radar +++ b/wifi-radar @@ -1360,6 +1360,7 @@ class preferences_dialog: # speak up command self.w_speak_cmd = gtk.Entry() + self.w_speak_cmd.set_width_chars(16) self.w_speak_cmd.set_text(self.confFile.get_opt('DEFAULT.speak_command')) self.w_speak_cmd_label = gtk.Label("Speak Command") self.w_speak_cmd_button = file_browse_button(self.dialog, self.w_speak_cmd) @@ -1385,6 +1386,7 @@ class preferences_dialog: # ifconfig command self.w_ifconfig_cmd = gtk.Entry() + self.w_ifconfig_cmd.set_width_chars(16) self.w_ifconfig_cmd.set_text(self.confFile.get_opt('DEFAULT.ifconfig_command')) self.w_ifconfig_cmd_button = file_browse_button(self.dialog, self.w_ifconfig_cmd) self.w_hbox4.pack_start(self.w_ifconfig_cmd_button, False, False, 0) @@ -1396,6 +1398,7 @@ class preferences_dialog: # iwconfig command self.w_iwconfig_cmd = gtk.Entry() + self.w_iwconfig_cmd.set_width_chars(16) self.w_iwconfig_cmd.set_text(self.confFile.get_opt('DEFAULT.iwconfig_command')) self.w_iwconfig_cmd_button = file_browse_button(self.dialog, self.w_iwconfig_cmd) self.w_hbox5.pack_start(self.w_iwconfig_cmd_button, False, False, 0) @@ -1407,6 +1410,7 @@ class preferences_dialog: # iwlist command self.w_iwlist_cmd = gtk.Entry() + self.w_iwlist_cmd.set_width_chars(16) self.w_iwlist_cmd.set_text(self.confFile.get_opt('DEFAULT.iwlist_command')) self.w_iwlist_cmd_button = file_browse_button(self.dialog, self.w_iwlist_cmd) self.w_hbox6.pack_start(self.w_iwlist_cmd_button, False, False, 0) @@ -1418,6 +1422,7 @@ class preferences_dialog: # route command self.w_route_cmd = gtk.Entry() + self.w_route_cmd.set_width_chars(16) self.w_route_cmd.set_text(self.confFile.get_opt('DEFAULT.route_command')) self.w_route_cmd_button = file_browse_button(self.dialog, self.w_route_cmd) self.w_hbox7.pack_start(self.w_route_cmd_button, False, False, 0) -- 2.11.4.GIT