[gnome-builder/wip/gtk4-port: 941/1774] libide/gui: allow checkimage for radios too
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder/wip/gtk4-port: 941/1774] libide/gui: allow checkimage for radios too
- Date: Mon, 11 Jul 2022 22:31:29 +0000 (UTC)
commit b1bf67dfdfa082359b88493eb23a76f036a36b42
Author: Christian Hergert <chergert redhat com>
Date: Tue May 10 11:44:24 2022 -0700
libide/gui: allow checkimage for radios too
They can be used in actions bound to checkbutton so we need to cover that
case as well.
src/libide/gui/style.css | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/src/libide/gui/style.css b/src/libide/gui/style.css
index 2e1e5be90..80e50cb9d 100644
--- a/src/libide/gui/style.css
+++ b/src/libide/gui/style.css
@@ -9,6 +9,7 @@ window.preferences list.boxed-list.style-variant button {
window.preferences list.boxed-list.style-variant button:checked {
border-color: @theme_selected_bg_color;
}
+.checkimage radio,
.checkimage check {
background: none;
outline: none;
@@ -18,6 +19,7 @@ window.preferences list.boxed-list.style-variant button:checked {
-gtk-icon-source: none;
-gtk-icon-size: 18px;
}
+.checkimage radio:checked,
.checkimage check:checked {
-gtk-icon-source: -gtk-icontheme('object-select-symbolic');
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]