[epiphany/wip/exalm/gtk4-cleanups-3: 12/18] Stop using shadow-type on GtkFrame and GtkScrolledWindow
- From: Alexander Mikhaylenko <alexm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [epiphany/wip/exalm/gtk4-cleanups-3: 12/18] Stop using shadow-type on GtkFrame and GtkScrolledWindow
- Date: Wed, 1 Dec 2021 23:29:21 +0000 (UTC)
commit e5fba2dd2cf043a7d773a1fe13e668c1b787921c
Author: Alexander Mikhaylenko <alexm gnome org>
Date: Thu Dec 2 03:49:13 2021 +0500
Stop using shadow-type on GtkFrame and GtkScrolledWindow
They will go away in GTK4. The default on GtkFrame is fine, on scrolled
window add .frame style class instead.
Delete random label_xalign as well, they are unused.
src/resources/gtk/encoding-dialog.ui | 8 +++-----
src/resources/gtk/prefs-lang-dialog.ui | 4 +++-
2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/resources/gtk/encoding-dialog.ui b/src/resources/gtk/encoding-dialog.ui
index a13d599b7..523b05d00 100644
--- a/src/resources/gtk/encoding-dialog.ui
+++ b/src/resources/gtk/encoding-dialog.ui
@@ -76,8 +76,6 @@
<object class="GtkFrame">
<property name="visible">True</property>
<property name="vexpand">True</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">in</property>
<child>
<object class="GtkListBox" id="recent_list_box">
<property name="visible">True</property>
@@ -108,8 +106,6 @@
<object class="GtkFrame">
<property name="visible">True</property>
<property name="border_width">6</property>
- <property name="label_xalign">0</property>
- <property name="shadow_type">none</property>
<child>
<object class="GtkListBox" id="related_list_box">
<property name="visible">True</property>
@@ -137,7 +133,9 @@
<object class="GtkScrolledWindow">
<property name="visible">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="shadow_type">in</property>
+ <style>
+ <class name="frame"/>
+ </style>
<child>
<object class="GtkListBox" id="list_box">
<property name="visible">True</property>
diff --git a/src/resources/gtk/prefs-lang-dialog.ui b/src/resources/gtk/prefs-lang-dialog.ui
index 0fa1bc561..b006eaf56 100644
--- a/src/resources/gtk/prefs-lang-dialog.ui
+++ b/src/resources/gtk/prefs-lang-dialog.ui
@@ -58,8 +58,10 @@
<object class="GtkScrolledWindow" id="scrolledwindow3">
<property name="visible">True</property>
<property name="hscrollbar_policy">never</property>
- <property name="shadow_type">in</property>
<property name="vexpand">True</property>
+ <style>
+ <class name="frame"/>
+ </style>
<child>
<object class="GtkTreeView" id="languages_treeview">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]