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: |