summaryrefslogtreecommitdiff
path: root/sfx2/source/appl
diff options
context:
space:
mode:
authorRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:32:23 +0000
committerRĂ¼diger Timm <rt@openoffice.org>2008-07-11 06:32:23 +0000
commit5124d5a724522b662216ec7022a7d6d9b8294aff (patch)
tree2a91d21de67f9cd23c4bb41fdda729e0759fde6e /sfx2/source/appl
parent9de2c8d330663e713db03814254434b1214fd1a8 (diff)
INTEGRATION: CWS startcenterfix03 (1.8.90); FILE MERGED
2008/07/01 18:40:48 pl 1.8.90.1: #i91274# add math
Diffstat (limited to 'sfx2/source/appl')
-rw-r--r--sfx2/source/appl/shutdowniconunx.cxx5
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx
index 60ae87d2d7..f72399eba3 100644
--- a/sfx2/source/appl/shutdowniconunx.cxx
+++ b/sfx2/source/appl/shutdowniconunx.cxx
@@ -29,6 +29,7 @@
#define SV_ICON_ID_DRAWING 6
#define SV_ICON_ID_PRESENTATION 8
#define SV_ICON_ID_DATABASE 14
+#define SV_ICON_ID_FORMULA 15
#define SV_ICON_ID_TEMPLATE 16
using namespace ::rtl;
@@ -242,6 +243,10 @@ static void populate_menu( GtkWidget *pMenu )
add_ugly_db_item (pMenuShell, BASE_URL,
SV_ICON_ID_DATABASE, G_CALLBACK( open_url_cb ));
+ if ( aModuleOptions.IsMath() )
+ add_item (pMenuShell, MATH_URL, NULL,
+ SV_ICON_ID_FORMULA, G_CALLBACK( open_url_cb ));
+
OUString aULabel = pShutdownIcon->GetResString( STR_QUICKSTART_FROMTEMPLATE );
add_item (pMenuShell, "dummy", &aULabel,
SV_ICON_ID_TEMPLATE, G_CALLBACK( open_template_cb ));