[gnome-software] trivial: More source selection drop down tweaks
- From: Kalev Lember <klember src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] trivial: More source selection drop down tweaks
- Date: Thu, 27 Sep 2018 19:17:58 +0000 (UTC)
commit 499c85f0244654750f16ee1bca37609a96f629a9
Author: Kalev Lember <klember redhat com>
Date: Thu Sep 27 21:11:23 2018 +0200
trivial: More source selection drop down tweaks
Add separators and increase spacing a bit, to match the mockups better.
src/gnome-software.ui | 2 +-
src/gs-details-page.c | 4 +++-
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/gnome-software.ui b/src/gnome-software.ui
index 7d595a1e..50ad3233 100644
--- a/src/gnome-software.ui
+++ b/src/gnome-software.ui
@@ -345,7 +345,7 @@
<property name="visible">True</property>
<property name="orientation">horizontal</property>
<property name="halign">fill</property>
- <property name="spacing">6</property>
+ <property name="spacing">9</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes" comments="Translators: This is a label in the
header bar, followed by a drop down to choose between different source repos">Source</property>
diff --git a/src/gs-details-page.c b/src/gs-details-page.c
index acbd7c1c..66b9f1f1 100644
--- a/src/gs-details-page.c
+++ b/src/gs-details-page.c
@@ -969,7 +969,6 @@ gs_details_page_set_alternates (GsDetailsPage *self)
self);
}
-
static void
gs_details_page_refresh_all (GsDetailsPage *self)
{
@@ -2466,6 +2465,9 @@ gs_details_page_setup (GsPage *page,
G_CALLBACK (gs_details_page_activate_link_cb),
self);
origin_popover_list_box = GTK_WIDGET (gtk_builder_get_object (self->builder,
"origin_popover_list_box"));
+ gtk_list_box_set_header_func (GTK_LIST_BOX (origin_popover_list_box),
+ list_header_func,
+ NULL, NULL);
g_signal_connect (origin_popover_list_box, "row-activated",
G_CALLBACK (origin_popover_row_activated_cb),
self);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]