[gtk/ci-update] Try to fix the quit-mnemonic reftest
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/ci-update] Try to fix the quit-mnemonic reftest
- Date: Sat, 14 May 2022 16:53:14 +0000 (UTC)
commit 8369b6cafea53d3231ecc0c8b4d7ba0187d4245f
Author: Matthias Clasen <mclasen redhat com>
Date: Sat May 14 12:52:40 2022 -0400
Try to fix the quit-mnemonic reftest
Make this compare a mnemonic with a fixed
low underline.
testsuite/reftests/quit-mnemonic.ref.ui | 21 +++++++++++++++------
testsuite/reftests/quit-mnemonic.ui | 17 ++---------------
2 files changed, 17 insertions(+), 21 deletions(-)
---
diff --git a/testsuite/reftests/quit-mnemonic.ref.ui b/testsuite/reftests/quit-mnemonic.ref.ui
index 2a3b9f669a..3ef529d1c7 100644
--- a/testsuite/reftests/quit-mnemonic.ref.ui
+++ b/testsuite/reftests/quit-mnemonic.ref.ui
@@ -3,12 +3,21 @@
<object class="GtkWindow" id="window1">
<property name="decorated">0</property>
<child>
- <object class="GtkLabel" id="label1">
- <property name="label" translatable="yes">Quit
-</property>
- <attributes>
- <attribute name="underline" value="low" start="0" end="1"></attribute>
- </attributes>
+ <object class="GtkGrid" id="grid1">
+ <child>
+ <object class="GtkLabel" id="label1">
+ <property name="label" translatable="yes">Quit</property>
+ <attributes>
+ <attribute name="underline" value="low" start="0" end="1"></attribute>
+ </attributes>
+ <layout>
+ <property name="column">0</property>
+ <property name="row">0</property>
+ <property name="column-span">1</property>
+ <property name="row-span">1</property>
+ </layout>
+ </object>
+ </child>
</object>
</child>
</object>
diff --git a/testsuite/reftests/quit-mnemonic.ui b/testsuite/reftests/quit-mnemonic.ui
index 703715883f..88840bcbba 100644
--- a/testsuite/reftests/quit-mnemonic.ui
+++ b/testsuite/reftests/quit-mnemonic.ui
@@ -6,10 +6,8 @@
<object class="GtkGrid" id="grid1">
<child>
<object class="GtkLabel" id="label1">
- <property name="label" translatable="yes">Quit</property>
- <attributes>
- <attribute name="underline" value="low" start="0" end="1"></attribute>
- </attributes>
+ <property name="label" translatable="yes">_Quit</property>
+ <property name="use-underline">1</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
@@ -18,17 +16,6 @@
</layout>
</object>
</child>
- <child>
- <object class="GtkLabel" id="label2">
- <property name="label" translatable="yes"> </property>
- <layout>
- <property name="column">0</property>
- <property name="row">1</property>
- <property name="column-span">1</property>
- <property name="row-span">1</property>
- </layout>
- </object>
- </child>
</object>
</child>
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]