diff --git a/appletbrowser.cpp b/appletbrowser.cpp index 59b4cbc70..9b6db77a0 100644 --- a/appletbrowser.cpp +++ b/appletbrowser.cpp @@ -318,6 +318,13 @@ void AppletBrowser::init() setButtonText(KDialog::User1, i18n("Get New Widgets")); //TODO: not overly happy with this text enableButton(KDialog::User1, false); //TODO: enable when GHNS integration is implemented + setButtonToolTip(KDialog::Close, i18n("Close the dialog")); + setButtonWhatsThis(KDialog::Close, i18n("When clicking Close, this dialog will be closed with no further action taken.")); + setButtonToolTip(KDialog::Apply, i18n("Add selected widgets")); + setButtonWhatsThis(KDialog::Apply, i18n("When clicking Add Widget, the selected widgets will be added to your desktop.")); + setButtonToolTip(KDialog::User1, i18n("Download new widgets")); + setButtonWhatsThis(KDialog::User1, i18n("When clicking Get New Widgets, a dialog will open to allow you to download new widgets. You need to be connected to the Internet.")); + connect(this, SIGNAL(applyClicked()), m_widget, SLOT(addApplet())); connect(this, SIGNAL(user1Clicked()), m_widget, SLOT(downloadApplets()));