Fix missing button icons in dialogs.

Signed-off-by: Chris <xchrisx@uber.space>
(cherry picked from commit 34aa72861f)
r14.0.x
Chris 5 years ago committed by Slávek Banko
parent 4cc560ce28
commit 70a4d2895b
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -112,12 +112,12 @@ KGuiItem KStdGuiItem::yes()
KGuiItem KStdGuiItem::no() KGuiItem KStdGuiItem::no()
{ {
return KGuiItem( i18n( "&No" ), "", i18n( "No" ) ); return KGuiItem( i18n( "&No" ), "window-close", i18n( "No" ) );
} }
KGuiItem KStdGuiItem::discard() KGuiItem KStdGuiItem::discard()
{ {
return KGuiItem( i18n( "&Discard" ), "", i18n( "Discard changes" ), return KGuiItem( i18n( "&Discard" ), "edittrash", i18n( "Discard changes" ),
i18n( "Pressing this button will discard all recent " i18n( "Pressing this button will discard all recent "
"changes made in this dialog" ) ); "changes made in this dialog" ) );
} }
@ -129,7 +129,7 @@ KGuiItem KStdGuiItem::save()
KGuiItem KStdGuiItem::dontSave() KGuiItem KStdGuiItem::dontSave()
{ {
return KGuiItem( i18n( "&Do Not Save" ), "", return KGuiItem( i18n( "&Do Not Save" ), "edittrash",
i18n( "Don't save data" ) ); i18n( "Don't save data" ) );
} }
@ -150,7 +150,7 @@ KGuiItem KStdGuiItem::apply()
KGuiItem KStdGuiItem::adminMode() KGuiItem KStdGuiItem::adminMode()
{ {
return KGuiItem( i18n( "Administrator &Mode..." ), "", i18n( "Enter Administrator Mode" ), return KGuiItem( i18n( "Administrator &Mode..." ), "wizard", i18n( "Enter Administrator Mode" ),
i18n( "When clicking <b>Administrator Mode</b> you will be prompted " i18n( "When clicking <b>Administrator Mode</b> you will be prompted "
"for the administrator (root) password in order to make changes " "for the administrator (root) password in order to make changes "
"which require root privileges." ) ); "which require root privileges." ) );
@ -177,7 +177,7 @@ KGuiItem KStdGuiItem::close()
KGuiItem KStdGuiItem::defaults() KGuiItem KStdGuiItem::defaults()
{ {
return KGuiItem( i18n( "&Defaults" ), "", return KGuiItem( i18n( "&Defaults" ), "reload",
i18n( "Reset all items to their default values" ) ); i18n( "Reset all items to their default values" ) );
} }
@ -241,7 +241,7 @@ KGuiItem KStdGuiItem::reset()
KGuiItem KStdGuiItem::insert() KGuiItem KStdGuiItem::insert()
{ {
return KGuiItem( i18n( "Verb", "&Insert" ) ); return KGuiItem( i18n( "Verb", "&Insert" ), "edit-paste");
} }
KGuiItem KStdGuiItem::configure() KGuiItem KStdGuiItem::configure()
@ -251,37 +251,37 @@ KGuiItem KStdGuiItem::configure()
KGuiItem KStdGuiItem::find() KGuiItem KStdGuiItem::find()
{ {
return KGuiItem(i18n("&Find"), "edit-find"); return KGuiItem( i18n("&Find"), "edit-find" );
} }
KGuiItem KStdGuiItem::stop() KGuiItem KStdGuiItem::stop()
{ {
return KGuiItem(i18n("Stop"), "process-stop"); return KGuiItem( i18n("Stop"), "process-stop" );
} }
KGuiItem KStdGuiItem::add() KGuiItem KStdGuiItem::add()
{ {
return KGuiItem(i18n("Add"), "add"); return KGuiItem( i18n("Add"), "add" );
} }
KGuiItem KStdGuiItem::remove() KGuiItem KStdGuiItem::remove()
{ {
return KGuiItem(i18n("Remove"), "remove"); return KGuiItem( i18n("Remove"), "remove" );
} }
KGuiItem KStdGuiItem::test() KGuiItem KStdGuiItem::test()
{ {
return KGuiItem(i18n("Test")); return KGuiItem( i18n("Test") );
} }
KGuiItem KStdGuiItem::properties() KGuiItem KStdGuiItem::properties()
{ {
return KGuiItem(i18n("Properties")); return KGuiItem( i18n("Properties"), "document-properties" );
} }
KGuiItem KStdGuiItem::overwrite() KGuiItem KStdGuiItem::overwrite()
{ {
return KGuiItem(i18n("&Overwrite")); return KGuiItem( i18n("&Overwrite"), "document-save-as" );
} }
// vim: set ts=2 sts=2 sw=2 et: // vim: set ts=2 sts=2 sw=2 et:

Loading…
Cancel
Save