Bring up, down, top, and bottom icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 121af3c55d
commit 7e5eb6da54

@ -27,7 +27,7 @@ namespace kt
ActiveDownloadsGroup::ActiveDownloadsGroup()
: Group(i18n("Active downloads"),DOWNLOADS_ONLY_GROUP)
{
setIconByName("down");
setIconByName("go-down");
}

@ -28,7 +28,7 @@ namespace kt
ActiveUploadsGroup::ActiveUploadsGroup()
: Group(i18n("Active uploads"), UPLOADS_ONLY_GROUP)
{
setIconByName("up");
setIconByName("go-up");
}

@ -26,7 +26,7 @@ namespace kt
DownloadGroup::DownloadGroup() : Group(i18n("Downloads"),DOWNLOADS_ONLY_GROUP)
{
setIconByName("down");
setIconByName("go-down");
}
@ -38,7 +38,7 @@ namespace kt
{
if (!tor)
return false;
return !tor->getStats().completed;
}

@ -28,7 +28,7 @@ namespace kt
InactiveDownloadsGroup::InactiveDownloadsGroup()
: Group(i18n("Inactive downloads"), DOWNLOADS_ONLY_GROUP)
{
setIconByName("down");
setIconByName("go-down");
}

@ -28,7 +28,7 @@ namespace kt
InactiveUploadsGroup::InactiveUploadsGroup()
: Group(i18n("Inactive uploads"), UPLOADS_ONLY_GROUP)
{
setIconByName("up");
setIconByName("go-up");
}

@ -26,7 +26,7 @@ namespace kt
UploadGroup::UploadGroup() : Group(i18n("Uploads"),UPLOADS_ONLY_GROUP)
{
setIconByName("up");
setIconByName("go-up");
}

@ -144,7 +144,7 @@ void KTorrentPreferences::removePrefPage(kt::PrefPageInterface* pp)
///////////////////////////////////////////////////////
DownloadPrefPage::DownloadPrefPage() : kt::PrefPageInterface(i18n("Downloads"), i18n("Download Options"), TDEGlobal::iconLoader()->loadIcon("down", TDEIcon::NoGroup)), dp(0)
DownloadPrefPage::DownloadPrefPage() : kt::PrefPageInterface(i18n("Downloads"), i18n("Download Options"), TDEGlobal::iconLoader()->loadIcon("go-down", TDEIcon::NoGroup)), dp(0)
{}
DownloadPrefPage::~ DownloadPrefPage()

@ -100,8 +100,8 @@ QueueDialog::QueueDialog(bt::QueueManager* qm, TQWidget *parent, const char *nam
{
TDEIconLoader* iload = TDEGlobal::iconLoader();
m_tabs->setTabIconSet(m_tabs->page(0), iload->loadIconSet("down", TDEIcon::Small));
m_tabs->setTabIconSet(m_tabs->page(1), iload->loadIconSet("up", TDEIcon::Small));
m_tabs->setTabIconSet(m_tabs->page(0), iload->loadIconSet("go-down", TDEIcon::Small));
m_tabs->setTabIconSet(m_tabs->page(1), iload->loadIconSet("go-up", TDEIcon::Small));
logo->setPixmap(iload->loadIcon("ktqueuemanager", TDEIcon::Desktop));
@ -114,8 +114,8 @@ QueueDialog::QueueDialog(bt::QueueManager* qm, TQWidget *parent, const char *nam
if(seedList->firstChild())
seedList->setCurrentItem(seedList->firstChild());
btnMoveUp->setPixmap(iload->loadIcon("up", TDEIcon::Small));
btnMoveDown->setPixmap(iload->loadIcon("down", TDEIcon::Small));
btnMoveUp->setPixmap(iload->loadIcon("go-up", TDEIcon::Small));
btnMoveDown->setPixmap(iload->loadIcon("go-down", TDEIcon::Small));
this->qman = qm;

@ -164,7 +164,7 @@ namespace kt
int ret = KMessageBox::questionYesNoCancel(0,
i18n("Do you want to download or save the torrent?"),
i18n("Download Torrent"),
KGuiItem(i18n("to download", "Download"),"down"),
KGuiItem(i18n("to download", "Download"),"go-down"),
KStdGuiItem::save());
if (ret == KMessageBox::Yes)

Loading…
Cancel
Save