[gnome-maps/wip/mlundblad/drop-network-monitor: 9/12] mapView: Don't notify application connected




commit 4bee5b35ce570edb9d2062511c3b83e102c0d789
Author: Marcus Lundblad <ml dfupdate se>
Date:   Wed Mar 9 21:22:01 2022 +0100

    mapView: Don't notify application connected
    
    Don't notify the "connected" signal on the application
    instance when local tile source fails.

 src/mapView.js | 1 -
 1 file changed, 1 deletion(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 8ead5916..d56cc157 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -465,7 +465,6 @@ var MapView = GObject.registerClass({
             } catch(e) {
                 this.setMapType(MapType.STREET);
                 Application.application.local_tile_path = false;
-                Application.application.notify('connected');
                 Utils.showDialog(e.message, Gtk.MessageType.ERROR, this._mainWindow);
             }
         }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]