[gtk+/native-layout] Improved legibility of the label parameters test.
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/native-layout] Improved legibility of the label parameters test.
- Date: Wed, 21 Apr 2010 02:03:26 +0000 (UTC)
commit 504ec365a7d8c513820c5f27eb7fc63cbce58ce8
Author: Tristan Van Berkom <tristan van berkom gmail com>
Date: Tue Apr 20 22:02:48 2010 -0400
Improved legibility of the label parameters test.
tests/testextendedlayout2.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/tests/testextendedlayout2.c b/tests/testextendedlayout2.c
index 8741463..9f5081f 100644
--- a/tests/testextendedlayout2.c
+++ b/tests/testextendedlayout2.c
@@ -440,7 +440,7 @@ TestInterface interfaces[] = {
" <child>"
" <object class=\"GtkLabel\" id=\"label1\">"
" <property name=\"visible\">True</property>"
- " <property name=\"label\" translatable=\"yes\">These first 2 labels explicitly require only 10 charachters in width.</property>"
+ " <property name=\"label\" translatable=\"yes\">The first 2 labels require 10 charachters.</property>"
" <property name=\"wrap\">True</property>"
" <property name=\"width_chars\">10</property>"
" <attributes>"
@@ -457,7 +457,7 @@ TestInterface interfaces[] = {
" <child>"
" <object class=\"GtkLabel\" id=\"label2\">"
" <property name=\"visible\">True</property>"
- " <property name=\"label\" translatable=\"yes\">This label has a maximum natural width of 20 charachters. Otherwise it would unwrap much further.</property>"
+ " <property name=\"label\" translatable=\"yes\">This label has a maximum natural width of 20 charachters. The second two labels expand.</property>"
" <property name=\"wrap\">True</property>"
" <property name=\"width_chars\">10</property>"
" <property name=\"max_width_chars\">20</property>"
@@ -467,15 +467,15 @@ TestInterface interfaces[] = {
" </attributes>"
" </object>"
" <packing>"
- " <property name=\"expand\">False</property>"
- " <property name=\"fill\">False</property>"
+ " <property name=\"expand\">True</property>"
+ " <property name=\"fill\">True</property>"
" <property name=\"position\">1</property>"
" </packing>"
" </child>"
" <child>"
" <object class=\"GtkLabel\" id=\"label3\">"
" <property name=\"visible\">True</property>"
- " <property name=\"label\" translatable=\"yes\">This label is set to expand and requires a default minimum size.</property>"
+ " <property name=\"label\" translatable=\"yes\">This label requires a default minimum size.</property>"
" <property name=\"wrap\">True</property>"
" <attributes>"
" <attribute name=\"weight\" value=\"bold\"/>"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]