Skip to content

Commit

Permalink
v2.0.1: fixed a bug that crashed Unity
Browse files Browse the repository at this point in the history
  • Loading branch information
boramalper committed Jan 7, 2017
1 parent 2515907 commit 8fca92e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion himawaripy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@


# Semantic Versioning: Major, Minor, Patch
HIMAWARIPY_VERSION = (2, 0, 0)
HIMAWARIPY_VERSION = (2, 0, 1)
counter = None
HEIGHT = 550
WIDTH = 550
Expand Down
2 changes: 2 additions & 0 deletions himawaripy/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ def set_background(file_path):
subprocess.call(["gsettings", "set", "org.gnome.desktop.background", "picture-uri", "file://" + file_path])
subprocess.call(["gsettings", "set", "org.gnome.desktop.background", "picture-options", "scaled"])
subprocess.call(["gsettings", "set", "org.gnome.desktop.background", "primary-color", "#000000"])
if de == "unity":
subprocess.call(["gsettings", "set", "org.gnome.desktop.background", "draw-background", "true"])
elif de == "mate":
subprocess.call(["gsettings", "set", "org.mate.background", "picture-filename", file_path])
elif de == 'i3':
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

setup(
name="himawaripy",
version="2.0.0",
version="2.0.1",
url="http://labs.boramalper.org/himawaripy",
author="Mert Bora Alper",
author_email="bora@boramalper.org",
Expand Down

0 comments on commit 8fca92e

Please sign in to comment.