eric6/E5Network/E5NetworkIcon.py

changeset 7533
88261c96484b
parent 7360
9190402e4505
child 7780
41420f82c0ac
equal deleted inserted replaced
7532:1358e9d67a1c 7533:88261c96484b
52 52
53 @param online flag indicating the online status 53 @param online flag indicating the online status
54 @type bool 54 @type bool
55 """ 55 """
56 if online: 56 if online:
57 self.setPixmap(UI.PixmapCache.getPixmap("network-online.png")) 57 self.setPixmap(UI.PixmapCache.getPixmap("network-online"))
58 else: 58 else:
59 self.setPixmap(UI.PixmapCache.getPixmap("network-offline.png")) 59 self.setPixmap(UI.PixmapCache.getPixmap("network-offline"))
60 60
61 tooltip = self.tr("<p>Shows the network status<br/><br/>" 61 tooltip = self.tr("<p>Shows the network status<br/><br/>"
62 "<b>Network:</b> {0}</p>") 62 "<b>Network:</b> {0}</p>")
63 63
64 if online: 64 if online:

eric ide

mercurial