diff options
author | Timothy Pearson <[email protected]> | 2014-10-13 00:13:10 -0500 |
---|---|---|
committer | Timothy Pearson <[email protected]> | 2014-10-13 00:13:10 -0500 |
commit | 7e5eb6da549215f174b8861890bbbf5c901c4313 (patch) | |
tree | 7b02c2ef1075821c58d8a078dc3a8a4fc1a281f3 | |
parent | 121af3c55d4750aa059ef5e37afb728e41d88579 (diff) | |
download | ktorrent-7e5eb6da549215f174b8861890bbbf5c901c4313.tar.gz ktorrent-7e5eb6da549215f174b8861890bbbf5c901c4313.zip |
Bring up, down, top, and bottom icons into XDG compliance
-rw-r--r-- | apps/ktorrent/groups/activedownloadsgroup.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/groups/activeuploadsgroup.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/groups/downloadgroup.cpp | 4 | ||||
-rw-r--r-- | apps/ktorrent/groups/inactivedownloadsgroup.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/groups/inactiveuploadsgroup.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/groups/uploadgroup.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/pref.cpp | 2 | ||||
-rw-r--r-- | apps/ktorrent/queuedialog.cpp | 8 | ||||
-rw-r--r-- | plugins/search/htmlpart.cpp | 2 |
9 files changed, 13 insertions, 13 deletions
diff --git a/apps/ktorrent/groups/activedownloadsgroup.cpp b/apps/ktorrent/groups/activedownloadsgroup.cpp index ec3730e..a260f5a 100644 --- a/apps/ktorrent/groups/activedownloadsgroup.cpp +++ b/apps/ktorrent/groups/activedownloadsgroup.cpp @@ -27,7 +27,7 @@ namespace kt ActiveDownloadsGroup::ActiveDownloadsGroup() : Group(i18n("Active downloads"),DOWNLOADS_ONLY_GROUP) { - setIconByName("down"); + setIconByName("go-down"); } diff --git a/apps/ktorrent/groups/activeuploadsgroup.cpp b/apps/ktorrent/groups/activeuploadsgroup.cpp index 80413b8..6415eb9 100644 --- a/apps/ktorrent/groups/activeuploadsgroup.cpp +++ b/apps/ktorrent/groups/activeuploadsgroup.cpp @@ -28,7 +28,7 @@ namespace kt ActiveUploadsGroup::ActiveUploadsGroup() : Group(i18n("Active uploads"), UPLOADS_ONLY_GROUP) { - setIconByName("up"); + setIconByName("go-up"); } diff --git a/apps/ktorrent/groups/downloadgroup.cpp b/apps/ktorrent/groups/downloadgroup.cpp index adf4f02..2dfcf0d 100644 --- a/apps/ktorrent/groups/downloadgroup.cpp +++ b/apps/ktorrent/groups/downloadgroup.cpp @@ -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; } diff --git a/apps/ktorrent/groups/inactivedownloadsgroup.cpp b/apps/ktorrent/groups/inactivedownloadsgroup.cpp index 548ba17..c6b37bc 100644 --- a/apps/ktorrent/groups/inactivedownloadsgroup.cpp +++ b/apps/ktorrent/groups/inactivedownloadsgroup.cpp @@ -28,7 +28,7 @@ namespace kt InactiveDownloadsGroup::InactiveDownloadsGroup() : Group(i18n("Inactive downloads"), DOWNLOADS_ONLY_GROUP) { - setIconByName("down"); + setIconByName("go-down"); } diff --git a/apps/ktorrent/groups/inactiveuploadsgroup.cpp b/apps/ktorrent/groups/inactiveuploadsgroup.cpp index 2de8732..967dc9c 100644 --- a/apps/ktorrent/groups/inactiveuploadsgroup.cpp +++ b/apps/ktorrent/groups/inactiveuploadsgroup.cpp @@ -28,7 +28,7 @@ namespace kt InactiveUploadsGroup::InactiveUploadsGroup() : Group(i18n("Inactive uploads"), UPLOADS_ONLY_GROUP) { - setIconByName("up"); + setIconByName("go-up"); } diff --git a/apps/ktorrent/groups/uploadgroup.cpp b/apps/ktorrent/groups/uploadgroup.cpp index ee65293..3a320b5 100644 --- a/apps/ktorrent/groups/uploadgroup.cpp +++ b/apps/ktorrent/groups/uploadgroup.cpp @@ -26,7 +26,7 @@ namespace kt UploadGroup::UploadGroup() : Group(i18n("Uploads"),UPLOADS_ONLY_GROUP) { - setIconByName("up"); + setIconByName("go-up"); } diff --git a/apps/ktorrent/pref.cpp b/apps/ktorrent/pref.cpp index b8155e9..ee08bdc 100644 --- a/apps/ktorrent/pref.cpp +++ b/apps/ktorrent/pref.cpp @@ -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() diff --git a/apps/ktorrent/queuedialog.cpp b/apps/ktorrent/queuedialog.cpp index e70c5d3..79c06d1 100644 --- a/apps/ktorrent/queuedialog.cpp +++ b/apps/ktorrent/queuedialog.cpp @@ -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; diff --git a/plugins/search/htmlpart.cpp b/plugins/search/htmlpart.cpp index a0c02fe..2c57aeb 100644 --- a/plugins/search/htmlpart.cpp +++ b/plugins/search/htmlpart.cpp @@ -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) |