summaryrefslogtreecommitdiff
path: root/vcl
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-02-28 15:54:59 +0000
committerCaolán McNamara <caolanm@redhat.com>2018-03-01 10:04:05 +0100
commitb312c10a787b34fdc0252d0651c00edb3855d657 (patch)
treee3411600d8a86aa3191b7a7057640847394480ff /vcl
parentd69cf130ffeaa342780425572ab6a3510f8eed79 (diff)
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/50535 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'vcl')
-rw-r--r--vcl/qa/cppunit/builder/demo.ui8
1 files changed, 4 insertions, 4 deletions
diff --git a/vcl/qa/cppunit/builder/demo.ui b/vcl/qa/cppunit/builder/demo.ui
index 20851b3e7b41..5712f6802d70 100644
--- a/vcl/qa/cppunit/builder/demo.ui
+++ b/vcl/qa/cppunit/builder/demo.ui
@@ -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">