[gnome-calendar: 1/2] window: add org-gnome-Calendar style class
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-calendar: 1/2] window: add org-gnome-Calendar style class
- Date: Thu, 7 Dec 2017 12:51:09 +0000 (UTC)
commit 868e0de889acfaa6831271cbd329e19cd606053d
Author: alex285 <alexis diavatis hotmail com>
Date: Thu Dec 7 02:53:42 2017 +0000
window: add org-gnome-Calendar style class
Currently there is no way for a theme to add some specific styles (eg colors) on Calendar widgets,
without upstreaming their CSS.
This commit adds the org-gnome-Calendar CSS class on the main window, as a helper selector. (See bug #227)
data/ui/window.ui | 3 +++
1 file changed, 3 insertions(+)
---
diff --git a/data/ui/window.ui b/data/ui/window.ui
index 0acb8c0b..7afb0dc1 100644
--- a/data/ui/window.ui
+++ b/data/ui/window.ui
@@ -10,6 +10,9 @@
<signal name="key-press-event" handler="key_pressed" object="GcalWindow" swapped="no"/>
<signal name="window-state-event" handler="window_state_changed" object="GcalWindow" swapped="no"/>
<property name="active-date" bind-source="search_view" bind-property="active-date"
bind-flags="default|sync-create"/>
+ <style>
+ <class name="org-gnome-Calendar"/>
+ </style>
<child>
<object class="GtkOverlay" id="views_overlay">
<property name="visible">True</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]