[gtk/wip/exalm/color-scales: 1/3] coloreditor: Stop adding marks style to color scales
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/exalm/color-scales: 1/3] coloreditor: Stop adding marks style to color scales
- Date: Wed, 11 May 2022 22:23:57 +0000 (UTC)
commit 1f61cb2251f75e912537589724be84b1a404b183
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu May 12 02:21:34 2022 +0400
coloreditor: Stop adding marks style to color scales
gtk/gtkcoloreditor.c | 5 -----
gtk/ui/gtkcoloreditor.ui | 3 ---
2 files changed, 8 deletions(-)
---
diff --git a/gtk/gtkcoloreditor.c b/gtk/gtkcoloreditor.c
index 84f2fe490b..5f7faa5e03 100644
--- a/gtk/gtkcoloreditor.c
+++ b/gtk/gtkcoloreditor.c
@@ -401,11 +401,6 @@ gtk_color_editor_init (GtkColorEditor *editor)
g_type_ensure (GTK_TYPE_COLOR_SWATCH);
gtk_widget_init_template (GTK_WIDGET (editor));
- if (gtk_widget_get_direction (editor->h_slider) == GTK_TEXT_DIR_RTL)
- gtk_widget_add_css_class (editor->h_slider, "marks-before");
- else
- gtk_widget_add_css_class (editor->h_slider, "marks-after");
-
/* Create the scaled popup adjustments manually here because connecting user data is not
* supported by template GtkBuilder xml (it would be possible to set this up in the xml
* but require 4 separate callbacks and would be rather ugly).
diff --git a/gtk/ui/gtkcoloreditor.ui b/gtk/ui/gtkcoloreditor.ui
index 2058143128..010e353617 100644
--- a/gtk/ui/gtkcoloreditor.ui
+++ b/gtk/ui/gtkcoloreditor.ui
@@ -102,9 +102,6 @@
<property name="adjustment">a_adj</property>
<property name="scale-type">1</property>
<property name="has-origin">False</property>
- <style>
- <class name="marks-before"/>
- </style>
<layout>
<property name="column">1</property>
<property name="row">2</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]