Summary: | amarok's add applet browser doesn't display name of the widgets | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | Janet <bugzilla> |
Component: | general | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.2.2 | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Attachments: | screenshot |
Description
Janet
2010-03-14 18:10:15 UTC
Created attachment 41624 [details]
screenshot
commit 69d8ab73be74764c973d1ee1c474f307c0260a3f Author: Jakub Wieczorek <faw217@gmail.com> Date: Sun Mar 14 23:59:43 2010 +0100 Display tooltips with applet names in the context toolbar. BUG: 230736 diff --git a/ChangeLog b/ChangeLog index 4d97b0e..43dc098 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18,6 +18,7 @@ VERSION 2.3.1-Beta 1 BUGFIXES: * Cover fetcher: Fixed a crash involving reappearing cover found dialogs and pending cover fetches. (BR 230215) + * Display tooltips with applet names in the context toolbar. (BR 230736) VERSION 2.3 diff --git a/src/context/toolbar/AppletToolbarAppletItem.cpp b/src/context/toolbar/AppletToolbarAppletItem.cpp index 8a77798..3f6a823 100644 --- a/src/context/toolbar/AppletToolbarAppletItem.cpp +++ b/src/context/toolbar/AppletToolbarAppletItem.cpp @@ -48,9 +48,14 @@ Context::AppletToolbarAppletItem::AppletToolbarAppletItem( QGraphicsItem* parent { m_label = new QGraphicsSimpleTextItem( this ); if( m_applet ) + { m_label->setText( m_applet->name() ); + setToolTip( m_applet->name() ); + } else + { m_label->setText( i18n("no applet name") ); + } setAcceptHoverEvents( true ); m_label->setAcceptHoverEvents( true ); |