From 5f53b4b022f82cb4e4859c63c84fa29be7886241 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 13 Oct 2014 00:12:55 -0500 Subject: [PATCH] Bring up, down, top, and bottom icons into XDG compliance --- krecipes/src/dialogs/recipeinputdialog.cpp | 4 ++-- krecipes/src/dialogs/selectauthorsdialog.cpp | 4 ++-- krecipes/src/pref.cpp | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) 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 @@ RecipeInputDialog::RecipeInputDialog( TQWidget* parent, RecipeDB *db ) : TQVBox( 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 @@ RecipeInputDialog::RecipeInputDialog( TQWidget* parent, RecipeDB *db ) : TQVBox( 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 @@ SelectAuthorsDialog::SelectAuthorsDialog( TQWidget *parent, const ElementList &c 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 @@ KrecipesPreferences::KrecipesPreferences( TQWidget *parent ) 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 );