Fix missing button icons in dialogs.

Signed-off-by: Chris <xchrisx@uber.space>
pull/53/head
Chris 5 years ago
parent 82f2aa6b13
commit 34aa72861f

@ -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:

Loading…
Cancel
Save