Branch: master

7e5eb6da 2014-10-13 00:13:10 Timothy Pearson
Bring up, down, top, and bottom icons into XDG compliance
M apps/ktorrent/groups/activedownloadsgroup.cpp
M apps/ktorrent/groups/activeuploadsgroup.cpp
M apps/ktorrent/groups/downloadgroup.cpp
M apps/ktorrent/groups/inactivedownloadsgroup.cpp
M apps/ktorrent/groups/inactiveuploadsgroup.cpp
M apps/ktorrent/groups/uploadgroup.cpp
M apps/ktorrent/pref.cpp
M apps/ktorrent/queuedialog.cpp
M plugins/search/htmlpart.cpp
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 @@
 	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 @@
 	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 @@
 
 	DownloadGroup::DownloadGroup() : Group(i18n("Downloads"),DOWNLOADS_ONLY_GROUP)
 	{
-		setIconByName("down");
+		setIconByName("go-down");
 	}
 
 
@@ -38,7 +38,7 @@
 	{
 		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 @@
 	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 @@
 	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 @@
 
 	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 @@
 
 ///////////////////////////////////////////////////////
 
-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 @@
 {
 	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 @@
 	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 @@
 				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)