~adamblackburn/wicd/1.6.2.1

« back to all changes in this revision

Viewing changes to curses/prefs_curses.py

  • Committer: Adam Blackburn
  • Date: 2009-08-26 03:24:45 UTC
  • Revision ID: compwiz18@gmail.com-20090826032445-gcx1kqyj2d1fmhpd
reverted to revision 436 (1.6.2)

Show diffs side-by-side

added added

removed removed

Lines of Context:
326
326
        """ Pushes the selected settings to the daemon.
327
327
            This exact order is found in prefs.py"""
328
328
        daemon.SetUseGlobalDNS(self.global_dns_checkb.get_state())
329
 
 
330
 
        for i in [self.dns1, self.dns2,
331
 
                  self.dns3,self.dns_dom, self.search_dom, self.dns_dom]:
332
 
            i.set_edit_text(i.get_edit_text().strip())
333
 
 
334
329
        daemon.SetGlobalDNS(self.dns1.get_edit_text(), self.dns2.get_edit_text(),
335
330
                            self.dns3.get_edit_text(), self.dns_dom.get_edit_text(),
336
331
                            self.search_dom.get_edit_text())