[gnome-control-center] user: Use content style for listboxes
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] user: Use content style for listboxes
- Date: Wed, 19 May 2021 03:31:09 +0000 (UTC)
commit 179d6aeb2defd90bdf01a2879754b745072122fc
Author: Mohammed Sadiq <sadiq sadiqpk org>
Date: Tue May 11 18:08:18 2021 +0530
user: Use content style for listboxes
panels/user-accounts/cc-user-panel.c | 7 -------
panels/user-accounts/cc-user-panel.ui | 4 ++--
2 files changed, 2 insertions(+), 9 deletions(-)
---
diff --git a/panels/user-accounts/cc-user-panel.c b/panels/user-accounts/cc-user-panel.c
index cf3b0e24a..57cd019db 100644
--- a/panels/user-accounts/cc-user-panel.c
+++ b/panels/user-accounts/cc-user-panel.c
@@ -1498,13 +1498,6 @@ setup_main_window (CcUserPanel *self)
users_loaded (self);
else
g_signal_connect_object (self->um, "notify::is-loaded", G_CALLBACK (users_loaded), self,
G_CONNECT_SWAPPED);
-
- gtk_list_box_set_header_func (self->account_settings_listbox,
- cc_list_box_update_header_func,
- NULL, NULL);
- gtk_list_box_set_header_func (self->authentication_and_login_listbox,
- cc_list_box_update_header_func,
- NULL, NULL);
}
static GSettings *
diff --git a/panels/user-accounts/cc-user-panel.ui b/panels/user-accounts/cc-user-panel.ui
index c51d1fd10..a1092eed7 100644
--- a/panels/user-accounts/cc-user-panel.ui
+++ b/panels/user-accounts/cc-user-panel.ui
@@ -259,7 +259,7 @@
<property name="selection-mode">GTK_SELECTION_NONE</property>
<signal name="row-activated" handler="activate_row"/>
<style>
- <class name="frame"/>
+ <class name="content"/>
</style>
<child>
<object class="HdyActionRow" id="account_type_row">
@@ -355,7 +355,7 @@
<property name="selection-mode">GTK_SELECTION_NONE</property>
<signal name="row-activated" handler="activate_row"/>
<style>
- <class name="frame"/>
+ <class name="content"/>
</style>
<child>
<object class="HdyActionRow" id="password_row">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]