[gnome-control-center] search: Use list box separators between entries
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] search: Use list box separators between entries
- Date: Sat, 29 Apr 2017 11:40:30 +0000 (UTC)
commit f14829c38cd7898fa2302105471d7585718e32ac
Author: Felipe Borges <felipeborges gnome org>
Date: Tue Oct 11 16:01:33 2016 +0200
search: Use list box separators between entries
https://bugzilla.gnome.org/show_bug.cgi?id=775958
panels/search/cc-search-panel.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/panels/search/cc-search-panel.c b/panels/search/cc-search-panel.c
index 556e40d..0a4018e 100644
--- a/panels/search/cc-search-panel.c
+++ b/panels/search/cc-search-panel.c
@@ -21,6 +21,7 @@
#include "cc-search-panel.h"
#include "cc-search-locations-dialog.h"
#include "cc-search-resources.h"
+#include "shell/list-box-helper.h"
#include <gio/gdesktopappinfo.h>
#include <glib/gi18n.h>
@@ -774,6 +775,7 @@ cc_search_panel_init (CcSearchPanel *self)
widget = GTK_WIDGET (gtk_list_box_new ());
gtk_list_box_set_sort_func (GTK_LIST_BOX (widget),
(GtkListBoxSortFunc)list_sort_func, self, NULL);
+ gtk_list_box_set_header_func (GTK_LIST_BOX (widget), cc_list_box_update_header_func, NULL, NULL);
gtk_container_add (GTK_CONTAINER (frame), widget);
self->priv->list_box = widget;
gtk_widget_show (widget);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]