diff options
author | Jan Holesovsky <kendy@collabora.com> | 2013-12-13 13:00:13 +0100 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2013-12-13 13:03:48 +0100 |
commit | 3943b59c17f6fd8988b4d8c7aebd662ce387a6d6 (patch) | |
tree | 4850582182d7552f72ce24ea02e458c7b72ecf0b /sfx2 | |
parent | cb144fefc4910414b95ca2fcbb90b5863e2fc996 (diff) |
startcenter: Tooltip should show the full URL.
Change-Id: Ia8e071ebe00fb8c72973614077e778aef55fb1ab
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/control/recentdocsviewitem.cxx | 5 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailview.cxx | 2 | ||||
-rw-r--r-- | sfx2/source/control/thumbnailviewitem.cxx | 5 |
3 files changed, 11 insertions, 1 deletions
diff --git a/sfx2/source/control/recentdocsviewitem.cxx b/sfx2/source/control/recentdocsviewitem.cxx index 570e782ad57b..2531da197a7e 100644 --- a/sfx2/source/control/recentdocsviewitem.cxx +++ b/sfx2/source/control/recentdocsviewitem.cxx @@ -69,4 +69,9 @@ void RecentDocsViewItem::setEditTitle (bool edit, bool bChangeFocus) (void)bChangeFocus; } +OUString RecentDocsViewItem::getHelpText() const +{ + return maURL; +} + /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sfx2/source/control/thumbnailview.cxx b/sfx2/source/control/thumbnailview.cxx index 6886fac7bc4c..49421508a085 100644 --- a/sfx2/source/control/thumbnailview.cxx +++ b/sfx2/source/control/thumbnailview.cxx @@ -96,7 +96,7 @@ void ThumbnailView::MouseMove(const MouseEvent& rMEvt) if (pItem->mbVisible && !rMEvt.IsLeaveWindow() && pItem->getDrawArea().IsInside(aPoint)) { - aHelp = pItem->maTitle; + aHelp = pItem->getHelpText(); if (!pItem->isHighlighted()) bNeedsPaint = true; diff --git a/sfx2/source/control/thumbnailviewitem.cxx b/sfx2/source/control/thumbnailviewitem.cxx index 097aae7885a5..7fdf428c1b19 100644 --- a/sfx2/source/control/thumbnailviewitem.cxx +++ b/sfx2/source/control/thumbnailviewitem.cxx @@ -146,6 +146,11 @@ void ThumbnailViewItem::setHighlight (bool state) mbHover = state; } +OUString ThumbnailViewItem::getHelpText() const +{ + return maTitle; +} + void ThumbnailViewItem::setEditTitle (bool edit, bool bChangeFocus) { mbEditTitle = edit; |