diff options
author | Serge Krot <Serge.Krot@cib.de> | 2017-11-14 15:29:47 +0100 |
---|---|---|
committer | Thorsten Behrens <Thorsten.Behrens@CIB.de> | 2017-11-14 22:09:58 +0100 |
commit | 27e4a3c4e364d1858eb3e77348ee78c6c6d33cf1 (patch) | |
tree | bfc5e160186cc84c4e0f4a194f3ea72e223a55d7 /cui | |
parent | 12d75e5fa387767776c35945303fcd969f5cbbde (diff) |
related tdf#113807: Clean up Links dialog: remove useless hidden button
Change-Id: I0e8f9d7b538dd094d53cda69517e94fbafd0d752
Reviewed-on: https://gerrit.libreoffice.org/44725
Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
Diffstat (limited to 'cui')
-rw-r--r-- | cui/source/dialogs/linkdlg.cxx | 4 | ||||
-rw-r--r-- | cui/source/inc/linkdlg.hxx | 1 | ||||
-rw-r--r-- | cui/uiconfig/ui/baselinksdialog.ui | 20 |
3 files changed, 2 insertions, 23 deletions
diff --git a/cui/source/dialogs/linkdlg.cxx b/cui/source/dialogs/linkdlg.cxx index 4ffa5c090cad..6d61767457a5 100644 --- a/cui/source/dialogs/linkdlg.cxx +++ b/cui/source/dialogs/linkdlg.cxx @@ -108,7 +108,6 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b get(m_pRbAutomatic, "AUTOMATIC"); get(m_pRbManual, "MANUAL"); get(m_pPbUpdateNow, "UPDATE_NOW"); - get(m_pPbOpenSource, "OPEN"); get(m_pPbChangeSource, "CHANGE_SOURCE"); get(m_pPbBreakLink, "BREAK_LINK"); @@ -126,8 +125,6 @@ SvBaseLinksDlg::SvBaseLinksDlg( vcl::Window * pParent, LinkManager* pMgr, bool b aUpdateIdle.SetInvokeHandler( LINK( this, SvBaseLinksDlg, UpdateWaitingHdl ) ); aUpdateIdle.SetPriority( TaskPriority::LOWEST ); - m_pPbOpenSource->Hide(); - m_pTbLinks->SetSelectHdl( LINK( this, SvBaseLinksDlg, LinksSelectHdl ) ); m_pTbLinks->SetDoubleClickHdl( LINK( this, SvBaseLinksDlg, LinksDoubleClickHdl ) ); m_pRbAutomatic->SetClickHdl( LINK( this, SvBaseLinksDlg, AutomaticClickHdl ) ); @@ -156,7 +153,6 @@ void SvBaseLinksDlg::dispose() m_pRbAutomatic.clear(); m_pRbManual.clear(); m_pPbUpdateNow.clear(); - m_pPbOpenSource.clear(); m_pPbChangeSource.clear(); m_pPbBreakLink.clear(); ModalDialog::dispose(); diff --git a/cui/source/inc/linkdlg.hxx b/cui/source/inc/linkdlg.hxx index 9d274b431951..15fcb6f7a8d9 100644 --- a/cui/source/inc/linkdlg.hxx +++ b/cui/source/inc/linkdlg.hxx @@ -52,7 +52,6 @@ class SvBaseLinksDlg : public ModalDialog VclPtr<RadioButton> m_pRbAutomatic; VclPtr<RadioButton> m_pRbManual; VclPtr<PushButton> m_pPbUpdateNow; - VclPtr<PushButton> m_pPbOpenSource; VclPtr<PushButton> m_pPbChangeSource; VclPtr<PushButton> m_pPbBreakLink; OUString aStrAutolink; diff --git a/cui/uiconfig/ui/baselinksdialog.ui b/cui/uiconfig/ui/baselinksdialog.ui index b04ed44cc7d0..6fe5c16bf870 100644 --- a/cui/uiconfig/ui/baselinksdialog.ui +++ b/cui/uiconfig/ui/baselinksdialog.ui @@ -65,21 +65,6 @@ </packing> </child> <child> - <object class="GtkButton" id="OPEN"> - <property name="label" translatable="yes" context="baselinksdialog|OPEN">_Open</property> - <property name="use_action_appearance">False</property> - <property name="visible">True</property> - <property name="can_focus">True</property> - <property name="receives_default">True</property> - <property name="use_underline">True</property> - </object> - <packing> - <property name="expand">False</property> - <property name="fill">True</property> - <property name="position">3</property> - </packing> - </child> - <child> <object class="GtkButton" id="CHANGE_SOURCE"> <property name="label" translatable="yes" context="baselinksdialog|CHANGE_SOURCE">_Modify...</property> <property name="use_action_appearance">False</property> @@ -91,7 +76,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">4</property> + <property name="position">3</property> </packing> </child> <child> @@ -106,7 +91,7 @@ <packing> <property name="expand">False</property> <property name="fill">True</property> - <property name="position">5</property> + <property name="position">4</property> </packing> </child> </object> @@ -430,7 +415,6 @@ <action-widget response="0">CLOSE</action-widget> <action-widget response="0">HELP</action-widget> <action-widget response="0">UPDATE_NOW</action-widget> - <action-widget response="0">OPEN</action-widget> <action-widget response="0">CHANGE_SOURCE</action-widget> <action-widget response="0">BREAK_LINK</action-widget> </action-widgets> |