diff options
Diffstat (limited to 'sfx2')
-rw-r--r-- | sfx2/source/appl/shutdowniconunx.cxx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sfx2/source/appl/shutdowniconunx.cxx b/sfx2/source/appl/shutdowniconunx.cxx index 54f2734ed51e..557f130e29f6 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 )); |