FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 11-04-2008, 10:21 PM
David Cantrell
 
Default Set initial state of IP configuration fields in text mode (#469933)

When performing a text mode install, call self._dhcpToggled()
before running the dialog so the initial state of the manual entry
fields matches the checkbox choices.
---
textw/netconfig_text.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/textw/netconfig_text.py b/textw/netconfig_text.py
index 433f5d8..c5aba62 100644
--- a/textw/netconfig_text.py
+++ b/textw/netconfig_text.py
@@ -173,6 +173,7 @@ class NetworkConfiguratorText:
# Call these functions to set initial UI state.
self._ipv4Toggled()
#self._ipv6Toggled()
+ self._dhcpToggled()

netdevs = self.anaconda.id.network.available()

--
1.6.0.2

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 
Old 11-05-2008, 08:10 AM
Hans de Goede
 
Default Set initial state of IP configuration fields in text mode (#469933)

David Cantrell wrote:

When performing a text mode install, call self._dhcpToggled()
before running the dialog so the initial state of the manual entry
fields matches the checkbox choices.


Looks good,

Regards,

Hans


---
textw/netconfig_text.py | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/textw/netconfig_text.py b/textw/netconfig_text.py
index 433f5d8..c5aba62 100644
--- a/textw/netconfig_text.py
+++ b/textw/netconfig_text.py
@@ -173,6 +173,7 @@ class NetworkConfiguratorText:
# Call these functions to set initial UI state.
self._ipv4Toggled()
#self._ipv6Toggled()
+ self._dhcpToggled()

netdevs = self.anaconda.id.network.available()



_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list
 

Thread Tools




All times are GMT. The time now is 12:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org