Kaydet (Commit) 50d9f150 authored tarafından Caolán McNamara's avatar Caolán McNamara

weld Break dialog

Change-Id: I1657a02c775cf08e0888ba4cc9f9ae3b06550020
Reviewed-on: https://gerrit.libreoffice.org/52256Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarCaolán McNamara <caolanm@redhat.com>
Tested-by: 's avatarCaolán McNamara <caolanm@redhat.com>
üst fb4660e2
...@@ -178,7 +178,7 @@ class SdAbstractDialogFactory ...@@ -178,7 +178,7 @@ class SdAbstractDialogFactory
public: public:
SD_DLLPUBLIC static SdAbstractDialogFactory* Create(); SD_DLLPUBLIC static SdAbstractDialogFactory* Create();
virtual VclPtr<VclAbstractDialog> CreateBreakDlg(vcl::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount ) = 0; virtual VclPtr<VclAbstractDialog> CreateBreakDlg(weld::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount ) = 0;
virtual VclPtr<AbstractCopyDlg> CreateCopyDlg(vcl::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView ) = 0; virtual VclPtr<AbstractCopyDlg> CreateCopyDlg(vcl::Window* pWindow, const SfxItemSet& rInAttrs, ::sd::View* pView ) = 0;
virtual VclPtr<AbstractSdCustomShowDlg> CreateSdCustomShowDlg(vcl::Window* pWindow, SdDrawDocument& rDrawDoc) = 0; virtual VclPtr<AbstractSdCustomShowDlg> CreateSdCustomShowDlg(vcl::Window* pWindow, SdDrawDocument& rDrawDoc) = 0;
virtual VclPtr<SfxAbstractTabDialog> CreateSdTabCharDialog(vcl::Window* pWindow, const SfxItemSet* pAttr, SfxObjectShell* pDocShell) = 0; virtual VclPtr<SfxAbstractTabDialog> CreateSdTabCharDialog(vcl::Window* pWindow, const SfxItemSet* pAttr, SfxObjectShell* pDocShell) = 0;
......
...@@ -38,59 +38,34 @@ namespace sd { ...@@ -38,59 +38,34 @@ namespace sd {
* dialog to split metafiles * dialog to split metafiles
*/ */
BreakDlg::BreakDlg( BreakDlg::BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell,
vcl::Window* pWindow, sal_uLong nSumActionCount, sal_uLong nObjCount)
DrawView* _pDrView, : GenericDialogController(pWindow, "modules/sdraw/ui/breakdialog.ui", "BreakDialog")
DrawDocShell* pShell, , m_xFiObjInfo(m_xBuilder->weld_label("metafiles"))
sal_uLong nSumActionCount, , m_xFiActInfo(m_xBuilder->weld_label("metaobjects"))
sal_uLong nObjCount ) , m_xFiInsInfo(m_xBuilder->weld_label("drawingobjects"))
: SfxModalDialog(pWindow, "BreakDialog", "modules/sdraw/ui/breakdialog.ui") , m_xBtnCancel(m_xBuilder->weld_button("cancel"))
, mpProgress( nullptr ) , m_pDrView(pDrView)
, m_bCancel(false)
{ {
m_aUpdateIdle.SetPriority( TaskPriority::REPAINT ); m_aUpdateIdle.SetPriority( TaskPriority::REPAINT );
m_aUpdateIdle.SetInvokeHandler( LINK( this, BreakDlg, InitialUpdate ) ); m_aUpdateIdle.SetInvokeHandler( LINK( this, BreakDlg, InitialUpdate ) );
m_aUpdateIdle.SetDebugName( "sd::BreakDlg m_aUpdateIdle" ); m_aUpdateIdle.SetDebugName( "sd::BreakDlg m_aUpdateIdle" );
get(m_pFiObjInfo, "metafiles"); m_xBtnCancel->connect_clicked(LINK(this, BreakDlg, CancelButtonHdl));
get(m_pFiActInfo, "metaobjects");
get(m_pFiInsInfo, "drawingobjects");
get(m_pBtnCancel, "cancel");
m_pBtnCancel->SetClickHdl( LINK( this, BreakDlg, CancelButtonHdl)); m_xProgress.reset(new SfxProgress(pShell, SdResId(STR_BREAK_METAFILE), nSumActionCount*3));
mpProgress = new SfxProgress( pShell, SdResId(STR_BREAK_METAFILE), nSumActionCount*3 ); m_xProgrInfo.reset(new SvdProgressInfo(LINK(this, BreakDlg, UpDate)));
pProgrInfo = new SvdProgressInfo( LINK(this, BreakDlg, UpDate) );
// every action is edited 3 times in DoImport() // every action is edited 3 times in DoImport()
pProgrInfo->Init( nObjCount ); m_xProgrInfo->Init( nObjCount );
pDrView = _pDrView;
bCancel = false;
}
BreakDlg::~BreakDlg()
{
disposeOnce();
}
void BreakDlg::dispose()
{
delete mpProgress;
mpProgress = nullptr;
delete pProgrInfo;
pProgrInfo = nullptr;
m_pFiObjInfo.clear();
m_pFiActInfo.clear();
m_pFiInsInfo.clear();
m_pBtnCancel.clear();
SfxModalDialog::dispose();
} }
// Control-Handler for cancel button // Control-Handler for cancel button
IMPL_LINK_NOARG(BreakDlg, CancelButtonHdl, Button*, void) IMPL_LINK_NOARG(BreakDlg, CancelButtonHdl, weld::Button&, void)
{ {
bCancel = true; m_bCancel = true;
m_pBtnCancel->Disable(); m_xBtnCancel->set_sensitive(false);
} }
/** /**
...@@ -101,73 +76,72 @@ IMPL_LINK_NOARG(BreakDlg, CancelButtonHdl, Button*, void) ...@@ -101,73 +76,72 @@ IMPL_LINK_NOARG(BreakDlg, CancelButtonHdl, Button*, void)
*/ */
IMPL_LINK( BreakDlg, UpDate, void*, nInit, bool ) IMPL_LINK( BreakDlg, UpDate, void*, nInit, bool )
{ {
if(pProgrInfo == nullptr) if (!m_xProgrInfo)
return true; return true;
// update status bar or show a error message? // update status bar or show a error message?
if(nInit == reinterpret_cast<void*>(1)) if(nInit == reinterpret_cast<void*>(1))
{ {
std::unique_ptr<weld::MessageDialog> xErrBox(Application::CreateMessageDialog(GetFrameWeld(), std::unique_ptr<weld::MessageDialog> xErrBox(Application::CreateMessageDialog(m_xDialog.get(),
VclMessageType::Warning, VclButtonsType::Ok, VclMessageType::Warning, VclButtonsType::Ok,
SdResId(STR_BREAK_FAIL))); SdResId(STR_BREAK_FAIL)));
xErrBox->run(); xErrBox->run();
} }
else else
{ {
if(mpProgress) if (m_xProgress)
mpProgress->SetState( pProgrInfo->GetSumCurAction() ); m_xProgress->SetState(m_xProgrInfo->GetSumCurAction());
} }
// which object is shown at the moment? // which object is shown at the moment?
OUString info = OUString::number( pProgrInfo->GetCurObj() ) OUString info = OUString::number(m_xProgrInfo->GetCurObj())
+ "/" + "/"
+ OUString::number( pProgrInfo->GetObjCount() ); + OUString::number(m_xProgrInfo->GetObjCount());
m_pFiObjInfo->SetText(info); m_xFiObjInfo->set_label(info);
// how many actions are started? // how many actions are started?
if(pProgrInfo->GetActionCount() == 0) if (m_xProgrInfo->GetActionCount() == 0)
{ {
m_pFiActInfo->SetText( OUString() ); m_xFiActInfo->set_label( OUString() );
} }
else else
{ {
info = OUString::number( pProgrInfo->GetCurAction() ) info = OUString::number(m_xProgrInfo->GetCurAction())
+ "/" + "/"
+ OUString::number( pProgrInfo->GetActionCount() ); + OUString::number(m_xProgrInfo->GetActionCount());
m_pFiActInfo->SetText(info); m_xFiActInfo->set_label(info);
} }
// and inserted???? // and inserted????
if(pProgrInfo->GetInsertCount() == 0) if (m_xProgrInfo->GetInsertCount() == 0)
{ {
m_pFiInsInfo->SetText( OUString() ); m_xFiInsInfo->set_label( OUString() );
} }
else else
{ {
info = OUString::number( pProgrInfo->GetCurInsert() ) info = OUString::number(m_xProgrInfo->GetCurInsert())
+ "/" + "/"
+ OUString::number( pProgrInfo->GetInsertCount() ); + OUString::number(m_xProgrInfo->GetInsertCount());
m_pFiInsInfo->SetText(info); m_xFiInsInfo->set_label(info);
} }
// make sure dialog gets painted, it is intended to // make sure dialog gets painted, it is intended to
// show the progress to the user. Also necessary to // show the progress to the user. Also necessary to
// provide a clickable cancel button // provide a clickable cancel button
ensureRepaint(); Application::Reschedule(true);
// return okay-value (-> !cancel) // return okay-value (-> !cancel)
return !bCancel; return !m_bCancel;
} }
/** /**
* open a modal dialog and start a timer which calls the working function after * open a modal dialog and start a timer which calls the working function after
* the opening of the dialog * the opening of the dialog
*/ */
short BreakDlg::Execute() short BreakDlg::execute()
{ {
m_aUpdateIdle.Start(); m_aUpdateIdle.Start();
return run();
return SfxModalDialog::Execute();
} }
/** /**
...@@ -175,8 +149,8 @@ short BreakDlg::Execute() ...@@ -175,8 +149,8 @@ short BreakDlg::Execute()
*/ */
IMPL_LINK_NOARG(BreakDlg, InitialUpdate, Timer *, void) IMPL_LINK_NOARG(BreakDlg, InitialUpdate, Timer *, void)
{ {
pDrView->DoImportMarkedMtf(pProgrInfo); m_pDrView->DoImportMarkedMtf(m_xProgrInfo.get());
EndDialog(RET_OK); m_xDialog->response(RET_OK);
} }
} // end of namespace sd } // end of namespace sd
......
...@@ -65,6 +65,16 @@ IMPL_ABSTDLG_BASE(AbstractSdPublishingDlg_Impl); ...@@ -65,6 +65,16 @@ IMPL_ABSTDLG_BASE(AbstractSdPublishingDlg_Impl);
IMPL_ABSTDLG_BASE(AbstractHeaderFooterDialog_Impl); IMPL_ABSTDLG_BASE(AbstractHeaderFooterDialog_Impl);
IMPL_ABSTDLG_BASE(AbstractBulletDialog_Impl); IMPL_ABSTDLG_BASE(AbstractBulletDialog_Impl);
AbstractBreakDlg_Impl::AbstractBreakDlg_Impl(::sd::BreakDlg* pDlg)
: m_xDlg(pDlg)
{
}
short AbstractBreakDlg_Impl::Execute()
{
return m_xDlg->execute();
}
void AbstractCopyDlg_Impl::GetAttr( SfxItemSet& rOutAttrs ) void AbstractCopyDlg_Impl::GetAttr( SfxItemSet& rOutAttrs )
{ {
pDlg->GetAttr( rOutAttrs ); pDlg->GetAttr( rOutAttrs );
...@@ -284,13 +294,13 @@ void AbstractSdPublishingDlg_Impl::GetParameterSequence( css::uno::Sequence< css ...@@ -284,13 +294,13 @@ void AbstractSdPublishingDlg_Impl::GetParameterSequence( css::uno::Sequence< css
//-------------- SdAbstractDialogFactory implementation-------------- //-------------- SdAbstractDialogFactory implementation--------------
VclPtr<VclAbstractDialog> SdAbstractDialogFactory_Impl::CreateBreakDlg( VclPtr<VclAbstractDialog> SdAbstractDialogFactory_Impl::CreateBreakDlg(
vcl::Window* pParent, weld::Window* pParent,
::sd::DrawView* pDrView, ::sd::DrawView* pDrView,
::sd::DrawDocShell* pShell, ::sd::DrawDocShell* pShell,
sal_uLong nSumActionCount, sal_uLong nSumActionCount,
sal_uLong nObjCount ) sal_uLong nObjCount )
{ {
return VclPtr<SdVclAbstractDialog_Impl>::Create( VclPtr<::sd::BreakDlg>::Create( pParent, pDrView, pShell, nSumActionCount, nObjCount ) ); return VclPtr<AbstractBreakDlg_Impl>::Create(new ::sd::BreakDlg(pParent, pDrView, pShell, nSumActionCount, nObjCount));
} }
VclPtr<AbstractCopyDlg> SdAbstractDialogFactory_Impl::CreateCopyDlg(vcl::Window* pParent, VclPtr<AbstractCopyDlg> SdAbstractDialogFactory_Impl::CreateCopyDlg(vcl::Window* pParent,
......
...@@ -63,6 +63,15 @@ class SdVclAbstractDialog_Impl : public VclAbstractDialog ...@@ -63,6 +63,15 @@ class SdVclAbstractDialog_Impl : public VclAbstractDialog
DECL_ABSTDLG_BASE(SdVclAbstractDialog_Impl,Dialog) DECL_ABSTDLG_BASE(SdVclAbstractDialog_Impl,Dialog)
}; };
class AbstractBreakDlg_Impl : public VclAbstractDialog
{
private:
std::unique_ptr<sd::BreakDlg> m_xDlg;
public:
AbstractBreakDlg_Impl(::sd::BreakDlg* pDlg);
virtual short Execute() override;
};
class AbstractCopyDlg_Impl : public AbstractCopyDlg class AbstractCopyDlg_Impl : public AbstractCopyDlg
{ {
DECL_ABSTDLG_BASE(AbstractCopyDlg_Impl,::sd::CopyDlg) DECL_ABSTDLG_BASE(AbstractCopyDlg_Impl,::sd::CopyDlg)
...@@ -209,7 +218,7 @@ class SdAbstractDialogFactory_Impl : public SdAbstractDialogFactory ...@@ -209,7 +218,7 @@ class SdAbstractDialogFactory_Impl : public SdAbstractDialogFactory
public: public:
virtual ~SdAbstractDialogFactory_Impl() {} virtual ~SdAbstractDialogFactory_Impl() {}
virtual VclPtr<VclAbstractDialog> CreateBreakDlg(vcl::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount) override; virtual VclPtr<VclAbstractDialog> CreateBreakDlg(weld::Window* pWindow, ::sd::DrawView* pDrView, ::sd::DrawDocShell* pShell, sal_uLong nSumActionCount, sal_uLong nObjCount) override;
virtual VclPtr<AbstractCopyDlg> CreateCopyDlg(vcl::Window* pParent, const SfxItemSet& rInAttrs, ::sd::View* pView) override; virtual VclPtr<AbstractCopyDlg> CreateCopyDlg(vcl::Window* pParent, const SfxItemSet& rInAttrs, ::sd::View* pView) override;
virtual VclPtr<AbstractSdCustomShowDlg> CreateSdCustomShowDlg(vcl::Window* pParent, SdDrawDocument& rDrawDoc) override; virtual VclPtr<AbstractSdCustomShowDlg> CreateSdCustomShowDlg(vcl::Window* pParent, SdDrawDocument& rDrawDoc) override;
virtual VclPtr<SfxAbstractTabDialog> CreateSdTabCharDialog(vcl::Window* pWindow, const SfxItemSet* pAttr, SfxObjectShell* pDocShell) override; virtual VclPtr<SfxAbstractTabDialog> CreateSdTabCharDialog(vcl::Window* pWindow, const SfxItemSet* pAttr, SfxObjectShell* pDocShell) override;
......
...@@ -20,18 +20,10 @@ ...@@ -20,18 +20,10 @@
#ifndef INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX #ifndef INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
#define INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX #define INCLUDED_SD_SOURCE_UI_INC_BREAKDLG_HXX
#include <vcl/group.hxx> #include <sfx2/progress.hxx>
#include <vcl/button.hxx> #include <svx/svdetc.hxx>
#include <svx/dlgctrl.hxx>
#include <vcl/field.hxx>
#include <vcl/fixed.hxx>
#include <vcl/prgsbar.hxx>
#include <vcl/edit.hxx>
#include <sfx2/basedlgs.hxx>
#include <vcl/idle.hxx> #include <vcl/idle.hxx>
#include <vcl/weld.hxx>
class SvdProgressInfo;
class SfxProgress;
namespace sd { namespace sd {
...@@ -41,38 +33,31 @@ class DrawView; ...@@ -41,38 +33,31 @@ class DrawView;
/** /**
* dialog to break meta files * dialog to break meta files
*/ */
class BreakDlg class BreakDlg : public weld::GenericDialogController
: public SfxModalDialog
{ {
public: public:
BreakDlg ( BreakDlg(weld::Window* pWindow, DrawView* pDrView, DrawDocShell* pShell,
vcl::Window* pWindow, sal_uLong nSumActionCount, sal_uLong nObjCount);
DrawView* pDrView,
DrawDocShell* pShell,
sal_uLong nSumActionCount,
sal_uLong nObjCount);
virtual ~BreakDlg() override;
virtual void dispose() override;
short Execute() override; short execute();
private: private:
VclPtr<FixedText> m_pFiObjInfo; std::unique_ptr<weld::Label> m_xFiObjInfo;
VclPtr<FixedText> m_pFiActInfo; std::unique_ptr<weld::Label> m_xFiActInfo;
VclPtr<FixedText> m_pFiInsInfo; std::unique_ptr<weld::Label> m_xFiInsInfo;
VclPtr<CancelButton> m_pBtnCancel; std::unique_ptr<weld::Button> m_xBtnCancel;
DrawView* pDrView; DrawView* m_pDrView;
bool bCancel; bool m_bCancel;
Idle m_aUpdateIdle; Idle m_aUpdateIdle;
SvdProgressInfo *pProgrInfo; std::unique_ptr<SvdProgressInfo> m_xProgrInfo;
SfxProgress *mpProgress; std::unique_ptr<SfxProgress> m_xProgress;
DECL_LINK( CancelButtonHdl, Button*, void ); DECL_LINK(CancelButtonHdl, weld::Button&, void);
DECL_LINK( UpDate, void*, bool ); DECL_LINK(UpDate, void*, bool);
DECL_LINK( InitialUpdate, Timer*, void ); DECL_LINK(InitialUpdate, Timer*, void);
}; };
} // end of namespace sd } // end of namespace sd
......
...@@ -2790,7 +2790,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq) ...@@ -2790,7 +2790,7 @@ void DrawViewShell::FuTemporary(SfxRequest& rReq)
SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create(); SdAbstractDialogFactory* pFact = SdAbstractDialogFactory::Create();
if( pFact ) if( pFact )
{ {
ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateBreakDlg(GetActiveWindow(), mpDrawView.get(), GetDocSh(), nCount, static_cast<sal_uLong>(nCnt) )); ScopedVclPtr<VclAbstractDialog> pDlg(pFact->CreateBreakDlg(GetFrameWeld(), mpDrawView.get(), GetDocSh(), nCount, static_cast<sal_uLong>(nCnt) ));
if( pDlg ) if( pDlg )
{ {
pDlg->Execute(); pDlg->Execute();
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<!-- Generated with glade 3.20.4 -->
<interface domain="sd"> <interface domain="sd">
<!-- interface-requires gtk+ 3.0 --> <requires lib="gtk+" version="3.0"/>
<object class="GtkDialog" id="BreakDialog"> <object class="GtkDialog" id="BreakDialog">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">6</property> <property name="border_width">6</property>
<property name="title" translatable="yes" context="breakdialog|BreakDialog">Break</property> <property name="title" translatable="yes" context="breakdialog|BreakDialog">Break</property>
<property name="modal">True</property>
<property name="default_width">0</property>
<property name="default_height">0</property>
<property name="type_hint">dialog</property> <property name="type_hint">dialog</property>
<child internal-child="vbox"> <child internal-child="vbox">
<object class="GtkBox" id="dialog-vbox1"> <object class="GtkBox" id="dialog-vbox1">
...@@ -47,84 +51,72 @@ ...@@ -47,84 +51,72 @@
<object class="GtkLabel" id="label1"> <object class="GtkLabel" id="label1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes" context="breakdialog|label1">Processing metafile:</property> <property name="label" translatable="yes" context="breakdialog|label1">Processing metafile:</property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">0</property> <property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="label2"> <object class="GtkLabel" id="label2">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes" context="breakdialog|label2">Broken down metaobjects:</property> <property name="label" translatable="yes" context="breakdialog|label2">Broken down metaobjects:</property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">1</property> <property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="label3"> <object class="GtkLabel" id="label3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label" translatable="yes" context="breakdialog|label3">Inserted drawing objects:</property> <property name="label" translatable="yes" context="breakdialog|label3">Inserted drawing objects:</property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">0</property> <property name="left_attach">0</property>
<property name="top_attach">2</property> <property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="metafiles"> <object class="GtkLabel" id="metafiles">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label"> </property> <property name="label"> </property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
<property name="top_attach">0</property> <property name="top_attach">0</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="metaobjects"> <object class="GtkLabel" id="metaobjects">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label"> </property> <property name="label"> </property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
<property name="top_attach">1</property> <property name="top_attach">1</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkLabel" id="drawingobjects"> <object class="GtkLabel" id="drawingobjects">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="xalign">0</property>
<property name="label"> </property> <property name="label"> </property>
<property name="xalign">0</property>
</object> </object>
<packing> <packing>
<property name="left_attach">1</property> <property name="left_attach">1</property>
<property name="top_attach">2</property> <property name="top_attach">2</property>
<property name="width">1</property>
<property name="height">1</property>
</packing> </packing>
</child> </child>
</object> </object>
...@@ -139,5 +131,8 @@ ...@@ -139,5 +131,8 @@
<action-widgets> <action-widgets>
<action-widget response="-6">cancel</action-widget> <action-widget response="-6">cancel</action-widget>
</action-widgets> </action-widgets>
<child>
<placeholder/>
</child>
</object> </object>
</interface> </interface>
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