[gnome-boxes/toast-revolution: 1/6] thumbnail: Add a black background color to live thumbnails
- From: Felipe Borges <felipeborges src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-boxes/toast-revolution: 1/6] thumbnail: Add a black background color to live thumbnails
- Date: Thu, 20 Jan 2022 19:06:30 +0000 (UTC)
commit 4567a415b3e12c42fe6c1cb43ca80c0f20a06a94
Author: Felipe Borges <felipeborges gnome org>
Date: Thu Jan 20 18:14:21 2022 +0100
thumbnail: Add a black background color to live thumbnails
Most of the time users will be seeing ttys and/or dark backgrounds.
data/gtk-style.css | 4 ++++
data/ui/thumbnail.ui | 3 +++
2 files changed, 7 insertions(+)
---
diff --git a/data/gtk-style.css b/data/gtk-style.css
index 48c6b668..02bb23b0 100644
--- a/data/gtk-style.css
+++ b/data/gtk-style.css
@@ -9,6 +9,10 @@
border: 1px solid @borders;
}
+.live-thumbnail {
+ background: black;
+}
+
.boxes-product-key-entry {
font-family: monospace;
}
diff --git a/data/ui/thumbnail.ui b/data/ui/thumbnail.ui
index ed7ae2c2..36d820fe 100644
--- a/data/ui/thumbnail.ui
+++ b/data/ui/thumbnail.ui
@@ -19,6 +19,9 @@
<child>
<object class="GtkImage" id="live_thumbnail">
<property name="visible">True</property>
+ <style>
+ <class name="live-thumbnail"/>
+ </style>
</object>
</child>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]