Bring undo, redo, find, and revert icons into XDG compliance

pull/1/head
Timothy Pearson 10 years ago
parent 9d5193fdac
commit 0c8a5b3278

@ -49,7 +49,7 @@ EditFilterDialog::EditFilterDialog( TQWidget* parent, bool metaBundleKeywords, c
// define "User2" button // define "User2" button
KGuiItem user2Button( i18n("this \"undo\" will undo the last appended filter... be careful how you will translate it " KGuiItem user2Button( i18n("this \"undo\" will undo the last appended filter... be careful how you will translate it "
"to avoid two buttons (\"Cancel\" and \"Undo\") with same label in the same dialog", "&Undo"), "undo" ); "to avoid two buttons (\"Cancel\" and \"Undo\") with same label in the same dialog", "&Undo"), "edit-undo" );
setButtonWhatsThis( User2, i18n( "<p>Clicking here will remove the last appended filter. " setButtonWhatsThis( User2, i18n( "<p>Clicking here will remove the last appended filter. "
"You cannot undo more than one action.</p>" ) ); "You cannot undo more than one action.</p>" ) );
setButtonTip(User2, i18n( "Remove last appended filter" ) ); setButtonTip(User2, i18n( "Remove last appended filter" ) );

@ -622,7 +622,7 @@ SearchPane::SearchPane( FileBrowser *parent )
connect( m_listView, TQT_SIGNAL(executed( TQListViewItem* )), TQT_SLOT(activate( TQListViewItem* )) ); connect( m_listView, TQT_SIGNAL(executed( TQListViewItem* )), TQT_SLOT(activate( TQListViewItem* )) );
} }
KPushButton *button = new KPushButton( KGuiItem( i18n("&Show Search Panel"), "find" ), this ); KPushButton *button = new KPushButton( KGuiItem( i18n("&Show Search Panel"), "edit-find" ), this );
button->setToggleButton( true ); button->setToggleButton( true );
connect( button, TQT_SIGNAL(toggled( bool )), TQT_SLOT(toggle( bool )) ); connect( button, TQT_SIGNAL(toggled( bool )), TQT_SLOT(toggle( bool )) );

@ -75,7 +75,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["random_album"] = "cd"; iconMap["random_album"] = "cd";
iconMap["random_no"] = "forward"; iconMap["random_no"] = "forward";
iconMap["random_track"] = "random"; iconMap["random_track"] = "random";
iconMap["redo"] = "redo"; iconMap["redo"] = "edit-redo";
iconMap["refresh"] = "reload"; iconMap["refresh"] = "reload";
iconMap["remove"] = "editdelete"; iconMap["remove"] = "editdelete";
iconMap["remove_from_playlist"] = "remove"; iconMap["remove_from_playlist"] = "remove";
@ -87,7 +87,7 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["rewind"] = "2leftarrow"; iconMap["rewind"] = "2leftarrow";
iconMap["save"] = "filesave"; iconMap["save"] = "filesave";
iconMap["scripts"] = "pencil"; iconMap["scripts"] = "pencil";
iconMap["search"] = "find"; iconMap["search"] = "edit-find";
iconMap["settings_engine"] = "amarok"; iconMap["settings_engine"] = "amarok";
iconMap["settings_general"] = "misc"; iconMap["settings_general"] = "misc";
iconMap["settings_indicator"] = "tv"; iconMap["settings_indicator"] = "tv";
@ -97,9 +97,9 @@ Amarok::icon( const TQString& name ) //declared in amarok.h
iconMap["podcast"] = "podcast"; iconMap["podcast"] = "podcast";
iconMap["podcast2"] = "podcast_new"; iconMap["podcast2"] = "podcast_new";
iconMap["track"] = "sound"; iconMap["track"] = "sound";
iconMap["undo"] = "undo"; iconMap["undo"] = "edit-undo";
iconMap["visualizations"] = "visualizations"; iconMap["visualizations"] = "visualizations";
iconMap["zoom"] = "find"; iconMap["zoom"] = "edit-find";
} }
static TQMap<TQString, TQString> amarokMap; static TQMap<TQString, TQString> amarokMap;

Loading…
Cancel
Save