search: Use list box separators between entries
https://bugzilla.gnome.org/show_bug.cgi?id=775958
This commit is contained in:
parent
a0dccafaa2
commit
f14829c38c
1 changed files with 2 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue