Changeset 14496
- Timestamp:
- 03/08/12 22:14:09 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
titan/titan/network.h
r14485 r14496 537 537 struct skin* wlan = getscreen("wlansettings"); 538 538 struct skin* listbox = getscreennode(wlan, "listbox"); 539 struct skin* startmode = getscreennode(wlan, "startmode"); 539 540 struct skin* ssid = getscreennode(wlan, "ssid"); 540 541 struct skin* type = getscreennode(wlan, "type"); … … 549 550 550 551 readwlan("/var/etc/wpa_supplicant.conf", &wtype, &wssid, &wkey); 552 553 addchoicebox(startmode, "y", _("yes")); 554 addchoicebox(startmode, "n", _("no")); 555 setchoiceboxselection(startmode, getownconfig("wlan")); 551 556 552 557 changeinput(ssid, wssid); … … 628 633 if(type->ret != NULL) tmptype = atoi(type->ret); 629 634 writewlan("/var/etc/wpa_supplicant.conf", tmptype, ssid->ret, key->ret); 635 if(startmode->ret != NULL) addownconfig("wlan", startmode->ret); 630 636 if(rcret == getrcconfigint("rcok", NULL)) break; 631 637 }
Note: See TracChangeset
for help on using the changeset viewer.