[gnome-text-editor/wip/exalm/styles: 1/8] position-label: Use .numeric style
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-text-editor/wip/exalm/styles: 1/8] position-label: Use .numeric style
- Date: Fri, 7 Jan 2022 12:22:30 +0000 (UTC)
commit c80e0a93ca45a28ff612156342e2c3cf8ed39ab2
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Fri Jan 7 16:17:58 2022 +0500
position-label: Use .numeric style
src/TextEditor.css | 6 ------
src/editor-position-label.ui | 3 +++
2 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/src/TextEditor.css b/src/TextEditor.css
index 18c14b7..e587e2b 100644
--- a/src/TextEditor.css
+++ b/src/TextEditor.css
@@ -1,9 +1,3 @@
-/* EditorWindow */
-window.org-gnome-TextEditor positionlabel label {
- font-feature-settings: "tnum";
-}
-
-
/* EditorPreferencesDialog */
window.org-gnome-TextEditor.preferences textview.preview {
line-height: 1.2;
diff --git a/src/editor-position-label.ui b/src/editor-position-label.ui
index 2e86ccd..032e24f 100644
--- a/src/editor-position-label.ui
+++ b/src/editor-position-label.ui
@@ -2,6 +2,9 @@
<interface>
<requires lib="gtk+" version="4.0"/>
<template class="EditorPositionLabel" parent="GtkWidget">
+ <style>
+ <class name="numeric"/>
+ </style>
<child>
<object class="GtkBox" id="box">
<property name="orientation">horizontal</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]