[gnome-maps/wip/mlundblad/fix-local-tiles: 3/3] application: Fix setting startup flag with --local
- From: Marcus Lundblad <mlundblad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps/wip/mlundblad/fix-local-tiles: 3/3] application: Fix setting startup flag with --local
- Date: Tue, 13 Sep 2022 21:25:53 +0000 (UTC)
commit dc7492476dc0ffc45501d4e0e53789bfe51e19b7
Author: Marcus Lundblad <ml dfupdate se>
Date: Tue Sep 13 23:15:16 2022 +0200
application: Fix setting startup flag with --local
Use the correct static reference to Application when
setting the normal startup flag when using local tiles.
src/application.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/application.js b/src/application.js
index 5e217201..41fb76b3 100644
--- a/src/application.js
+++ b/src/application.js
@@ -305,7 +305,7 @@ export class Application extends Adw.Application {
if (options.contains('local')) {
let variant = options.lookup_value('local', null);
this.local_tile_path = variant.deep_unpack();
- normalStartup = false;
+ Application.normalStartup = false;
if (options.contains('local-tile-size')) {
variant = options.lookup_value('local-tile-size', null);
this.local_tile_size = variant.deep_unpack();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]