[gnome-software: 1/2] Replace the deprecated .content by .boxed-list
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] Replace the deprecated .content by .boxed-list
- Date: Wed, 26 Jan 2022 13:47:07 +0000 (UTC)
commit 7b6dc923f57524bb28ac62eb93bb9fa9143c4110
Author: Adrien Plazas <kekun plazas laposte net>
Date: Thu Nov 25 12:31:06 2021 +0100
Replace the deprecated .content by .boxed-list
src/gs-age-rating-context-dialog.ui | 2 +-
src/gs-app-details-page.ui | 4 ++--
src/gs-app-version-history-dialog.ui | 2 +-
src/gs-details-page.ui | 6 +++---
src/gs-hardware-support-context-dialog.ui | 2 +-
src/gs-installed-page.ui | 8 ++++----
src/gs-license-tile.ui | 2 +-
src/gs-removal-dialog.ui | 2 +-
src/gs-repos-section.c | 2 +-
src/gs-safety-context-dialog.ui | 4 ++--
src/gs-search-page.ui | 2 +-
src/gs-storage-context-dialog.ui | 2 +-
src/gs-update-dialog.ui | 3 ++-
src/gs-updates-section.ui | 2 +-
14 files changed, 22 insertions(+), 21 deletions(-)
---
diff --git a/src/gs-age-rating-context-dialog.ui b/src/gs-age-rating-context-dialog.ui
index 9b4d41211..3e6c62007 100644
--- a/src/gs-age-rating-context-dialog.ui
+++ b/src/gs-age-rating-context-dialog.ui
@@ -69,7 +69,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<!-- Rows are added in code -->
<placeholder/>
diff --git a/src/gs-app-details-page.ui b/src/gs-app-details-page.ui
index 2edeae3e2..de7a72748 100644
--- a/src/gs-app-details-page.ui
+++ b/src/gs-app-details-page.ui
@@ -52,7 +52,7 @@
<object class="GtkListBox" id="permissions_section_list">
<property name="selection-mode">none</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
@@ -62,7 +62,7 @@
<object class="GtkListBox">
<property name="selection-mode">none</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<child>
<object class="GtkListBoxRow">
diff --git a/src/gs-app-version-history-dialog.ui b/src/gs-app-version-history-dialog.ui
index 848153626..f673c78d8 100644
--- a/src/gs-app-version-history-dialog.ui
+++ b/src/gs-app-version-history-dialog.ui
@@ -30,7 +30,7 @@
<property name="selection-mode">none</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
diff --git a/src/gs-details-page.ui b/src/gs-details-page.ui
index b3bbb498d..87a20db0f 100644
--- a/src/gs-details-page.ui
+++ b/src/gs-details-page.ui
@@ -415,7 +415,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
@@ -451,7 +451,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<child>
<object class="GsAppVersionHistoryRow" id="row_latest_version">
@@ -675,7 +675,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<child>
diff --git a/src/gs-hardware-support-context-dialog.ui b/src/gs-hardware-support-context-dialog.ui
index 8788937d0..c81be0b94 100644
--- a/src/gs-hardware-support-context-dialog.ui
+++ b/src/gs-hardware-support-context-dialog.ui
@@ -69,7 +69,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<!-- Rows are added in code -->
<placeholder/>
diff --git a/src/gs-installed-page.ui b/src/gs-installed-page.ui
index c14f93547..24f20cf86 100644
--- a/src/gs-installed-page.ui
+++ b/src/gs-installed-page.ui
@@ -60,7 +60,7 @@
<property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
@@ -80,7 +80,7 @@
<property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
@@ -100,7 +100,7 @@
<property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
@@ -120,7 +120,7 @@
<property name="valign">start</property>
<signal name="row-activated"
handler="gs_installed_page_app_row_activated_cb"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
diff --git a/src/gs-license-tile.ui b/src/gs-license-tile.ui
index e7695f0dd..e50583308 100644
--- a/src/gs-license-tile.ui
+++ b/src/gs-license-tile.ui
@@ -8,7 +8,7 @@
<property name="valign">start</property>
<signal name="row-activated" handler="gs_license_tile_row_activated_cb"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<child>
diff --git a/src/gs-removal-dialog.ui b/src/gs-removal-dialog.ui
index 26fce00a9..298900eb2 100644
--- a/src/gs-removal-dialog.ui
+++ b/src/gs-removal-dialog.ui
@@ -77,7 +77,7 @@
<property name="selection_mode">none</property>
<property name="valign">start</property>
<style>
- <class name="content" />
+ <class name="boxed-list" />
</style>
</object>
</child>
diff --git a/src/gs-repos-section.c b/src/gs-repos-section.c
index 611e76384..3e5d684db 100644
--- a/src/gs-repos-section.c
+++ b/src/gs-repos-section.c
@@ -121,7 +121,7 @@ gs_repos_section_init (GsReposSection *self)
gtk_list_box_set_sort_func (self->list, _list_sort_func, self, NULL);
style_context = gtk_widget_get_style_context (GTK_WIDGET (self->list));
- gtk_style_context_add_class (style_context, "content");
+ gtk_style_context_add_class (style_context, "boxed-list");
adw_preferences_group_add (ADW_PREFERENCES_GROUP (self), GTK_WIDGET (self->list));
diff --git a/src/gs-safety-context-dialog.ui b/src/gs-safety-context-dialog.ui
index 294e06ef7..e54ef839d 100644
--- a/src/gs-safety-context-dialog.ui
+++ b/src/gs-safety-context-dialog.ui
@@ -69,7 +69,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<!-- Rows are added in code -->
<placeholder/>
@@ -87,7 +87,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<child>
diff --git a/src/gs-search-page.ui b/src/gs-search-page.ui
index b875192ab..d2ec96df9 100644
--- a/src/gs-search-page.ui
+++ b/src/gs-search-page.ui
@@ -73,8 +73,8 @@
<property name="margin-end">12</property>
<property name="valign">start</property>
<style>
+ <class name="boxed-list"/>
<class name="section"/>
- <class name="content"/>
</style>
</object>
</child>
diff --git a/src/gs-storage-context-dialog.ui b/src/gs-storage-context-dialog.ui
index c60731c0f..c2d6acb8b 100644
--- a/src/gs-storage-context-dialog.ui
+++ b/src/gs-storage-context-dialog.ui
@@ -69,7 +69,7 @@
<property name="halign">fill</property>
<property name="valign">start</property>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
<!-- Rows are added in code -->
<placeholder/>
diff --git a/src/gs-update-dialog.ui b/src/gs-update-dialog.ui
index fbbac57cc..b60be4503 100644
--- a/src/gs-update-dialog.ui
+++ b/src/gs-update-dialog.ui
@@ -100,7 +100,8 @@
<child>
<object class="GsUpdateList" id="list_box_installed_updates">
<style>
- <class name="content" />
+ <!-- FIXME: It's not a GtkListBox, will this work nonetheless‽ -->
+ <class name="boxed-list" />
</style>
</object>
</child>
diff --git a/src/gs-updates-section.ui b/src/gs-updates-section.ui
index a7e6fad89..3a1eac32e 100644
--- a/src/gs-updates-section.ui
+++ b/src/gs-updates-section.ui
@@ -99,7 +99,7 @@
<signal name="row-activated" handler="_app_row_activated_cb" swapped="yes"/>
<signal name="keynav-failed" handler="_listbox_keynav_failed_cb" swapped="yes"/>
<style>
- <class name="content"/>
+ <class name="boxed-list"/>
</style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]