Branch: master

5f53b4b0 2014-10-13 00:12:55 Timothy Pearson
Bring up, down, top, and bottom icons into XDG compliance
M krecipes/src/dialogs/recipeinputdialog.cpp
M krecipes/src/dialogs/selectauthorsdialog.cpp
M krecipes/src/pref.cpp
diff --git a/krecipes/src/dialogs/recipeinputdialog.cpp b/krecipes/src/dialogs/recipeinputdialog.cpp
index 05270c4..1a47507 100644
--- a/krecipes/src/dialogs/recipeinputdialog.cpp
+++ b/krecipes/src/dialogs/recipeinputdialog.cpp
@@ -300,7 +300,7 @@
 	upButton = new KPushButton( ingredientGBox );
 	upButton->setFixedSize( TQSize( 31, 31 ) );
 	upButton->setFlat( true );
-	pm = il->loadIcon( "up", TDEIcon::NoGroup, 16 );
+	pm = il->loadIcon( "go-up", TDEIcon::NoGroup, 16 );
 	upButton->setPixmap( pm );
 	upButton->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
 	ingredientsLayout->addWidget( upButton, 5, 5 );
@@ -308,7 +308,7 @@
 	downButton = new KPushButton( ingredientGBox );
 	downButton->setFixedSize( TQSize( 31, 31 ) );
 	downButton->setFlat( true );
-	pm = il->loadIcon( "down", TDEIcon::NoGroup, 16 );
+	pm = il->loadIcon( "go-down", TDEIcon::NoGroup, 16 );
 	downButton->setPixmap( pm );
 	downButton->setSizePolicy( TQSizePolicy( TQSizePolicy::Fixed, TQSizePolicy::Fixed ) );
 	ingredientsLayout->addWidget( downButton, 6, 5 );
diff --git a/krecipes/src/dialogs/selectauthorsdialog.cpp b/krecipes/src/dialogs/selectauthorsdialog.cpp
index dc6be76..aeb065a 100644
--- a/krecipes/src/dialogs/selectauthorsdialog.cpp
+++ b/krecipes/src/dialogs/selectauthorsdialog.cpp
@@ -45,11 +45,11 @@
 
 	il = new TDEIconLoader;
 	addAuthorButton = new TQPushButton( topBox );
-	TQPixmap pm = il->loadIcon( "down", TDEIcon::NoGroup, 16 );
+	TQPixmap pm = il->loadIcon( "go-down", TDEIcon::NoGroup, 16 );
 	addAuthorButton->setIconSet( pm );
 
 	removeAuthorButton = new TQPushButton( topBox );
-	pm = il->loadIcon( "up", TDEIcon::NoGroup, 16 );
+	pm = il->loadIcon( "go-up", TDEIcon::NoGroup, 16 );
 	removeAuthorButton->setIconSet( pm );
 
 	// Author List
diff --git a/krecipes/src/pref.cpp b/krecipes/src/pref.cpp
index a04389e..4eb71b8 100644
--- a/krecipes/src/pref.cpp
+++ b/krecipes/src/pref.cpp
@@ -68,7 +68,7 @@
 	formatting_layout->addWidget( m_pageNumbers );
 	m_helpMap.insert(1,"custom-formatting");
 
-	frame = addPage( i18n( "Import/Export" ), i18n( "Recipe Import and Export Options" ), il.loadIcon( "down", TDEIcon::NoGroup, 32 ) );
+	frame = addPage( i18n( "Import/Export" ), i18n( "Recipe Import and Export Options" ), il.loadIcon( "go-down", TDEIcon::NoGroup, 32 ) );
 	TQHBoxLayout* import_layout = new TQHBoxLayout( frame );
 	m_pageImport = new ImportPrefs( frame );
 	import_layout->addWidget( m_pageImport );