diff options
author | Jack Leigh <leighman@gmx.se> | 2012-11-23 18:49:12 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2012-11-26 16:55:30 +0000 |
commit | 0c46736bb2789abb8aa3eb6308c03bc2538c7586 (patch) | |
tree | 3a606576fba01cdfde7107ba42af01c45cf72130 /sw | |
parent | a04735e037289585aa4c4fb68c6907b38a828f41 (diff) |
Migrate 'Insert Script' dialog to .ui file
Change-Id: Icd3cd8579e9fa8fa4d01fc234317b3b0b03525aa
Reviewed-on: https://gerrit.libreoffice.org/1152
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw')
-rw-r--r-- | sw/UI_swriter.mk | 1 | ||||
-rw-r--r-- | sw/source/ui/fldui/javaedit.cxx | 104 | ||||
-rw-r--r-- | sw/source/ui/fldui/javaedit.hrc | 18 | ||||
-rw-r--r-- | sw/source/ui/fldui/javaedit.src | 115 | ||||
-rw-r--r-- | sw/source/ui/inc/javaedit.hxx | 26 | ||||
-rw-r--r-- | sw/uiconfig/swriter/ui/insertscript.ui | 280 |
6 files changed, 340 insertions, 204 deletions
diff --git a/sw/UI_swriter.mk b/sw/UI_swriter.mk index 5c783317324a..ade3a511dc36 100644 --- a/sw/UI_swriter.mk +++ b/sw/UI_swriter.mk @@ -19,6 +19,7 @@ $(eval $(call gb_UI_add_uifiles,modules/swriter,\ sw/uiconfig/swriter/ui/footnotepage \ sw/uiconfig/swriter/ui/indexentry \ sw/uiconfig/swriter/ui/insertbreak \ + sw/uiconfig/swriter/ui/insertscript \ sw/uiconfig/swriter/ui/inserttable \ sw/uiconfig/swriter/ui/linenumbering \ sw/uiconfig/swriter/ui/printeroptions \ diff --git a/sw/source/ui/fldui/javaedit.cxx b/sw/source/ui/fldui/javaedit.cxx index 63f34e101d1b..956fbe07ab99 100644 --- a/sw/source/ui/fldui/javaedit.cxx +++ b/sw/source/ui/fldui/javaedit.cxx @@ -55,23 +55,7 @@ using namespace ::com::sun::star; SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) : - - SvxStandardDialog(pParent, SW_RES(DLG_JAVAEDIT)), - - aTypeFT ( this, SW_RES( FT_TYPE ) ), - aTypeED ( this, SW_RES( ED_TYPE ) ), - aUrlRB ( this, SW_RES( RB_URL ) ), - aEditRB ( this, SW_RES( RB_EDIT ) ), - aUrlPB ( this, SW_RES( PB_URL ) ), - aUrlED ( this, SW_RES( ED_URL ) ), - aEditED ( this, SW_RES( ED_EDIT ) ), - aPostItFL ( this, SW_RES( FL_POSTIT ) ), - - aOKBtn ( this, SW_RES( BTN_POST_OK ) ), - aCancelBtn ( this, SW_RES( BTN_POST_CANCEL ) ), - aPrevBtn ( this, SW_RES( BTN_PREV ) ), - aNextBtn ( this, SW_RES( BTN_NEXT ) ), - aHelpBtn ( this, SW_RES( BTN_POST_HELP ) ), + SvxStandardDialog(pParent, "InsertScriptDialog", "modules/swriter/ui/insertscript.ui"), bNew(sal_True), bIsUrl(sal_False), @@ -80,19 +64,30 @@ SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) : pFileDlg(NULL), pOldDefDlgParent(NULL) { + get(m_pTypeED, "scripttype"); + get(m_pUrlRB, "url"); + get(m_pUrlED, "urlentry"); + get(m_pUrlPB, "browse"); + get(m_pEditRB, "text"); + get(m_pEditED, "textentry"); + + get(m_pOKBtn, "ok"); + get(m_pPrevBtn, "previous"); + get(m_pNextBtn, "next"); + // install handler - aPrevBtn.SetClickHdl( LINK( this, SwJavaEditDialog, PrevHdl ) ); - aNextBtn.SetClickHdl( LINK( this, SwJavaEditDialog, NextHdl ) ); - aOKBtn.SetClickHdl( LINK( this, SwJavaEditDialog, OKHdl ) ); + m_pPrevBtn->SetClickHdl( LINK( this, SwJavaEditDialog, PrevHdl ) ); + m_pNextBtn->SetClickHdl( LINK( this, SwJavaEditDialog, NextHdl ) ); + m_pOKBtn->SetClickHdl( LINK( this, SwJavaEditDialog, OKHdl ) ); Link aLk = LINK(this, SwJavaEditDialog, RadioButtonHdl); - aUrlRB.SetClickHdl(aLk); - aEditRB.SetClickHdl(aLk); - aUrlPB.SetClickHdl(LINK(this, SwJavaEditDialog, InsertFileHdl)); + m_pUrlRB->SetClickHdl(aLk); + m_pEditRB->SetClickHdl(aLk); + m_pUrlPB->SetClickHdl(LINK(this, SwJavaEditDialog, InsertFileHdl)); - Font aFont( aEditED.GetFont() ); + Font aFont( m_pEditED->GetFont() ); aFont.SetWeight( WEIGHT_LIGHT ); - aEditED.SetFont( aFont ); + m_pEditED->SetFont( aFont ); pMgr = new SwFldMgr; pFld = (SwScriptField*)pMgr->GetCurFld(); @@ -103,11 +98,6 @@ SwJavaEditDialog::SwJavaEditDialog(Window* pParent, SwWrtShell* pWrtSh) : if( !bNew ) SetText( SW_RES( STR_JAVA_EDIT ) ); - else - // newly create - SetText( SW_RES( STR_JAVA_INSERT ) ); - - FreeResource(); RadioButtonHdl(NULL); } @@ -185,42 +175,42 @@ void SwJavaEditDialog::CheckTravel() if(INET_PROT_FILE == aINetURL.GetProtocol()) sURL = aINetURL.PathToFileName(); } - aUrlED.SetText(sURL); - aEditED.SetText(aEmptyStr); - aUrlRB.Check(); + m_pUrlED->SetText(sURL); + m_pEditED->SetText(aEmptyStr); + m_pUrlRB->Check(); } else { - aEditED.SetText(pFld->GetPar2()); - aUrlED.SetText(aEmptyStr); - aEditRB.Check(); + m_pEditED->SetText(pFld->GetPar2()); + m_pUrlED->SetText(aEmptyStr); + m_pEditRB->Check(); } - aTypeED.SetText(pFld->GetPar1()); + m_pTypeED->SetText(pFld->GetPar1()); } if ( !bTravel ) { - aPrevBtn.Hide(); - aNextBtn.Hide(); + m_pPrevBtn->Hide(); + m_pNextBtn->Hide(); } else { - aPrevBtn.Enable(bPrev); - aNextBtn.Enable(bNext); + m_pPrevBtn->Enable(bPrev); + m_pNextBtn->Enable(bNext); } } void SwJavaEditDialog::SetFld() { - if( !aOKBtn.IsEnabled() ) + if( !m_pOKBtn->IsEnabled() ) return ; - aType = aTypeED.GetText(); - bIsUrl = aUrlRB.IsChecked(); + aType = m_pTypeED->GetText(); + bIsUrl = m_pUrlRB->IsChecked(); if( bIsUrl ) { - aText = aUrlED.GetText(); + aText = m_pUrlED->GetText(); if (!aText.isEmpty()) { SfxMedium* pMedium = pSh->GetView().GetDocShell()->GetMedium(); @@ -233,7 +223,7 @@ void SwJavaEditDialog::SetFld() } } else - aText = aEditED.GetText(); + aText = m_pEditED->GetText(); if( aType.isEmpty() ) aType = "JavaScript"; @@ -246,20 +236,20 @@ sal_Bool SwJavaEditDialog::IsUpdate() IMPL_LINK_NOARG(SwJavaEditDialog, RadioButtonHdl) { - sal_Bool bEnable = aUrlRB.IsChecked(); - aUrlPB.Enable(bEnable); - aUrlED.Enable(bEnable); - aEditED.Enable(!bEnable); + sal_Bool bEnable = m_pUrlRB->IsChecked(); + m_pUrlPB->Enable(bEnable); + m_pUrlED->Enable(bEnable); + m_pEditED->Enable(!bEnable); if( !bNew ) { bEnable = !pSh->IsReadOnlyAvailable() || !pSh->HasReadonlySel(); - aOKBtn.Enable( bEnable ); - aUrlED.SetReadOnly( !bEnable ); - aEditED.SetReadOnly( !bEnable); - aTypeED.SetReadOnly( !bEnable); - if( aUrlPB.IsEnabled() && !bEnable ) - aUrlPB.Enable( sal_False ); + m_pOKBtn->Enable( bEnable ); + m_pUrlED->SetReadOnly( !bEnable ); + m_pEditED->SetReadOnly( !bEnable); + m_pTypeED->SetReadOnly( !bEnable); + if( m_pUrlPB->IsEnabled() && !bEnable ) + m_pUrlPB->Enable( sal_False ); } return 0; } @@ -291,7 +281,7 @@ IMPL_LINK_NOARG(SwJavaEditDialog, DlgClosedHdl) if ( INET_PROT_FILE == aINetURL.GetProtocol() ) sFileName = aINetURL.PathToFileName(); } - aUrlED.SetText( sFileName ); + m_pUrlED->SetText( sFileName ); } return 0; diff --git a/sw/source/ui/fldui/javaedit.hrc b/sw/source/ui/fldui/javaedit.hrc index 22805365c6b8..4c72168c4f99 100644 --- a/sw/source/ui/fldui/javaedit.hrc +++ b/sw/source/ui/fldui/javaedit.hrc @@ -18,25 +18,7 @@ #ifndef _SW_JAVAEDIT_HRC #define _SW_JAVAEDIT_HRC -// defines ------------------------------------------------------------------ - -#define FT_TYPE 10 -#define ED_TYPE 11 -#define RB_EDIT 12 -#define ED_EDIT 13 -#define FL_POSTIT 14 -#define BTN_PREV 15 -#define BTN_NEXT 16 #define STR_JAVA_EDIT 17 -#define STR_JAVA_INSERT 18 -#define RB_URL 19 -#define ED_URL 20 -#define PB_URL 21 - -#define BTN_POST_OK 30 -#define BTN_POST_CANCEL 31 -#define BTN_POST_HELP 32 - #endif diff --git a/sw/source/ui/fldui/javaedit.src b/sw/source/ui/fldui/javaedit.src index b9de2062f2ec..5c4d8e7d2a9c 100644 --- a/sw/source/ui/fldui/javaedit.src +++ b/sw/source/ui/fldui/javaedit.src @@ -29,120 +29,7 @@ #include "fldui.hrc" #include "helpid.h" - // RID_SVXDLG_POSTIT ----------------------------------------------------- -ModalDialog DLG_JAVAEDIT +String STR_JAVA_EDIT { - HelpID = "sw:ModalDialog:DLG_JAVAEDIT"; - OutputSize = TRUE ; - SvLook = TRUE ; - Size = MAP_APPFONT ( 248 , 157 ) ; - Moveable = TRUE ; - FixedText FT_TYPE - { - Pos = MAP_APPFONT ( 12 , 15 ) ; - Size = MAP_APPFONT ( 55 , 10 ) ; - Text [ en-US ] = "Script type" ; - }; - Edit ED_TYPE - { - HelpID = "sw:Edit:DLG_JAVAEDIT:ED_TYPE"; - Border = TRUE ; - Text = "JavaScript" ; - // Nicht uebersetzen!!! - Pos = MAP_APPFONT ( 70 , 14 ) ; - Size = MAP_APPFONT ( 87 , 12 ) ; - TabStop = TRUE ; - }; - RadioButton RB_URL - { - HelpID = "sw:RadioButton:DLG_JAVAEDIT:RB_URL"; - Pos = MAP_APPFONT ( 12 , 28 ) ; - Size = MAP_APPFONT ( 55 , 10 ) ; - TabStop = TRUE ; - Text [ en-US ] = "URL" ; - }; - Edit ED_URL - { - HelpID = "sw:Edit:DLG_JAVAEDIT:ED_URL"; - Border = TRUE ; - Pos = MAP_APPFONT ( 70 , 27 ) ; - Size = MAP_APPFONT ( 87 , 12 ) ; - TabStop = TRUE ; - }; - PushButton PB_URL - { - HelpID = "sw:PushButton:DLG_JAVAEDIT:PB_URL"; - Pos = MAP_APPFONT ( 163 , 26 ) ; - Size = MAP_APPFONT ( 14 , 14 ) ; - Text = "~..." ; - TabStop = TRUE ; - }; - RadioButton RB_EDIT - { - HelpID = "sw:RadioButton:DLG_JAVAEDIT:RB_EDIT"; - Pos = MAP_APPFONT ( 12 , 40 ) ; - Size = MAP_APPFONT ( 140 , 10 ) ; - Text [ en-US ] = "~Text" ; - TabStop = TRUE ; - Check = TRUE ; - }; - MultiLineEdit ED_EDIT - { - HelpID = "sw:MultiLineEdit:DLG_JAVAEDIT:ED_EDIT"; - Border = TRUE ; - Pos = MAP_APPFONT ( 23 , 54 ) ; - Size = MAP_APPFONT ( 155 , 91 ) ; - Left = TRUE ; - VScroll = TRUE ; - HScroll = TRUE ; - IgnoreTab = TRUE ; - TabStop = TRUE ; - }; - FixedLine FL_POSTIT - { - Pos = MAP_APPFONT ( 6 , 3 ) ; - Size = MAP_APPFONT ( 179 , 8 ) ; - Text [ en-US ] = "Contents" ; - }; - OKButton BTN_POST_OK - { - Pos = MAP_APPFONT ( 191 , 6 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; - DefButton = TRUE ; - }; - CancelButton BTN_POST_CANCEL - { - Pos = MAP_APPFONT ( 191 , 23 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; - }; - HelpButton BTN_POST_HELP - { - Pos = MAP_APPFONT ( 191 , 40 ) ; - Size = MAP_APPFONT ( 50 , 15 ) ; - }; - ImageButton BTN_PREV - { - HelpID = "sw:ImageButton:DLG_JAVAEDIT:BTN_PREV"; - Pos = MAP_APPFONT ( 191 , 60 ) ; - Size = MAP_APPFONT ( 24 , 14 ) ; - Symbol = IMAGEBUTTON_ARROW_LEFT ; - }; - ImageButton BTN_NEXT - { - HelpID = "sw:ImageButton:DLG_JAVAEDIT:BTN_NEXT"; - Pos = MAP_APPFONT ( 217 , 60 ) ; - Size = MAP_APPFONT ( 24 , 14 ) ; - Symbol = IMAGEBUTTON_ARROW_RIGHT ; - }; - // lokale Strings - String STR_JAVA_EDIT - { - Text [ en-US ] = "Edit Script" ; - }; - String STR_JAVA_INSERT - { - Text [ en-US ] = "Insert Script" ; - }; Text [ en-US ] = "Edit Script" ; }; - // ********************************************************************** EOF diff --git a/sw/source/ui/inc/javaedit.hxx b/sw/source/ui/inc/javaedit.hxx index 612855612741..d4be43fd50c3 100644 --- a/sw/source/ui/inc/javaedit.hxx +++ b/sw/source/ui/inc/javaedit.hxx @@ -49,20 +49,16 @@ namespace sfx2 { class FileDialogHelper; } class SwJavaEditDialog : public SvxStandardDialog { private: - FixedText aTypeFT; - Edit aTypeED; - RadioButton aUrlRB; - RadioButton aEditRB; - PushButton aUrlPB; - Edit aUrlED; - MultiLineEdit aEditED; - FixedLine aPostItFL; - - OKButton aOKBtn; - CancelButton aCancelBtn; - ImageButton aPrevBtn; - ImageButton aNextBtn; - HelpButton aHelpBtn; + Edit* m_pTypeED; + RadioButton* m_pUrlRB; + RadioButton* m_pEditRB; + PushButton* m_pUrlPB; + Edit* m_pUrlED; + VclMultiLineEdit* m_pEditED; + + OKButton* m_pOKBtn; + PushButton* m_pPrevBtn; + PushButton* m_pNextBtn; rtl::OUString aText; rtl::OUString aType; @@ -80,7 +76,7 @@ private: DECL_LINK(PrevHdl, void *); DECL_LINK(NextHdl, void *); DECL_LINK(RadioButtonHdl, void *); - DECL_LINK( InsertFileHdl, PushButton * ); + DECL_LINK(InsertFileHdl, PushButton *); DECL_LINK(DlgClosedHdl, void *); virtual void Apply(); diff --git a/sw/uiconfig/swriter/ui/insertscript.ui b/sw/uiconfig/swriter/ui/insertscript.ui new file mode 100644 index 000000000000..765c503cb9e8 --- /dev/null +++ b/sw/uiconfig/swriter/ui/insertscript.ui @@ -0,0 +1,280 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkDialog" id="InsertScriptDialog"> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="title" translatable="yes">Insert Script</property> + <property name="type_hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox1"> + <property name="can_focus">False</property> + <property name="spacing">2</property> + <child> + <object class="GtkGrid" id="grid1"> + <property name="width_request">400</property> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="label1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Script type</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="scripttype"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + <property name="invisible_char_set">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">2</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="url"> + <property name="label" translatable="yes">URL</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0</property> + <property name="active">True</property> + <property name="draw_indicator">True</property> + <property name="group">text</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkEntry" id="urlentry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="invisible_char">•</property> + <property name="invisible_char_set">True</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="browse"> + <property name="label" translatable="yes">Browse ...</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="halign">end</property> + <property name="use_action_appearance">False</property> + </object> + <packing> + <property name="left_attach">2</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkRadioButton" id="text"> + <property name="label" translatable="yes">Text</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="halign">start</property> + <property name="use_action_appearance">False</property> + <property name="xalign">0</property> + <property name="draw_indicator">True</property> + <property name="group">url</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="scrolledwindow1"> + <property name="height_request">200</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTextView" id="textentry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">3</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area1"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="layout_style">start</property> + <child> + <object class="GtkButton" id="ok"> + <property name="label">gtk-ok</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="has_default">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="cancel"> + <property name="label">gtk-cancel</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_action_appearance">False</property> + <property name="use_stock">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="help"> + <property name="label">gtk-help</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_action_appearance">False</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> + <child> + <object class="GtkGrid" id="grid2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="column_homogeneous">True</property> + <child> + <object class="GtkButton" id="previous"> + <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_action_appearance">False</property> + <property name="image">image1</property> + <property name="image_position">right</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkButton" id="next"> + <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_action_appearance">False</property> + <property name="image">image2</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">3</property> + <property name="secondary">True</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + <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> + <object class="GtkImage" id="image1"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-go-back</property> + </object> + <object class="GtkImage" id="image2"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="stock">gtk-go-forward</property> + </object> +</interface> |