Kaydet (Commit) 569ef418 authored tarafından Caolán McNamara's avatar Caolán McNamara

adapt code for delete cells dialog

Change-Id: Ibf587e1ea94765f0322a5b847bcf82d1eabc1b64
üst eb4786e8
...@@ -61,6 +61,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/scalc,\ ...@@ -61,6 +61,7 @@ $(eval $(call gb_UIConfig_add_toolbarfiles,modules/scalc,\
$(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\ $(eval $(call gb_UIConfig_add_uifiles,modules/scalc,\
sc/uiconfig/scalc/ui/cellprotectionpage \ sc/uiconfig/scalc/ui/cellprotectionpage \
sc/uiconfig/scalc/ui/definename \ sc/uiconfig/scalc/ui/definename \
sc/uiconfig/scalc/ui/deletecells \
sc/uiconfig/scalc/ui/deletecontents \ sc/uiconfig/scalc/ui/deletecontents \
sc/uiconfig/scalc/ui/formatcellsdialog \ sc/uiconfig/scalc/ui/formatcellsdialog \
sc/uiconfig/scalc/ui/insertname \ sc/uiconfig/scalc/ui/insertname \
......
...@@ -951,7 +951,7 @@ ...@@ -951,7 +951,7 @@
#define RID_SCDLG_FILTER (SC_DIALOGS_START + 8) #define RID_SCDLG_FILTER (SC_DIALOGS_START + 8)
#define RID_SCDLG_SPEC_FILTER (SC_DIALOGS_START + 9) #define RID_SCDLG_SPEC_FILTER (SC_DIALOGS_START + 9)
#define RID_SCDLG_DELCELL (SC_DIALOGS_START + 11)
#define RID_SCDLG_INSCELL (SC_DIALOGS_START + 12) #define RID_SCDLG_INSCELL (SC_DIALOGS_START + 12)
#define RID_SCDLG_INSCONT (SC_DIALOGS_START + 14) #define RID_SCDLG_INSCONT (SC_DIALOGS_START + 14)
......
...@@ -358,7 +358,7 @@ public: ...@@ -358,7 +358,7 @@ public:
const com::sun::star::uno::Sequence<OUString>& rServices, const com::sun::star::uno::Sequence<OUString>& rServices,
int nId ) = 0; int nId ) = 0;
virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg( Window* pParent, int nId, sal_Bool bDisallowCellMove = false ) = 0 ; //add for ScDeleteCellDlg virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false) = 0 ; //add for ScDeleteCellDlg
//for dataform //for dataform
virtual AbstractScDataFormDlg * CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell ) = 0 ; //add for ScDataFormDlg virtual AbstractScDataFormDlg * CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell ) = 0 ; //add for ScDataFormDlg
......
...@@ -832,27 +832,13 @@ AbstractScDataPilotServiceDlg* ScAbstractDialogFactory_Impl::CreateScDataPilotSe ...@@ -832,27 +832,13 @@ AbstractScDataPilotServiceDlg* ScAbstractDialogFactory_Impl::CreateScDataPilotSe
// add for ScDataPilotServiceDlg end // add for ScDataPilotServiceDlg end
AbstractScDeleteCellDlg* ScAbstractDialogFactory_Impl::CreateScDeleteCellDlg( Window* pParent, int nId, AbstractScDeleteCellDlg* ScAbstractDialogFactory_Impl::CreateScDeleteCellDlg(Window* pParent,
sal_Bool bDisallowCellMove ) bool bDisallowCellMove)
{ {
ScDeleteCellDlg * pDlg=NULL; ScDeleteCellDlg * pDlg = new ScDeleteCellDlg(pParent, bDisallowCellMove);
switch ( nId )
{
case RID_SCDLG_DELCELL :
pDlg = new ScDeleteCellDlg( pParent, bDisallowCellMove );
break;
default:
break;
}
if ( pDlg )
return new AbstractScDeleteCellDlg_Impl( pDlg ); return new AbstractScDeleteCellDlg_Impl( pDlg );
return 0;
} }
AbstractScDataFormDlg* ScAbstractDialogFactory_Impl::CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell ) AbstractScDataFormDlg* ScAbstractDialogFactory_Impl::CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell )
{ {
ScDataFormDlg * pDlg=NULL; ScDataFormDlg * pDlg=NULL;
......
...@@ -424,8 +424,7 @@ public: ...@@ -424,8 +424,7 @@ public:
virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent, //add for ScDataPilotServiceDlg virtual AbstractScDataPilotServiceDlg * CreateScDataPilotServiceDlg( Window* pParent, //add for ScDataPilotServiceDlg
const com::sun::star::uno::Sequence<OUString>& rServices, const com::sun::star::uno::Sequence<OUString>& rServices,
int nId ); int nId );
virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg( Window* pParent, int nId, virtual AbstractScDeleteCellDlg * CreateScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false );
sal_Bool bDisallowCellMove = false ); //add for ScDeleteCellDlg
//for dataform //for dataform
virtual AbstractScDataFormDlg * CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell); //add for ScDeleteCellDlg virtual AbstractScDataFormDlg * CreateScDataFormDlg( Window* pParent, int nId, ScTabViewShell* pTabViewShell); //add for ScDeleteCellDlg
......
...@@ -33,19 +33,13 @@ ...@@ -33,19 +33,13 @@
class ScDeleteCellDlg : public ModalDialog class ScDeleteCellDlg : public ModalDialog
{ {
private: private:
FixedLine aFlFrame; RadioButton* m_pBtnCellsUp;
RadioButton aBtnCellsUp; RadioButton* m_pBtnCellsLeft;
RadioButton aBtnCellsLeft; RadioButton* m_pBtnDelRows;
RadioButton aBtnDelRows; RadioButton* m_pBtnDelCols;
RadioButton aBtnDelCols;
OKButton aBtnOk;
CancelButton aBtnCancel;
HelpButton aBtnHelp;
public: public:
ScDeleteCellDlg( Window* pParent, sal_Bool bDisallowCellMove = false ); ScDeleteCellDlg(Window* pParent, bool bDisallowCellMove = false);
~ScDeleteCellDlg();
DelCellCmd GetDelCellCmd() const; DelCellCmd GetDelCellCmd() const;
}; };
......
...@@ -17,8 +17,7 @@ ...@@ -17,8 +17,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 . * the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/ */
#include "sc.hrc" // -> RID_SCDLG_DELCELL #include "sc.hrc" // -> RID_SCDLG_INSCELL
// -> RID_SCDLG_INSCELL
// -> RID_SCDLG_INSCONT // -> RID_SCDLG_INSCONT
// -> RID_SCDLG_MOVETAB // -> RID_SCDLG_MOVETAB
// -> RID_SCDLG_STRINPUT // -> RID_SCDLG_STRINPUT
...@@ -38,13 +37,9 @@ ...@@ -38,13 +37,9 @@
#define FL_FRAME 112 #define FL_FRAME 112
#define STR_BTN_CLOSE 200 #define STR_BTN_CLOSE 200
// Insert/Delete Cell Dialog // Insert Cell Dialog
#define BTN_CELLSUP 10
#define BTN_CELLSDOWN 11 #define BTN_CELLSDOWN 11
#define BTN_CELLSRIGHT 12 #define BTN_CELLSRIGHT 12
#define BTN_CELLSLEFT 13
#define BTN_DELROWS 14
#define BTN_DELCOLS 15
#define BTN_INSROWS 16 #define BTN_INSROWS 16
#define BTN_INSCOLS 17 #define BTN_INSCOLS 17
......
...@@ -33,43 +33,36 @@ static sal_uInt8 nDelItemChecked=0; ...@@ -33,43 +33,36 @@ static sal_uInt8 nDelItemChecked=0;
//================================================================== //==================================================================
ScDeleteCellDlg::ScDeleteCellDlg( Window* pParent, sal_Bool bDisallowCellMove ) : ScDeleteCellDlg::ScDeleteCellDlg(Window* pParent, bool bDisallowCellMove)
ModalDialog ( pParent, ScResId( RID_SCDLG_DELCELL ) ), : ModalDialog(pParent, "DeleteCellsDialog", "modules/scalc/ui/deletecells.ui")
//
aFlFrame ( this, ScResId( FL_FRAME ) ),
aBtnCellsUp ( this, ScResId( BTN_CELLSUP ) ),
aBtnCellsLeft ( this, ScResId( BTN_CELLSLEFT ) ),
aBtnDelRows ( this, ScResId( BTN_DELROWS ) ),
aBtnDelCols ( this, ScResId( BTN_DELCOLS ) ),
aBtnOk ( this, ScResId( BTN_OK ) ),
aBtnCancel ( this, ScResId( BTN_CANCEL ) ),
aBtnHelp ( this, ScResId( BTN_HELP ) )
{ {
get(m_pBtnCellsUp, "up");
get(m_pBtnCellsLeft, "left");
get(m_pBtnDelRows, "rows");
get(m_pBtnDelCols, "cols");
if (bDisallowCellMove) if (bDisallowCellMove)
{ {
aBtnCellsUp.Disable(); m_pBtnCellsUp->Disable();
aBtnCellsLeft.Disable(); m_pBtnCellsLeft->Disable();
switch(nDelItemChecked) switch(nDelItemChecked)
{ {
case 2: aBtnDelRows.Check();break; case 2: m_pBtnDelRows->Check();break;
case 3: aBtnDelCols.Check();break; case 3: m_pBtnDelCols->Check();break;
default:aBtnDelRows.Check();break; default:m_pBtnDelRows->Check();break;
} }
} }
else else
{ {
switch(nDelItemChecked) switch(nDelItemChecked)
{ {
case 0: aBtnCellsUp.Check();break; case 0: m_pBtnCellsUp->Check();break;
case 1: aBtnCellsLeft.Check();break; case 1: m_pBtnCellsLeft->Check();break;
case 2: aBtnDelRows.Check();break; case 2: m_pBtnDelRows->Check();break;
case 3: aBtnDelCols.Check();break; case 3: m_pBtnDelCols->Check();break;
} }
} }
FreeResource();
} }
//------------------------------------------------------------------------ //------------------------------------------------------------------------
...@@ -78,22 +71,22 @@ DelCellCmd ScDeleteCellDlg::GetDelCellCmd() const ...@@ -78,22 +71,22 @@ DelCellCmd ScDeleteCellDlg::GetDelCellCmd() const
{ {
DelCellCmd nReturn = DEL_NONE; DelCellCmd nReturn = DEL_NONE;
if ( aBtnCellsUp.IsChecked() ) if ( m_pBtnCellsUp->IsChecked() )
{ {
nDelItemChecked=0; nDelItemChecked=0;
nReturn = DEL_CELLSUP; nReturn = DEL_CELLSUP;
} }
else if ( aBtnCellsLeft.IsChecked() ) else if ( m_pBtnCellsLeft->IsChecked() )
{ {
nDelItemChecked=1; nDelItemChecked=1;
nReturn = DEL_CELLSLEFT; nReturn = DEL_CELLSLEFT;
} }
else if ( aBtnDelRows.IsChecked() ) else if ( m_pBtnDelRows->IsChecked() )
{ {
nDelItemChecked=2; nDelItemChecked=2;
nReturn = DEL_DELROWS; nReturn = DEL_DELROWS;
} }
else if ( aBtnDelCols.IsChecked() ) else if ( m_pBtnDelCols->IsChecked() )
{ {
nDelItemChecked=3; nDelItemChecked=3;
nReturn = DEL_DELCOLS; nReturn = DEL_DELCOLS;
...@@ -102,10 +95,4 @@ DelCellCmd ScDeleteCellDlg::GetDelCellCmd() const ...@@ -102,10 +95,4 @@ DelCellCmd ScDeleteCellDlg::GetDelCellCmd() const
return nReturn; return nReturn;
} }
ScDeleteCellDlg::~ScDeleteCellDlg()
{
}
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /* vim:set shiftwidth=4 softtabstop=4 expandtab: */
...@@ -19,74 +19,6 @@ ...@@ -19,74 +19,6 @@
#include "miscdlgs.hrc" #include "miscdlgs.hrc"
ModalDialog RID_SCDLG_DELCELL
{
OutputSize = TRUE ;
HelpId = CMD_FID_DELETE_CELL ;
SVLook = TRUE ;
Size = MAP_APPFONT ( 191 , 70 ) ;
Text [ en-US ] = "Delete Cells" ;
Moveable = TRUE ;
Closeable = FALSE ;
OKButton BTN_OK
{
Pos = MAP_APPFONT ( 135 , 6 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
DefButton = TRUE ;
};
CancelButton BTN_CANCEL
{
Pos = MAP_APPFONT ( 135 , 23 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
HelpButton BTN_HELP
{
Pos = MAP_APPFONT ( 135 , 43 ) ;
Size = MAP_APPFONT ( 50 , 14 ) ;
TabStop = TRUE ;
};
RadioButton BTN_DELCOLS
{
HelpID = "sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELCOLS";
Pos = MAP_APPFONT ( 12 , 56 ) ;
Size = MAP_APPFONT ( 114 , 10 ) ;
Text [ en-US ] = "Delete entire ~column(s)" ;
TabStop = TRUE ;
};
RadioButton BTN_DELROWS
{
HelpID = "sc:RadioButton:RID_SCDLG_DELCELL:BTN_DELROWS";
Pos = MAP_APPFONT ( 12 , 42 ) ;
Size = MAP_APPFONT ( 114 , 10 ) ;
Text [ en-US ] = "Delete entire ~row(s)" ;
TabStop = TRUE ;
};
RadioButton BTN_CELLSLEFT
{
HelpID = "sc:RadioButton:RID_SCDLG_DELCELL:BTN_CELLSLEFT";
Pos = MAP_APPFONT ( 12 , 28 ) ;
Size = MAP_APPFONT ( 114 , 10 ) ;
Text [ en-US ] = "Shift cells ~left" ;
TabStop = TRUE ;
};
RadioButton BTN_CELLSUP
{
HelpID = "sc:RadioButton:RID_SCDLG_DELCELL:BTN_CELLSUP";
Pos = MAP_APPFONT ( 12 , 14 ) ;
Size = MAP_APPFONT ( 114 , 10 ) ;
Text [ en-US ] = "Shift cells ~up" ;
TabStop = TRUE ;
};
FixedLine FL_FRAME
{
Pos = MAP_APPFONT ( 6 , 3 ) ;
Size = MAP_APPFONT ( 123 , 8 ) ;
Text [ en-US ] = "Selection" ;
};
};
ModalDialog RID_SCDLG_INSCELL ModalDialog RID_SCDLG_INSCELL
{ {
OutputSize = TRUE ; OutputSize = TRUE ;
......
...@@ -267,14 +267,14 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq ) ...@@ -267,14 +267,14 @@ void ScCellShell::ExecuteEdit( SfxRequest& rReq )
{ {
ScRange aRange; ScRange aRange;
ScDocument* pDoc = GetViewData()->GetDocument(); ScDocument* pDoc = GetViewData()->GetDocument();
sal_Bool bTheFlag=GetViewData()->IsMultiMarked() || bool bTheFlag=GetViewData()->IsMultiMarked() ||
(GetViewData()->GetSimpleArea(aRange) == SC_MARK_SIMPLE_FILTERED) || (GetViewData()->GetSimpleArea(aRange) == SC_MARK_SIMPLE_FILTERED) ||
(pDoc->GetChangeTrack() != NULL); (pDoc->GetChangeTrack() != NULL);
ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create(); ScAbstractDialogFactory* pFact = ScAbstractDialogFactory::Create();
OSL_ENSURE(pFact, "ScAbstractFactory create fail!"); OSL_ENSURE(pFact, "ScAbstractFactory create fail!");
AbstractScDeleteCellDlg* pDlg = pFact->CreateScDeleteCellDlg( pTabViewShell->GetDialogParent(), RID_SCDLG_DELCELL, bTheFlag ); AbstractScDeleteCellDlg* pDlg = pFact->CreateScDeleteCellDlg( pTabViewShell->GetDialogParent(), bTheFlag );
OSL_ENSURE(pDlg, "Dialog create fail!"); OSL_ENSURE(pDlg, "Dialog create fail!");
if (pDlg->Execute() == RET_OK) if (pDlg->Execute() == RET_OK)
......
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<interface> <interface>
<!-- interface-requires gtk+ 3.0 --> <!-- interface-requires gtk+ 3.0 -->
<object class="GtkDialog" id="deletecells"> <object class="GtkDialog" id="DeleteCellsDialog">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="border_width">5</property> <property name="border_width">6</property>
<property name="title" translatable="yes">Delete Cells</property> <property name="title" translatable="yes">Delete Cells</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">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="spacing">2</property> <property name="spacing">12</property>
<child internal-child="action_area"> <child internal-child="action_area">
<object class="GtkButtonBox" id="dialog-action_area1"> <object class="GtkButtonBox" id="dialog-action_area1">
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="layout_style">start</property> <property name="layout_style">start</property>
<child> <child>
<object class="GtkButton" id="ok1"> <object class="GtkButton" id="ok">
<property name="label">gtk-ok</property> <property name="label">gtk-ok</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="can_default">True</property>
<property name="has_default">True</property> <property name="has_default">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
</object> </object>
<packing> <packing>
...@@ -32,12 +32,11 @@ ...@@ -32,12 +32,11 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkButton" id="cancel1"> <object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property> <property name="label">gtk-cancel</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
</object> </object>
<packing> <packing>
...@@ -47,12 +46,11 @@ ...@@ -47,12 +46,11 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkButton" id="help1"> <object class="GtkButton" id="help">
<property name="label">gtk-help</property> <property name="label">gtk-help</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">True</property> <property name="receives_default">True</property>
<property name="use_action_appearance">False</property>
<property name="use_stock">True</property> <property name="use_stock">True</property>
<property name="image_position">top</property> <property name="image_position">top</property>
</object> </object>
...@@ -80,23 +78,25 @@ ...@@ -80,23 +78,25 @@
<object class="GtkAlignment" id="alignment3"> <object class="GtkAlignment" id="alignment3">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="top_padding">6</property>
<property name="left_padding">12</property> <property name="left_padding">12</property>
<child> <child>
<object class="GtkBox" id="box1"> <object class="GtkBox" id="box1">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">False</property> <property name="can_focus">False</property>
<property name="orientation">vertical</property> <property name="orientation">vertical</property>
<property name="spacing">6</property>
<child> <child>
<object class="GtkRadioButton" id="radiobutton1"> <object class="GtkRadioButton" id="up">
<property name="label" translatable="yes">Shift cells _up</property> <property name="label" translatable="yes">Shift cells _up</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="active">True</property> <property name="active">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<property name="group">left</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -105,16 +105,15 @@ ...@@ -105,16 +105,15 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton2"> <object class="GtkRadioButton" id="left">
<property name="label" translatable="yes">Shift cells _left</property> <property name="label" translatable="yes">Shift cells _left</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<property name="group">rows</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -123,16 +122,15 @@ ...@@ -123,16 +122,15 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton3"> <object class="GtkRadioButton" id="rows">
<property name="label" translatable="yes">Delete entire _row(s)</property> <property name="label" translatable="yes">Delete entire _row(s)</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<property name="group">cols</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -141,16 +139,15 @@ ...@@ -141,16 +139,15 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkRadioButton" id="radiobutton4"> <object class="GtkRadioButton" id="cols">
<property name="label" translatable="yes">Delete entire _column(s)</property> <property name="label" translatable="yes">Delete entire _column(s)</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can_focus">True</property> <property name="can_focus">True</property>
<property name="receives_default">False</property> <property name="receives_default">False</property>
<property name="use_action_appearance">False</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="xalign">0</property> <property name="xalign">0</property>
<property name="active">True</property>
<property name="draw_indicator">True</property> <property name="draw_indicator">True</property>
<property name="group">up</property>
</object> </object>
<packing> <packing>
<property name="expand">False</property> <property name="expand">False</property>
...@@ -163,11 +160,13 @@ ...@@ -163,11 +160,13 @@
</object> </object>
</child> </child>
<child type="label"> <child type="label">
<object class="GtkLabel" id="Selectio"> <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="label" translatable="yes">&lt;b&gt;Selection&lt;/b&gt;</property> <property name="label" translatable="yes">Selection</property>
<property name="use_markup">True</property> <attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object> </object>
</child> </child>
</object> </object>
...@@ -180,9 +179,9 @@ ...@@ -180,9 +179,9 @@
</object> </object>
</child> </child>
<action-widgets> <action-widgets>
<action-widget response="0">ok1</action-widget> <action-widget response="0">ok</action-widget>
<action-widget response="0">cancel1</action-widget> <action-widget response="0">cancel</action-widget>
<action-widget response="0">help1</action-widget> <action-widget response="0">help</action-widget>
</action-widgets> </action-widgets>
</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