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)
This commit is contained in:
alex285
2017-12-07 14:34:58 +02:00
parent f1a8aaed5f
commit 868e0de889
+3
View File
@@ -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>