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

give ok, cancel, help buttons those names

So they can be used to sort the buttons into native ordering
(eventually).

Give them the gtk response ids, so they can be used by native
gtk3 dialog loading (eventually)

Change-Id: Ide49649b8ea6a2e0c003d23c3a88f0cb06822b05
Reviewed-on: https://gerrit.libreoffice.org/50535Tested-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 d69cf130
......@@ -31,7 +31,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button1">
<object class="GtkButton" id="help">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -168,7 +168,7 @@
</object>
</child>
<action-widgets>
<action-widget response="-11">button1</action-widget>
<action-widget response="-11">help</action-widget>
<action-widget response="-5">ok</action-widget>
<action-widget response="-6">cancel</action-widget>
</action-widgets>
......
......@@ -35,7 +35,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button1">
<object class="GtkButton" id="ok">
<property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -51,7 +51,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="button2">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -65,7 +65,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="button3">
<object class="GtkButton" id="help">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -261,9 +261,9 @@
</object>
</child>
<action-widgets>
<action-widget response="-5">button1</action-widget>
<action-widget response="0">button2</action-widget>
<action-widget response="-11">button3</action-widget>
<action-widget response="-5">ok</action-widget>
<action-widget response="-6">cancel</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
</object>
</interface>
......@@ -43,7 +43,7 @@ SdPhotoAlbumDialog::SdPhotoAlbumDialog(vcl::Window* pWindow, SdDrawDocument* pAc
: ModalDialog(pWindow, "PhotoAlbumCreatorDialog", "modules/simpress/ui/photoalbum.ui"),
pDoc(pActDoc)
{
get(pCancelBtn, "cancel_btn");
get(pCancelBtn, "cancel");
get(pCreateBtn, "create_btn");
get(pAddBtn, "add_btn");
......
......@@ -71,7 +71,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="cancel_btn">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -425,7 +425,7 @@
</child>
<action-widgets>
<action-widget response="0">create_btn</action-widget>
<action-widget response="0">cancel_btn</action-widget>
<action-widget response="-6">cancel</action-widget>
</action-widgets>
</object>
</interface>
......@@ -48,7 +48,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button1">
<object class="GtkButton" id="help">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -464,6 +464,7 @@
<action-widget response="0">delete</action-widget>
<action-widget response="-5">ok</action-widget>
<action-widget response="-6">cancel</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
</object>
</interface>
......@@ -248,7 +248,7 @@ SwSendMailDialog::SwSendMailDialog(vcl::Window *pParent, SwMailMergeConfigItem&
m_pErrorStatus(get<FixedText>("errorstatus")),
m_pContainer(get<SvSimpleTableContainer>("container")),
m_pStop(get<PushButton>("stop")),
m_pClose(get<PushButton>("close")),
m_pClose(get<PushButton>("cancel")),
m_sContinue(SwResId( ST_CONTINUE )),
m_sStop(m_pStop->GetText()),
m_sTransferStatus(m_pTransferStatus->GetText()),
......
......@@ -37,7 +37,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="close">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
......@@ -269,7 +269,7 @@
</child>
<action-widgets>
<action-widget response="0">stop</action-widget>
<action-widget response="-7">close</action-widget>
<action-widget response="-6">cancel</action-widget>
</action-widgets>
</object>
</interface>
......@@ -16,7 +16,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="btn_cancel">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -30,7 +30,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="btn_ok">
<object class="GtkButton" id="ok">
<property name="label">gtk-ok</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -236,5 +236,9 @@
</child>
</object>
</child>
<action-widgets>
<action-widget response="-5">ok</action-widget>
<action-widget response="-6">cancel</action-widget>
</action-widgets>
</object>
</interface>
......@@ -41,7 +41,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="button2">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -786,7 +786,7 @@
</child>
<action-widgets>
<action-widget response="-5">ok</action-widget>
<action-widget response="0">button2</action-widget>
<action-widget response="-6">cancel</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
</object>
......
......@@ -47,7 +47,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="button1">
<object class="GtkButton" id="help">
<property name="label">gtk-help</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
......@@ -138,6 +138,7 @@
<action-widgets>
<action-widget response="-5">ok</action-widget>
<action-widget response="-6">cancel</action-widget>
<action-widget response="-11">help</action-widget>
</action-widgets>
</object>
<object class="GtkSizeGroup" id="sizegroup1"/>
......
......@@ -15,7 +15,7 @@
<property name="can_focus">False</property>
<property name="layout_style">end</property>
<child>
<object class="GtkButton" id="button2">
<object class="GtkButton" id="cancel">
<property name="label">gtk-cancel</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
......@@ -31,7 +31,7 @@
</packing>
</child>
<child>
<object class="GtkButton" id="button1">
<object class="GtkButton" id="ok">
<property name="label">gtk-ok</property>
<property name="use_action_appearance">False</property>
<property name="visible">True</property>
......@@ -1993,8 +1993,8 @@
</object>
</child>
<action-widgets>
<action-widget response="0">button2</action-widget>
<action-widget response="0">button1</action-widget>
<action-widget response="-6">cancel</action-widget>
<action-widget response="-5">ok</action-widget>
</action-widgets>
</object>
<object class="GtkListStore" id="liststore1">
......
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