summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2019-10-29 18:22:46 +0100
committerSlávek Banko <slavek.banko@axis.cz>2019-11-03 17:01:02 +0100
commit70a4d2895bf00a6b24cd19868065c957e9f0f3f7 (patch)
tree2410636aa6f4e23827bdabfa63ca2ee9edd8bc49
parent4cc560ce28c8fed67c704fc3838e879c69f475e4 (diff)
downloadtdelibs-70a4d2895bf00a6b24cd19868065c957e9f0f3f7.tar.gz
tdelibs-70a4d2895bf00a6b24cd19868065c957e9f0f3f7.zip
Fix missing button icons in dialogs.
Signed-off-by: Chris <xchrisx@uber.space> (cherry picked from commit 34aa72861f8bdcb153a534e10f19c729c1754cfa)
-rw-r--r--tdeui/kstdguiitem.cpp26
1 files 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 <b>Administrator Mode</b> 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: