diff options
author | Efe Gürkan YALAMAN <efeyalaman@gmail.com> | 2013-08-14 20:11:35 +0300 |
---|---|---|
committer | Thorsten Behrens <tbehrens@suse.com> | 2013-08-14 20:27:27 +0000 |
commit | 318ca03903c9459af18b3b46cdf851254cb74a58 (patch) | |
tree | 20327f7a4abaa32c691f332604bec43661d763c3 /cui | |
parent | 5b827d6c75cc12623d35487a8769768a0cfe40a6 (diff) |
Help button added to the aboutconfigvalue dialog
Change-Id: Id47fafe67c20de5b163f7a4a04d2475297664c54
Reviewed-on: https://gerrit.libreoffice.org/5421
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/options/optaboutconfig.cxx | 2 | ||||
-rw-r--r-- | cui/source/options/optaboutconfig.hxx | 3 | ||||
-rw-r--r-- | cui/uiconfig/ui/aboutconfigvaluedialog.ui | 15 |
3 files changed, 15 insertions, 5 deletions
diff --git a/cui/source/options/optaboutconfig.cxx b/cui/source/options/optaboutconfig.cxx index 30b79d827ba0..2e9c67069e82 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 df1a84c0c9b2..f2d633513ec9 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 deeab7a93863..b00c06240a4e 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> |