Bring stop, lock, exit, and run icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 3b0cccb9d3
commit 9768f94342

@ -70,7 +70,7 @@ class NetworkListViewItem : public TDEListViewItem
} }
if (net.isEncrypted()) { if (net.isEncrypted()) {
setPixmap(2, TDEGlobal::iconLoader()->loadIcon("lock", TDEIcon::Small)); setPixmap(2, TDEGlobal::iconLoader()->loadIcon("system-lock-screen", TDEIcon::Small));
} }
setText(3, TQString("%1").arg(net.getAPCount())); setText(3, TQString("%1").arg(net.getAPCount()));

@ -346,7 +346,7 @@ void Tray::contextMenuAboutToShow (TDEPopupMenu* menu)
} }
} }
else { else {
Subhead* subhead = new Subhead (menu, "subhead", i18n("NetworkManager is not running"), SmallIcon("stop", TQIconSet::Automatic)); Subhead* subhead = new Subhead (menu, "subhead", i18n("NetworkManager is not running"), SmallIcon("process-stop", TQIconSet::Automatic));
menu->insertItem (subhead, -1, -1); menu->insertItem (subhead, -1, -1);
} }

@ -127,7 +127,7 @@ WirelessNetworkItem::paint (TQPainter *p, const TQColorGroup &/*cg*/, bool highl
p->drawText (x, y, w, h, AlignLeft | AlignVCenter | DontClip | ShowPrefix, getDisplayText()); p->drawText (x, y, w, h, AlignLeft | AlignVCenter | DontClip | ShowPrefix, getDisplayText());
if (_net.isEncrypted()) { if (_net.isEncrypted()) {
TQPixmap pmLock = SmallIcon ("lock", h - (_border*2)); TQPixmap pmLock = SmallIcon ("system-lock-screen", h - (_border*2));
if (pmLock.size().height() != (h - (_border*2))) { if (pmLock.size().height() != (h - (_border*2))) {
TQImage pmLockImg = pmLock.convertToImage(); TQImage pmLockImg = pmLock.convertToImage();
pmLockImg = pmLockImg.smoothScale(65535, (h - (_border*2)), TQImage::ScaleMin); pmLockImg = pmLockImg.smoothScale(65535, (h - (_border*2)), TQImage::ScaleMin);

Loading…
Cancel
Save