[gnome-boxes] wizard-source: Style the Downloadable subrows
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes] wizard-source: Style the Downloadable subrows
- Date: Wed, 29 Nov 2017 12:59:39 +0000 (UTC)
commit 4824e3b1cfe8a9b6d578b6824f79a6a9c55350b1
Author: Felipe Borges <felipeborges gnome org>
Date: Mon Nov 27 11:52:32 2017 +0100
wizard-source: Style the Downloadable subrows
https://bugzilla.gnome.org/show_bug.cgi?id=790614
data/gtk-style.css | 4 ++++
src/wizard-source.vala | 3 +++
2 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 4c4cd96..72e80d7 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -84,6 +84,10 @@
background-color: @theme_bg_color;
}
+.boxes-menu-subrow {
+ padding: 10px;
+}
+
/* Adds a border to the ISOs lists top undershoot */
.boxes-menu-scrolled.undershoot.top { border-top: 1px solid @borders; }
diff --git a/src/wizard-source.vala b/src/wizard-source.vala
index 96136f7..c85f880 100644
--- a/src/wizard-source.vala
+++ b/src/wizard-source.vala
@@ -68,6 +68,9 @@ private class Boxes.WizardDownloadableMediaEntry : Gtk.ListBoxRow {
label.halign = Gtk.Align.START;
add (label);
+
+ this.get_style_context ().add_class ("boxes-menu-row");
+ this.get_style_context ().add_class ("boxes-menu-subrow");
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]