diff options
author | Marcus Lundblad <ml@dfupdate.se> | 2022-11-19 22:05:13 +0100 |
---|---|---|
committer | Marcus Lundblad <ml@dfupdate.se> | 2022-11-19 22:05:13 +0100 |
commit | fdd051c6ec135ecfa50fa090cf94309ef1cc4b56 (patch) | |
tree | 1760f43219b3639814a6cab47f5c18e72836cc58 | |
parent | 62139252f1807250764f4fb146153265aea15a24 (diff) | |
download | gnome-maps-wip/mlundblad/rename-mark-location.tar.gz |
placeMarker: Rename the mark-location iconwip/mlundblad/rename-mark-location
This icon is present in a symbolic recolorable
variant in some system theme packages.
This can result in a hard-to-read light grey
icon when dark theme is used, which gives
bad contrast against the (mostly light) raster
tiles. So rename the bundled icon with a maps-
prefix to prevent this.
-rw-r--r-- | data/icons/private/hicolor/32x32/apps/maps-mark-location.png (renamed from data/icons/private/hicolor/32x32/apps/mark-location.png) | bin | 1060 -> 1060 bytes | |||
-rw-r--r-- | src/placeMarker.js | 2 |
2 files changed, 1 insertions, 1 deletions
diff --git a/data/icons/private/hicolor/32x32/apps/mark-location.png b/data/icons/private/hicolor/32x32/apps/maps-mark-location.png Binary files differindex 1a34a63c..1a34a63c 100644 --- a/data/icons/private/hicolor/32x32/apps/mark-location.png +++ b/data/icons/private/hicolor/32x32/apps/maps-mark-location.png diff --git a/src/placeMarker.js b/src/placeMarker.js index 6a18c12f..b19bd401 100644 --- a/src/placeMarker.js +++ b/src/placeMarker.js @@ -29,7 +29,7 @@ export class PlaceMarker extends MapMarker { constructor(params) { super(params); - this._image.icon_name = 'mark-location'; + this._image.icon_name = 'maps-mark-location'; this._image.icon_size = Gtk.IconSize.LARGE; } |