[gnome-clocks] Replace Pango attributes with numeric class
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks] Replace Pango attributes with numeric class
- Date: Fri, 7 Jan 2022 17:23:44 +0000 (UTC)
commit cce16653e5a49097bc26ab344ae8adcc9e1594c0
Author: Maximiliano Sandoval R <msandova gnome org>
Date: Mon Dec 13 11:55:14 2021 +0100
Replace Pango attributes with numeric class
data/ui/alarm-ringing-panel.ui | 4 +---
data/ui/alarm-row.ui | 4 +---
data/ui/stopwatch-face.ui | 16 ++++------------
data/ui/timer-row.ui | 4 +---
data/ui/world-standalone.ui | 16 +++++++---------
5 files changed, 14 insertions(+), 30 deletions(-)
---
diff --git a/data/ui/alarm-ringing-panel.ui b/data/ui/alarm-ringing-panel.ui
index b5404b7f..8c5cc335 100644
--- a/data/ui/alarm-ringing-panel.ui
+++ b/data/ui/alarm-ringing-panel.ui
@@ -70,10 +70,8 @@
<property name="justify">center</property>
<property name="wrap">True</property>
<property name="xalign">0.5</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="clocks-ringing-label"/>
</style>
</object>
diff --git a/data/ui/alarm-row.ui b/data/ui/alarm-row.ui
index f4828c4d..aff99784 100644
--- a/data/ui/alarm-row.ui
+++ b/data/ui/alarm-row.ui
@@ -83,10 +83,8 @@
<property name="label">Name</property>
<property name="ellipsize">end</property>
<property name="xalign">0</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="alarm-name"/>
</style>
</object>
diff --git a/data/ui/stopwatch-face.ui b/data/ui/stopwatch-face.ui
index 500554c0..166b637c 100644
--- a/data/ui/stopwatch-face.ui
+++ b/data/ui/stopwatch-face.ui
@@ -22,10 +22,8 @@
<property name="label">00</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="hours-label"/>
<class name="dim-label"/>
</style>
@@ -41,10 +39,8 @@
<property name="label">00</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="minutes-label"/>
<class name="dim-label"/>
</style>
@@ -62,10 +58,8 @@
<property name="label">00</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="seconds-label"/>
</style>
</object>
@@ -85,11 +79,9 @@
<property name="label">0</property>
<property name="xalign">0</property>
<property name="yalign">0</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
<class name="miliseconds-label"/>
+ <class name="numeric"/>
</style>
</object>
</child>
diff --git a/data/ui/timer-row.ui b/data/ui/timer-row.ui
index 87ab87e4..af41a652 100644
--- a/data/ui/timer-row.ui
+++ b/data/ui/timer-row.ui
@@ -12,10 +12,8 @@
<child>
<object class="GtkLabel" id="countdown_label">
<property name="label">00 ∶ 00 ∶ 00</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
+ <class name="numeric"/>
<class name="timer-countdown"/>
</style>
</object>
diff --git a/data/ui/world-standalone.ui b/data/ui/world-standalone.ui
index 921977f5..1ba14958 100644
--- a/data/ui/world-standalone.ui
+++ b/data/ui/world-standalone.ui
@@ -43,11 +43,9 @@
<object class="GtkLabel" id="time_label">
<property name="justify">center</property>
<property name="wrap">True</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
<style>
<class name="clocks-standalone-label"/>
+ <class name="numeric"/>
</style>
<layout>
<property name="column">0</property>
@@ -103,9 +101,9 @@
<child>
<object class="GtkLabel" id="sunrise_label">
<property name="label">label</property>
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
+ <style>
+ <class name="numeric"/>
+ </style>
<layout>
<property name="column">1</property>
<property name="row">0</property>
@@ -114,9 +112,9 @@
</child>
<child>
<object class="GtkLabel" id="sunset_label">
- <attributes>
- <attribute name="font-features" value="tnum=1"/>
- </attributes>
+ <style>
+ <class name="numeric"/>
+ </style>
<layout>
<property name="column">1</property>
<property name="row">1</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]