summaryrefslogtreecommitdiffstats
path: root/tdeui/kstdguiitem.cpp
diff options
context:
space:
mode:
authorChris <xchrisx@uber.space>2019-10-29 18:22:46 +0100
committerChris <xchrisx@uber.space>2019-10-29 18:46:11 +0100
commit34aa72861f8bdcb153a534e10f19c729c1754cfa (patch)
treef361ac7c5ce6d91084ff24c11b7866dba8fe6307 /tdeui/kstdguiitem.cpp
parent82f2aa6b13cbedb1fdb9f0747f19799f2ac1f735 (diff)
downloadtdelibs-34aa72861f8bdcb153a534e10f19c729c1754cfa.tar.gz
tdelibs-34aa72861f8bdcb153a534e10f19c729c1754cfa.zip
Fix missing button icons in dialogs.
Signed-off-by: Chris <xchrisx@uber.space>
Diffstat (limited to 'tdeui/kstdguiitem.cpp')
-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: