search-view: fixed double border at the end of the list

Also, fixes a small details that the results list is
always expanded.
This commit is contained in:
Georges Basile Stavracas Neto
2015-01-09 09:16:40 -05:00
committed by Erick Pérez Castellanos
parent e34a587f16
commit 95b35964cd
3 changed files with 9 additions and 2 deletions
+4
View File
@@ -97,6 +97,10 @@ GcalSearchView > GtkViewport {
background-color: @theme_bg_color;
}
.search-list {
border-bottom: 0px;
}
.search-list > GtkListBoxRow {
border-bottom: solid 1px @borders;
}
+5 -1
View File
@@ -23,8 +23,12 @@
<property name="visible">True</property>
<property name="can_focus">False</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
<property name="vexpand">False</property>
<property name="valign">GTK_ALIGN_START</property>
<property name="label_xalign">0</property>
<style>
<class name="search-list" />
</style>
<child>
<object class="GtkListBox" id="listbox">
<property name="visible">True</property>
-1
View File
@@ -401,7 +401,6 @@ gcal_search_view_constructed (GObject *object)
/* listbox */
gtk_list_box_set_sort_func (GTK_LIST_BOX (priv->listbox), (GtkListBoxSortFunc) sort_by_event, object, NULL);
gtk_style_context_add_class (gtk_widget_get_style_context (priv->listbox), "search-list");
gcal_manager_set_search_subscriber (
priv->manager,