[gnome-clocks/bilelmoussaoui/timer-ltr] 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] timer: force LTR for the countdown label
- Date: Tue, 29 Sep 2020 20:28:00 +0000 (UTC)
commit 218e0689233cc0092bb8edf0becafdb710ff27a5
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 d26ebce..bf9157c 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]