Skip to content

Commit

Permalink
Change indicator icons
Browse files Browse the repository at this point in the history
  • Loading branch information
LyzardKing committed Apr 29, 2017
1 parent 677e841 commit 46d6aec
Show file tree
Hide file tree
Showing 5 changed files with 129 additions and 2 deletions.
Binary file removed grive_indicator/data/drive-dark.png
Binary file not shown.
100 changes: 100 additions & 0 deletions grive_indicator/data/drive-dark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed grive_indicator/data/drive-light.png
Binary file not shown.
27 changes: 27 additions & 0 deletions grive_indicator/data/drive-light.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions grive_indicator/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def _runAuth(folder):


def getAlertIcon():
return os.path.join(root_dir, "data", 'drive-dark.png')
return os.path.join(root_dir, "data", 'drive-dark.svg')


def getIcon():
Expand All @@ -124,7 +124,7 @@ def getIcon():
logger.error(e)
style = 'dark'
if style == 'light' or style == 'dark':
icon = os.path.join(root_dir, "data", 'drive-' + style + '.png')
icon = os.path.join(root_dir, "data", 'drive-' + style + '.svg')
return icon
else:
return style
Expand Down

0 comments on commit 46d6aec

Please sign in to comment.