window: Move action widgets at small widths

Moves the action widgets (Today, New Event, Search) to an
action bar when the window shrinks.
This commit is contained in:
Christopher Davis
2022-08-12 03:00:08 +00:00
committed by Georges Basile Stavracas Neto
parent 4cc727f48d
commit 78d9dd1e8e
2 changed files with 41 additions and 0 deletions
+6
View File
@@ -100,6 +100,7 @@
<child>
<object class="AdwLeaflet" id="leaflet">
<property name="homogeneous">False</property>
<signal name="notify::folded" handler="on_folded_notify_cb" object="GcalWindow" swapped="no"/>
<child>
<object class="GtkBox">
<property name="hexpand">False</property>
@@ -143,6 +144,11 @@
</style>
</object>
</child>
<child>
<object class="GtkActionBar" id="action_bar">
<property name="revealed" bind-source="leaflet" bind-property="folded" bind-flags="sync-create"/>
</object>
</child>
</object>
</child>
<child>