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




commit c9387c4b779e014a81bc239ff0fdfcdb6dcd7302
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]