[gnome-control-center/wip/gbsneto/new-goa-panel: 18/25] online-accounts: add separators between listbox rows
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/gbsneto/new-goa-panel: 18/25] online-accounts: add separators between listbox rows
- Date: Sat, 26 Nov 2016 10:10:08 +0000 (UTC)
commit 1d68965c46209cd592d5ddc8b102ce60baf61d92
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date: Thu Nov 10 13:32:43 2016 -0200
online-accounts: add separators between listbox rows
https://bugzilla.gnome.org/show_bug.cgi?id=774222
panels/online-accounts/cc-online-accounts-panel.c | 10 ++++++++++
1 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/panels/online-accounts/cc-online-accounts-panel.c
b/panels/online-accounts/cc-online-accounts-panel.c
index 8f8e765..cd4d54e 100644
--- a/panels/online-accounts/cc-online-accounts-panel.c
+++ b/panels/online-accounts/cc-online-accounts-panel.c
@@ -34,6 +34,8 @@
#include "cc-online-accounts-add-account-dialog.h"
#include "cc-online-accounts-resources.h"
+#include "shell/list-box-helper.h"
+
struct _CcGoaPanel
{
CcPanel parent_instance;
@@ -351,11 +353,19 @@ cc_goa_panel_init (CcGoaPanel *panel)
gtk_widget_init_template (GTK_WIDGET (panel));
+ gtk_list_box_set_header_func (GTK_LIST_BOX (panel->accounts_listbox),
+ cc_list_box_update_header_func,
+ NULL,
+ NULL);
gtk_list_box_set_sort_func (GTK_LIST_BOX (panel->accounts_listbox),
sort_func,
panel,
NULL);
+ gtk_list_box_set_header_func (GTK_LIST_BOX (panel->providers_listbox),
+ cc_list_box_update_header_func,
+ NULL,
+ NULL);
gtk_list_box_set_sort_func (GTK_LIST_BOX (panel->providers_listbox),
sort_providers_func,
panel,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]