[gnome-boxes] empty-boxes: Make use of pango attributes
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] empty-boxes: Make use of pango attributes
- Date: Tue, 1 Sep 2015 12:30:55 +0000 (UTC)
commit 3d084511802e5383dfa6cbfbc229db56d7bfae20
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue Sep 1 13:26:47 2015 +0100
empty-boxes: Make use of pango attributes
Instead of inserting pango markup in strings, use pango attributes. This
reduces pango markup translators are exposed to.
https://bugzilla.gnome.org/show_bug.cgi?id=754044
data/ui/empty-boxes.ui | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/data/ui/empty-boxes.ui b/data/ui/empty-boxes.ui
index 88ba1fc..54a3c16 100644
--- a/data/ui/empty-boxes.ui
+++ b/data/ui/empty-boxes.ui
@@ -65,7 +65,11 @@
<property name="halign">center</property>
<property name="vexpand">True</property>
<property name="margin-bottom">6</property>
- <property name="label" translatable="yes"><b><span size="large">State
of the art virtualization</span></b></property>
+ <property name="label" translatable="yes">State of the art virtualization</property>
+ <attributes>
+ <attribute name="scale" value="1.2"/> <!-- PANGO_SCALE_LARGE -->
+ <attribute name="weight" value="PANGO_WEIGHT_BOLD"/>
+ </attributes>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]