[Libreoffice-commits] core.git: cui/source cui/uiconfig
Efe Gürkan YALAMAN
efeyalaman at gmail.com
Wed Aug 14 13:27:49 PDT 2013
cui/source/options/optaboutconfig.cxx | 2 --
cui/source/options/optaboutconfig.hxx | 3 ---
cui/uiconfig/ui/aboutconfigvaluedialog.ui | 15 +++++++++++++++
3 files changed, 15 insertions(+), 5 deletions(-)
New commits:
commit 318ca03903c9459af18b3b46cdf851254cb74a58
Author: Efe Gürkan YALAMAN <efeyalaman at gmail.com>
Date: Wed Aug 14 20:11:35 2013 +0300
Help button added to the aboutconfigvalue dialog
Change-Id: Id47fafe67c20de5b163f7a4a04d2475297664c54
Reviewed-on: https://gerrit.libreoffice.org/5421
Tested-by: LibreOffice gerrit bot <gerrit at libreoffice.org>
Reviewed-by: Thorsten Behrens <tbehrens at suse.com>
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx
index 30b79d8..2e9c670 100644
--- a/cui/source/options/optaboutconfig.cxx
+++ b/cui/source/options/optaboutconfig.cxx
@@ -335,8 +335,6 @@ void CuiAboutConfigTabPage::AddToModifiedVector( Prop_Impl* rProp )
CuiAboutConfigValueDialog::CuiAboutConfigValueDialog( Window* pWindow, const OUString& rValue )
:ModalDialog( pWindow, "AboutConfigValueDialog", "cui/ui/aboutconfigvaluedialog.ui" )
{
- get(m_pBtnOK, "ok");
- get(m_pBtnCancel, "cancel");
get(m_pEDValue, "valuebox");
m_pEDValue->SetText( rValue );
diff --git a/cui/source/options/optaboutconfig.hxx b/cui/source/options/optaboutconfig.hxx
index df1a84c..f2d6335 100644
--- a/cui/source/options/optaboutconfig.hxx
+++ b/cui/source/options/optaboutconfig.hxx
@@ -57,9 +57,6 @@ public:
class CuiAboutConfigValueDialog : public ModalDialog
{
private:
- OKButton* m_pBtnOK;
- CancelButton* m_pBtnCancel;
-
VclMultiLineEdit* m_pEDValue;
public:
diff --git a/cui/uiconfig/ui/aboutconfigvaluedialog.ui b/cui/uiconfig/ui/aboutconfigvaluedialog.ui
index deeab7a..b00c062 100644
--- a/cui/uiconfig/ui/aboutconfigvaluedialog.ui
+++ b/cui/uiconfig/ui/aboutconfigvaluedialog.ui
@@ -45,6 +45,20 @@
<property name="position">1</property>
</packing>
</child>
+ <child>
+ <object class="GtkButton" id="help">
+ <property name="label">gtk-help</property>
+ <property name="visible">True</property>
+ <property name="can_focus">True</property>
+ <property name="receives_default">True</property>
+ <property name="use_stock">True</property>
+ </object>
+ <packing>
+ <property name="expand">False</property>
+ <property name="fill">True</property>
+ <property name="position">2</property>
+ </packing>
+ </child>
</object>
<packing>
<property name="expand">False</property>
@@ -98,6 +112,7 @@
<action-widgets>
<action-widget response="0">ok</action-widget>
<action-widget response="0">cancel</action-widget>
+ <action-widget response="0">help</action-widget>
</action-widgets>
</object>
</interface>
More information about the Libreoffice-commits
mailing list