From 70a4d2895bf00a6b24cd19868065c957e9f0f3f7 Mon Sep 17 00:00:00 2001 From: Chris Date: Tue, 29 Oct 2019 18:22:46 +0100 Subject: Fix missing button icons in dialogs. Signed-off-by: Chris (cherry picked from commit 34aa72861f8bdcb153a534e10f19c729c1754cfa) --- tdeui/kstdguiitem.cpp | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/tdeui/kstdguiitem.cpp b/tdeui/kstdguiitem.cpp index a763c4b6c..25e0feb6c 100644 --- a/tdeui/kstdguiitem.cpp +++ b/tdeui/kstdguiitem.cpp @@ -112,12 +112,12 @@ KGuiItem KStdGuiItem::yes() KGuiItem KStdGuiItem::no() { - return KGuiItem( i18n( "&No" ), "", i18n( "No" ) ); + return KGuiItem( i18n( "&No" ), "window-close", i18n( "No" ) ); } 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 " "changes made in this dialog" ) ); } @@ -129,7 +129,7 @@ KGuiItem KStdGuiItem::save() KGuiItem KStdGuiItem::dontSave() { - return KGuiItem( i18n( "&Do Not Save" ), "", + return KGuiItem( i18n( "&Do Not Save" ), "edittrash", i18n( "Don't save data" ) ); } @@ -150,7 +150,7 @@ KGuiItem KStdGuiItem::apply() 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 Administrator Mode you will be prompted " "for the administrator (root) password in order to make changes " "which require root privileges." ) ); @@ -177,7 +177,7 @@ KGuiItem KStdGuiItem::close() KGuiItem KStdGuiItem::defaults() { - return KGuiItem( i18n( "&Defaults" ), "", + return KGuiItem( i18n( "&Defaults" ), "reload", i18n( "Reset all items to their default values" ) ); } @@ -241,7 +241,7 @@ KGuiItem KStdGuiItem::reset() KGuiItem KStdGuiItem::insert() { - return KGuiItem( i18n( "Verb", "&Insert" ) ); + return KGuiItem( i18n( "Verb", "&Insert" ), "edit-paste"); } KGuiItem KStdGuiItem::configure() @@ -251,37 +251,37 @@ KGuiItem KStdGuiItem::configure() KGuiItem KStdGuiItem::find() { - return KGuiItem(i18n("&Find"), "edit-find"); + return KGuiItem( i18n("&Find"), "edit-find" ); } KGuiItem KStdGuiItem::stop() { - return KGuiItem(i18n("Stop"), "process-stop"); + return KGuiItem( i18n("Stop"), "process-stop" ); } KGuiItem KStdGuiItem::add() { - return KGuiItem(i18n("Add"), "add"); + return KGuiItem( i18n("Add"), "add" ); } KGuiItem KStdGuiItem::remove() { - return KGuiItem(i18n("Remove"), "remove"); + return KGuiItem( i18n("Remove"), "remove" ); } KGuiItem KStdGuiItem::test() { - return KGuiItem(i18n("Test")); + return KGuiItem( i18n("Test") ); } KGuiItem KStdGuiItem::properties() { - return KGuiItem(i18n("Properties")); + return KGuiItem( i18n("Properties"), "document-properties" ); } KGuiItem KStdGuiItem::overwrite() { - return KGuiItem(i18n("&Overwrite")); + return KGuiItem( i18n("&Overwrite"), "document-save-as" ); } // vim: set ts=2 sts=2 sw=2 et: -- cgit v1.2.1