general: Use GcalToolbarEnd for toolbars

For the sake of smooth adaptivity, we need the toolbar buttons
to be constant in both modes instead of moving places from one
mode to another. Instead of duplicating these groups of
buttons, we can refactor them into an object for toolbars
and use them in multiple places.

This commit takes the widgets from the end of the header bar and
creates `GcalToolbarEnd`, which is used in the header bar and the
mobile action bar.
This commit is contained in:
Christopher Davis
2022-08-12 03:00:08 +00:00
committed by Georges Basile Stavracas Neto
parent 78d9dd1e8e
commit 9444d998ff
7 changed files with 114 additions and 25 deletions
+1
View File
@@ -8,6 +8,7 @@
<file compressed="true">gcal-quick-add-popover.ui</file>
<file compressed="true">gcal-search-button.ui</file>
<file compressed="true">gcal-search-hit-row.ui</file>
<file compressed="true">gcal-toolbar-end.ui</file>
<file compressed="true">gcal-weather-settings.ui</file>
<file compressed="true">gcal-window.ui</file>
</gresource>