Kaydet (Commit) 4102ed7c authored tarafından Jan Holesovsky's avatar Jan Holesovsky

Personas: Introduce Tools -> Options... entry for Firefox Personas.

Change-Id: I95275a92ea607cce26f272044bc2de95de45d75b
üst 318e8eef
......@@ -164,6 +164,7 @@ $(eval $(call gb_Library_add_exception_objects,cui,\
cui/source/options/optpath \
cui/source/options/optsave \
cui/source/options/optupdt \
cui/source/options/personalization \
cui/source/options/radiobtnbox \
cui/source/options/readonlyimage \
cui/source/options/sdbcdriverenum \
......
......@@ -19,6 +19,7 @@ $(eval $(call gb_UI_add_uifiles,cui,\
cui/uiconfig/ui/insertrowcolumn \
cui/uiconfig/ui/scriptorganizer \
cui/uiconfig/ui/macroselectordialog \
cui/uiconfig/ui/personalization_tab \
cui/uiconfig/ui/positionpage \
cui/uiconfig/ui/specialcharacters \
cui/uiconfig/ui/thesaurus \
......
......@@ -161,6 +161,7 @@
#define RID_OPTPAGE_CHART_DEFCOLORS (RID_SVX_START + 299)
#define RID_OPTQB_COLOR_CHART_DELETE (RID_SVX_START + 296)
#define RID_OPTSTR_COLOR_CHART_DELETE (RID_SVX_START + 289)
#define RID_SVXPAGE_PERSONALIZATION (RID_SVX_START + 247)
#define RID_SVXPAGE_COLORCONFIG (RID_SVX_START + 249)
#define RID_SVXQB_DELETE_COLOR_CONFIG (RID_SVX_START + 324)
#define RID_SVXSTR_COLOR_CONFIG_SAVE1 (RID_SVX_START + 853)
......
/* -*- 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/.
*/
#include "personalization.hxx"
#include <vcl/fixed.hxx>
SvxPersonalizationTabPage::SvxPersonalizationTabPage( Window *pParent, const SfxItemSet &rSet )
: SfxTabPage( pParent, "PersonalizationTabPage", "cui/ui/personalization_tab.ui", rSet )
{
get( m_pNoPersona, "no_persona" );
}
SvxPersonalizationTabPage::~SvxPersonalizationTabPage()
{
}
SfxTabPage* SvxPersonalizationTabPage::Create( Window *pParent, const SfxItemSet &rSet )
{
return new SvxPersonalizationTabPage( pParent, rSet );
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
/* -*- 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/.
*/
#ifndef SVX_PERSONALIZATION_HXX
#define SVX_PERSONALIZATION_HXX
#include <sfx2/tabdlg.hxx>
class FixedText;
class SvxPersonalizationTabPage : public SfxTabPage
{
using SfxTabPage::DeactivatePage;
private:
RadioButton *m_pNoPersona; ///< Just the default look, without any bitmap
public:
SvxPersonalizationTabPage( Window *pParent, const SfxItemSet &rSet );
~SvxPersonalizationTabPage();
static SfxTabPage* Create( Window *pParent, const SfxItemSet &rSet );
};
#endif // SVX_PERSONALIZATION_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */
......@@ -48,6 +48,7 @@
#include "optpath.hxx"
#include "optsave.hxx"
#include "optupdt.hxx"
#include "personalization.hxx"
#include "treeopt.hxx"
#include <com/sun/star/awt/XContainerWindowEventHandler.hpp>
......@@ -303,6 +304,7 @@ SfxTabPage* CreateGeneralTabPage( sal_uInt16 nId, Window* pParent, const SfxItem
case RID_SVXPAGE_INET_PROXY: fnCreate = &SvxProxyTabPage::Create; break;
case RID_SVXPAGE_INET_SECURITY: fnCreate = &SvxSecurityTabPage::Create; break;
case RID_SVXPAGE_INET_MAIL: fnCreate = &SvxEMailTabPage::Create; break;
case RID_SVXPAGE_PERSONALIZATION: fnCreate = &SvxPersonalizationTabPage::Create; break;
case RID_SVXPAGE_COLORCONFIG: fnCreate = &SvxColorOptionsTabPage::Create; break;
case RID_OFAPAGE_HTMLOPT: fnCreate = &OfaHtmlTabPage::Create; break;
case SID_OPTFILTER_MSOFFICE: fnCreate = &OfaMSFilterTabPage::Create; break;
......@@ -342,6 +344,7 @@ static OptionsMapping_Impl const OptionsMap_Impl[] =
{ "ProductName", "Colors", RID_SVXPAGE_COLOR },
{ "ProductName", "Fonts", RID_SVX_FONT_SUBSTITUTION },
{ "ProductName", "Security", RID_SVXPAGE_INET_SECURITY },
{ "ProductName", "Personalization", RID_SVXPAGE_PERSONALIZATION },
{ "ProductName", "Appearance", RID_SVXPAGE_COLORCONFIG },
{ "ProductName", "Accessibility", RID_SVXPAGE_ACCESSIBILITYCONFIG },
{ "ProductName", "Java", RID_SVXPAGE_OPTIONS_JAVA },
......
......@@ -95,6 +95,7 @@ Resource RID_OFADLG_OPTIONS_TREE_PAGES
< "Colors" ; RID_SVXPAGE_COLOR; > ;
< "Fonts" ; RID_SVX_FONT_SUBSTITUTION ; > ;
< "Security" ; RID_SVXPAGE_INET_SECURITY ; > ;
< "Personalization" ; RID_SVXPAGE_PERSONALIZATION ; > ;
< "Appearance" ; RID_SVXPAGE_COLORCONFIG ; > ;
< "Accessibility" ; RID_SVXPAGE_ACCESSIBILITYCONFIG ; > ;
< "Advanced" ; RID_SVXPAGE_OPTIONS_JAVA ; > ;
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment