calendar-management: Make it an AdwDialog

So it can behave like a bottom sheet when collapsed.
This commit is contained in:
Georges Basile Stavracas Neto
2024-01-27 12:32:12 -03:00
parent b42f3d46d4
commit 72d3caaf94
5 changed files with 11 additions and 15 deletions
@@ -1,13 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="GcalCalendarManagementDialog" parent="AdwWindow">
<template class="GcalCalendarManagementDialog" parent="AdwDialog">
<property name="title" translatable="yes">Calendar Settings</property>
<property name="width-request">360</property>
<property name="default-width">500</property>
<property name="default-height">600</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="hide-on-close">True</property>
<property name="content-width">500</property>
<property name="content-height">600</property>
<child>
<object class="AdwNavigationView" id="navigation_view">
<signal name="popped" handler="on_navigation_view_popped_cb" object="GcalCalendarManagementDialog" swapped="no" />