mirror of
https://github.com/gryf/wicd.git
synced 2025-12-20 21:08:06 +01:00
Strip the IPs from the Ad Hoc network creation dialogs.
This commit is contained in:
@@ -480,7 +480,7 @@ class AdHocDialog(Dialog2):
|
||||
self.view.keypress( size, k )
|
||||
def on_exit(self,exitcode):
|
||||
data = ( self.essid_edit.get_edit_text(),
|
||||
self.ip_edit.get_edit_text(),
|
||||
self.ip_edit.get_edit_text().strip(),
|
||||
self.channel_edit.get_edit_text(),
|
||||
self.use_ics_chkb.get_state(),
|
||||
self.use_encrypt_chkb.get_state(),
|
||||
|
||||
@@ -274,7 +274,8 @@ class appGui(object):
|
||||
if response == 1:
|
||||
wireless.CreateAdHocNetwork(essid_entry.entry.get_text(),
|
||||
channel_entry.entry.get_text(),
|
||||
ip_entry.entry.get_text(), "WEP",
|
||||
ip_entry.entry.get_text().strip(),
|
||||
"WEP",
|
||||
self.key_entry.entry.get_text(),
|
||||
self.chkbox_use_encryption.get_active(),
|
||||
False) #chkbox_use_ics.get_active())
|
||||
|
||||
Reference in New Issue
Block a user