[gnome-clocks/bilelmoussaoui/timer-ltr: 45/47] timer: force LTR for the countdown label
- From: Bilal Elmoussaoui <bilelmoussaoui src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-clocks/bilelmoussaoui/timer-ltr: 45/47] timer: force LTR for the countdown label
- Date: Thu, 11 Feb 2021 15:50:25 +0000 (UTC)
commit dcf86ad2ed4672f457c761259663f35cf8961a26
Author: Bilal Elmoussaoui <bil elmoussaoui gmail com>
Date: Tue Sep 29 20:27:58 2020 +0000
timer: force LTR for the countdown label
Fixes #140
src/timer-row.vala | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/src/timer-row.vala b/src/timer-row.vala
index 76e6ad5..eab462d 100644
--- a/src/timer-row.vala
+++ b/src/timer-row.vala
@@ -67,6 +67,9 @@ public class Row : Gtk.ListBoxRow {
public Row (Item item) {
Object (item: item);
+
+ // Force LTR since we do not want to reverse [hh] : [mm] : [ss]
+ countdown_label.set_direction (Gtk.TextDirection.LTR);
item.countdown_updated.connect (this.update_countdown);
item.ring.connect (() => this.ring ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]