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 GCC

 
 
LinkBack Thread Tools
 
Old 04-27-2010, 08:50 AM
Radek Vykydal
 
Default button if there are no net devices.

---
iw/network_gui.py | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/iw/network_gui.py b/iw/network_gui.py
index 0d28d0c..15fdf34 100644
--- a/iw/network_gui.py
+++ b/iw/network_gui.py
@@ -49,7 +49,10 @@ class NetworkWindow(InstallWindow):
self.hostnameEntry = self.xml.get_widget("hostnameEntry")
self.hostnameEntry.set_text(self.hostname)

- self.xml.get_widget("netconfButton").connect("clic ked", self._setupNetwork)
+ self.netconfButton = self.xml.get_widget("netconfButton")
+ self.netconfButton.connect("clicked", self._setupNetwork)
+ if len(self.anaconda.network.netdevices) == 0:
+ self.netconfButton.set_sensitive(False)

# pressing Enter in confirm == clicking Next
self.hostnameEntry.connect("activate",
--
1.6.0.6

_______________________________________________
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 01:47 PM.

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