[gnome-maps/wip/mlundblad/remove-attribution-logo: 1/2] mapView: Don't set attribution logo




commit 0515f9d23daa73559c9563b2034e77901b82c656
Author: Marcus Lundblad <ml dfupdate se>
Date:   Fri Apr 29 22:23:26 2022 +0200

    mapView: Don't set attribution logo

 src/mapView.js | 6 ------
 1 file changed, 6 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index ea84625c..dd87c336 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -440,12 +440,6 @@ var MapView = GObject.registerClass({
                     this.view.map_source = MapSource.createStreetSource();
                 }
             }
-            if (!this._attribution) {
-                this._attribution = new MapSource.AttributionLogo(this.view);
-                this.view.add_child(this._attribution);
-            }
-
-            this._attribution.setSource(this.view.map_source);
 
             Application.settings.set('map-type', mapType);
         } else {


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