diff options
author | Matúš Kukan <matus.kukan@gmail.com> | 2012-06-13 20:03:26 +0200 |
---|---|---|
committer | Matúš Kukan <matus.kukan@gmail.com> | 2012-07-17 16:40:13 +0200 |
commit | 6108d06c1259424bea2055ab6cb7ca8635656486 (patch) | |
tree | d2238197e6d83910d54cbe4c0ef5020fbc884c41 /sc/source | |
parent | 603c2cb9dd33ba7fbfc4865b20beee7896b2dc8a (diff) |
tubes: add File -> Collaborate menu entry to launch contacts widget
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/view/cellsh3.cxx | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sc/source/ui/view/cellsh3.cxx b/sc/source/ui/view/cellsh3.cxx index 7a2020443149..1b1a1e9392c2 100644 --- a/sc/source/ui/view/cellsh3.cxx +++ b/sc/source/ui/view/cellsh3.cxx @@ -52,6 +52,13 @@ #include "markdata.hxx" #include "scabstdlg.hxx" +#ifdef ENABLE_TELEPATHY +#include <tubes/manager.hxx> +namespace tubes { + void createContacts( const TeleManager &rContacts ); +} +#endif + #define IS_EDITMODE() GetViewData()->HasEditView( GetViewData()->GetActivePart() ) using sc::HMMToTwips; @@ -111,6 +118,12 @@ void ScCellShell::Execute( SfxRequest& rReq ) case SID_ATTR_SIZE://XXX ??? break; + case SID_COLLABORATION: +#ifdef ENABLE_TELEPATHY + tubes::createContacts( TeleManager::get( true ) ); +#endif + break; + case SID_STATUS_SELMODE: if ( pReqArgs ) { |