[PATCH newui 6/7] Network spoke: show iface name, vendor and type information.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



---
 pyanaconda/ui/gui/spokes/network.py |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/pyanaconda/ui/gui/spokes/network.py b/pyanaconda/ui/gui/spokes/network.py
index 7cefa59..f127131 100644
--- a/pyanaconda/ui/gui/spokes/network.py
+++ b/pyanaconda/ui/gui/spokes/network.py
@@ -528,8 +528,11 @@ class NetworkSpoke(NormalSpoke):
         return str
 
     def _dev_title(self, device):
-        #return '<span hsize="large">%s</span>' % self._dev_type_str(device)
-        return self._dev_type_str(device)
+        title = '<span size="large">%s (%s)</span>' % (self._dev_type_str(device),
+                                                       device.get_iface())
+        title += '\n<span size="small">%s %s</span>' % (device.get_vendor(),
+                                                        device.get_product())
+        return title
 
     def _dev_type_str(self, device):
         dev_type = device.get_device_type()
@@ -702,7 +705,7 @@ class NetworkSpoke(NormalSpoke):
 
         # TODO: is this necessary? Isn't it static from glade?
         self.builder.get_object("label_%s_device" % dev_type_str).set_label(
-            self._dev_type_str(device))
+            "%s (%s)" % (self._dev_type_str(device), device.get_iface()))
 
         state = device.get_state()
         self.builder.get_object("label_%s_status" % dev_type_str).set_label(
-- 
1.7.7.5

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


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux