cui/source/options/optaboutconfig.hxx | 23 ++++++++++++++++++----- cui/uiconfig/ui/aboutconfigdialog.ui | 7 ++++++- 2 files changed, 24 insertions(+), 6 deletions(-)
New commits: commit bb82e581d4cb100e804c32e60efa1af5b98ae741 Author: Efe Gürkan YALAMAN <efeyala...@gmail.com> Date: Thu Jun 20 16:44:25 2013 +0300 Improvements on current prototypes. License statement added to header. modulename changed svx to cui. Change-Id: I90f96e6c4720af392b344fce1052dd135e611bae diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx index 969f130a..68fb0c5 100644 --- a/cui/source/options/optaboutconfig.hxx +++ b/cui/source/options/optaboutconfig.hxx @@ -1,16 +1,24 @@ /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ -#ifndef _SVX_OPTABOUTCONFIG_HXX -#define _SVX_OPTABOUTCONFIG_HXX +/* + * 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 INCLUDED_CUI_OPTABOUTCONFIG_HXX +#define INCLUDED_CUI_OPTBABOUTCONFIG_HXX #include <svx/simpltabl.hxx> -namespace svx +namespace cui { class OptHeaderTabListBox; } -class SvxAboutConfigTabPage : public SfxTabPage +class CuiAboutConfigTabPage : public SfxTabPage { private: SvxSimpleTableContainer* m_pPrefCtrl; @@ -18,7 +26,12 @@ private: //PushButton* m_pDefaultBtn PushButton* m_pEditBtn; - ::svx::OptHeaderTabListBox* pPrefBox; + ::cui::OptHeaderTabListBox* pPrefBox; public: + CuiAboutConfigTabPage( Window* pParent, const SfxItemSet& rItemSet ); + ~CuiAboutConfigTabPage(); + + static SfxTabPage* create( Window* pParent, const SfxItemSet& rItemset ); + } /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ diff --git a/cui/uiconfig/ui/aboutconfigdialog.ui b/cui/uiconfig/ui/aboutconfigdialog.ui index e3af350..960200e 100644 --- a/cui/uiconfig/ui/aboutconfigdialog.ui +++ b/cui/uiconfig/ui/aboutconfigdialog.ui @@ -85,22 +85,27 @@ <object class="GtkFrame" id="frame1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="vexpand">True</property> <property name="label_xalign">0</property> <property name="shadow_type">none</property> <child> <object class="GtkAlignment" id="alignment1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="top_padding">6</property> <property name="left_padding">12</property> <child> <object class="GtkBox" id="box1"> <property name="visible">True</property> <property name="can_focus">False</property> <property name="orientation">vertical</property> + <property name="spacing">6</property> <child> <object class="GtkGrid" id="grid1"> <property name="visible">True</property> <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> <property name="column_homogeneous">True</property> <child> <object class="GtkLabel" id="preference"> @@ -185,7 +190,7 @@ <object class="GtkLabel" id="label1"> <property name="visible">True</property> <property name="can_focus">False</property> - <property name="label" translatable="yes">frame1</property> + <property name="label" translatable="yes">Preferences</property> <attributes> <attribute name="weight" value="semibold"/> </attributes>
_______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits