Commits

Aleksander Zdyb  committed f4d2bbf

Added tooltip with interface name

  • Participants
  • Parent commits ffac881

Comments (0)

Files changed (1)

File NetMonitor@zdyb.tk/extension.js

     AddInterface: function(dev, net_dev) {
         this.active_interfaces[dev] = net_dev;
         
+        net_dev.GetBox().set_tooltip_text(dev.properties["Interface"])
         net_dev.onoff_menu = new PopupMenu.PopupSwitchMenuItem(dev.properties["Interface"], true);
         net_dev.onoff_menu.connect("toggled", Lang.bind(this, function(m) {
             net_dev.show = m.state;