diff options
Diffstat (limited to 'sc/source')
-rw-r--r-- | sc/source/ui/src/popup.src | 123 | ||||
-rw-r--r-- | sc/source/ui/view/tabcont.cxx | 2 |
2 files changed, 1 insertions, 124 deletions
diff --git a/sc/source/ui/src/popup.src b/sc/source/ui/src/popup.src deleted file mode 100644 index b506e027e523..000000000000 --- a/sc/source/ui/src/popup.src +++ /dev/null @@ -1,123 +0,0 @@ -/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -/* - * This file is part of the LibreOffice project. - * - * This Source Code Form is subject to the terms of the Mozilla Public - * License, v. 2.0. If a copy of the MPL was not distributed with this - * file, You can obtain one at http://mozilla.org/MPL/2.0/. - * - * This file incorporates work covered by the following license notice: - * - * Licensed to the Apache Software Foundation (ASF) under one or more - * contributor license agreements. See the NOTICE file distributed - * with this work for additional information regarding copyright - * ownership. The ASF licenses this file to you under the Apache - * License, Version 2.0 (the "License"); you may not use this file - * except in compliance with the License. You may obtain a copy of - * the License at http://www.apache.org/licenses/LICENSE-2.0 . - */ - -#include "sc.hrc" -#include <svx/globlmn.hrc> - - // Popup-Menues ---------------------------------------------------------------- - -String RID_POPUP_TAB -{ - Text [ en-US ] = "Sheet bar pop-up menu" ; -}; - -Menu RID_POPUP_TAB -{ - ItemList = - { - MenuItem - { - Identifier = FID_INS_TABLE ; - HelpId = CMD_FID_INS_TABLE ; - Text [ en-US ] = "~Insert Sheet..." ; - }; - MenuItem - { - Identifier = FID_DELETE_TABLE ; - HelpId = CMD_FID_DELETE_TABLE ; - Text [ en-US ] = "~Delete Sheet..." ; - }; - MenuItem - { - Identifier = FID_TAB_MENU_RENAME ; - HelpId = CMD_FID_TAB_MENU_RENAME ; - Text [ en-US ] = "~Rename Sheet..." ; - }; - MenuItem - { - Identifier = FID_TAB_MOVE ; - HelpId = CMD_FID_TAB_MOVE ; - Text [ en-US ] = "~Move/Copy Sheet..." ; - }; - - MenuItem { Separator = TRUE ; }; - - MenuItem - { - Identifier = FID_TAB_MENU_SET_TAB_BG_COLOR ; - HelpId = CMD_FID_TAB_MENU_SET_TAB_BG_COLOR ; - Text [ en-US ] = "~Tab Color..." ; - }; - MenuItem - { - Identifier = FID_PROTECT_TABLE ; - HelpId = CMD_FID_PROTECT_TABLE ; - Text [ en-US ] = "~Protect Sheet..." ; - }; - MenuItem - { - Identifier = FID_TAB_TOGGLE_GRID ; - Text [ en-US ] = "Sheet ~Gridlines" ; - }; - MenuItem - { - Identifier = FID_TAB_RTL ; - HelpId = CMD_FID_TAB_RTL ; - Text [ en-US ] = "S~heet Right-To-Left" ; - }; - MenuItem - { - Identifier = FID_TAB_EVENTS ; - HelpId = CMD_FID_TAB_EVENTS ; - Text [ en-US ] = "Sheet E~vents..." ; - }; - - MenuItem { Separator = TRUE ; }; - - MenuItem - { - Identifier = FID_TABLE_HIDE ; - HelpId = CMD_FID_TABLE_HIDE ; - Text [ en-US ] = "~Hide" ; - }; - MenuItem - { - Identifier = FID_TABLE_SHOW ; - HelpId = CMD_FID_TABLE_SHOW ; - Text [ en-US ] = "~Show..." ; - }; - - MenuItem { Separator = TRUE ; }; - - MenuItem - { - Identifier = FID_TAB_SELECTALL ; - HelpId = CMD_FID_TAB_SELECTALL ; - Text [ en-US ] = "Select All S~heets" ; - }; - MenuItem - { - Identifier = FID_TAB_DESELECTALL ; - HelpId = CMD_FID_TAB_DESELECTALL ; - Text [ en-US ] = "D~eselect All Sheets" ; - }; - }; -}; - -/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/sc/source/ui/view/tabcont.cxx b/sc/source/ui/view/tabcont.cxx index 70fecfa92c0c..7926f724d16a 100644 --- a/sc/source/ui/view/tabcont.cxx +++ b/sc/source/ui/view/tabcont.cxx @@ -430,7 +430,7 @@ void ScTabControl::Command( const CommandEvent& rCEvt ) // Popup-Menu: // get Dispatcher from ViewData (ViewFrame) instead of Shell (Frame), so it can't be null - pViewData->GetDispatcher().ExecutePopup( ScResId(RID_POPUP_TAB) ); + pViewData->GetDispatcher().ExecutePopup( "sheettab" ); } } |