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
+2 -2
View File
@@ -343,9 +343,9 @@ on_show_calendars_action_activated (GSimpleAction *action,
GVariant *param,
gpointer user_data)
{
GcalWindow *window = GCAL_WINDOW (user_data);
GcalWindow *self = GCAL_WINDOW (user_data);
gtk_widget_set_visible (window->calendar_management_dialog, TRUE);
adw_dialog_present (ADW_DIALOG (self->calendar_management_dialog), GTK_WIDGET (self));
}
static void