Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2016-10-27 12:30:31 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2016-10-27 12:30:31 +0300
commit9969627212b9eeb6dac5e2de91d93b2b5bd8a3e6 (patch)
tree1f433469be4d471f85aeb1d9167718a025bea6ec
parente5903071e603e98ba64c8b7b67fcfb6c54c7ca2c (diff)
Setting OSX icon as "template" makes it automatically switch between dark and light versions.
This fixes #2054
-rw-r--r--Duplicati/GUI/Duplicati.GUI.TrayIcon/OSXTrayHost/osx-trayicon-rumps.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Duplicati/GUI/Duplicati.GUI.TrayIcon/OSXTrayHost/osx-trayicon-rumps.py b/Duplicati/GUI/Duplicati.GUI.TrayIcon/OSXTrayHost/osx-trayicon-rumps.py
index f28f29107..3f52696df 100644
--- a/Duplicati/GUI/Duplicati.GUI.TrayIcon/OSXTrayHost/osx-trayicon-rumps.py
+++ b/Duplicati/GUI/Duplicati.GUI.TrayIcon/OSXTrayHost/osx-trayicon-rumps.py
@@ -116,6 +116,7 @@ def get_input():
img = NSImage.alloc().initWithData_(data)
img.setScalesWhenResized_(True)
img.setSize_((18, 18))
+ img.setTemplate_(True)
app.icon = img
print "info:Image updated"