From 5b7b3b1dfd5ce7c275881098310667b09562ad27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Mon, 11 Nov 2024 12:27:53 +0100 Subject: New upstream version 0.32.10 --- src/events/EventsBranch.vala | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/events/EventsBranch.vala') diff --git a/src/events/EventsBranch.vala b/src/events/EventsBranch.vala index 0550eb7..1a3ac69 100644 --- a/src/events/EventsBranch.vala +++ b/src/events/EventsBranch.vala @@ -174,8 +174,10 @@ public class Events.Branch : Sidebar.Branch { private void on_config_changed() { bool value = Config.Facade.get_instance().get_events_sort_ascending(); - sort_ascending = value; - reorder_all(); + if (value != sort_ascending) { + sort_ascending = value; + reorder_all(); + } } private void on_events_added_removed(Gee.Iterable? added, @@ -456,7 +458,7 @@ public class Events.UndatedDirectoryEntry : Events.DirectoryEntry { protected override Page create_page() { return new SubEventsDirectoryPage(SubEventsDirectoryPage.DirectoryType.UNDATED, - new DateTime.now_local()); + new DateTime.now(Application.timezone)); } } -- cgit v1.2.3