diff options
author | Jan Holesovsky <kendy@suse.cz> | 2013-04-30 10:31:00 +0200 |
---|---|---|
committer | Jan Holesovsky <kendy@suse.cz> | 2013-04-30 10:33:15 +0200 |
commit | f60424b29622033ae02491bda328c304ae1bc05d (patch) | |
tree | 0bb6ba356685ecefa6d757fd60e4daf9eb1fb4e4 /sc | |
parent | f486c562816fc59dc4d341d0a32a65b1e65eeb92 (diff) |
bnc#816516: Implement easy access to the recent documents.
This adds a dropdown to the 'Open' toolbar tool.
Change-Id: I5b4aa99476e721c1479152b46bbc79cc0b095318
Diffstat (limited to 'sc')
-rw-r--r-- | sc/sdi/scalc.sdi | 3 | ||||
-rw-r--r-- | sc/source/ui/app/scdll.cxx | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/sc/sdi/scalc.sdi b/sc/sdi/scalc.sdi index 7ab61a12038b..27803019b573 100644 --- a/sc/sdi/scalc.sdi +++ b/sc/sdi/scalc.sdi @@ -8333,6 +8333,9 @@ SfxVoidItem OpenFromCalc SID_OPEN_CALC RecordPerSet; Synchron; + /* status: */ + SlotType = SfxStringItem + /* config: */ AccelConfig = TRUE, MenuConfig = TRUE, diff --git a/sc/source/ui/app/scdll.cxx b/sc/source/ui/app/scdll.cxx index 3220463f686a..9ed0e3ac069b 100644 --- a/sc/source/ui/app/scdll.cxx +++ b/sc/source/ui/app/scdll.cxx @@ -172,6 +172,8 @@ void ScDLL::Init() ScMediaShell ::RegisterInterface(pMod); ScPageBreakShell ::RegisterInterface(pMod); + SfxRecentFilesToolBoxControl::RegisterControl(SID_OPEN_CALC, pMod); + // eigene Controller ScTbxInsertCtrl ::RegisterControl(SID_TBXCTL_INSERT, pMod); ScTbxInsertCtrl ::RegisterControl(SID_TBXCTL_INSCELLS, pMod); |