From 39b5eb33ced398e639f28e2234eb243d52a1c281 Mon Sep 17 00:00:00 2001 From: Anne-Marie Mahfouf Date: Tue, 15 Jan 2008 09:09:00 +0000 Subject: [PATCH] bug fixe - no need to backport BUG=155784 svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=761618 --- appletbrowser.cpp | 7 +++++++ 1 file changed, 7 insertions(+) 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()));