Skip to content

Commit c5d5bf2

Browse files
authored
LocationPanel: remove timezone fallback (#922)
* LocationPanel: remove timezone fallback * Update LocationPanel.vala
1 parent 842a67e commit c5d5bf2

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

src/EventEdition/LocationPanel.vala

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,11 @@ public class Maya.View.EventEdition.LocationPanel : Gtk.Box {
242242
});
243243

244244
} catch (Error e) {
245+
/* Do NOT attempt a fallback. User intent is that they not be located.
246+
* Attempting to locate anyway is perceived as a breach of consent
247+
* https://github.com/elementary/calendar/issues/540
248+
*/
245249
warning ("Failed to connect to GeoClue2 service: %s", e.message);
246-
// Fallback to timezone location
247-
248-
compute_location.begin (ECal.util_get_system_timezone_location ());
249250
return;
250251
}
251252
}

0 commit comments

Comments
 (0)