Rework calendar popover to be a button

This allows more precise control of the style and the contents
of the popover.
This commit is contained in:
Georges Basile Stavracas Neto
2022-02-12 13:08:50 -03:00
parent bc0aeaaf70
commit ad0a97d6ac
8 changed files with 146 additions and 154 deletions
+1 -8
View File
@@ -141,13 +141,7 @@
</object>
</child>
<child type="end">
<object class="GtkMenuButton" id="calendars_button">
<property name="popover">calendar_popover</property>
<property name="tooltip_text" translatable="yes">Manage your calendars</property>
<style>
<class name="image-button"/>
</style>
</object>
<object class="GcalCalendarButton" id="calendars_button" />
</child>
<child type="end">
<object class="GcalSearchButton" id="search_button">
@@ -227,7 +221,6 @@
</object>
</child>
</template>
<object class="GcalCalendarPopover" id="calendar_popover" />
<object class="GcalQuickAddPopover" id="quick_add_popover">
<signal name="edit-event" handler="edit_event" object="GcalWindow" swapped="no"/>
<signal name="closed" handler="close_new_event_widget" object="GcalWindow" swapped="no"/>