diff options
author | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-15 11:33:33 +0200 |
---|---|---|
committer | Marek Siarkowicz <mareksiarkowicz@gmail.com> | 2015-06-15 12:01:43 +0200 |
commit | 947a9f7d10bc3c54939cfa72dab27b2e64034318 (patch) | |
tree | 052108b258f5179c457b762e2134bf9fff1dccfe /parrot_zik/indicator | |
parent | 55255db75378f39807371bb7e434cc943fd66f27 (diff) | |
download | pyParrotZikTCP-947a9f7d10bc3c54939cfa72dab27b2e64034318.tar.xz pyParrotZikTCP-947a9f7d10bc3c54939cfa72dab27b2e64034318.zip |
Create packet.
Diffstat (limited to '')
-rw-r--r-- | parrot_zik/indicator.py (renamed from indicator.py) | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/indicator.py b/parrot_zik/indicator.py index 05ffec7..2691113 100644 --- a/indicator.py +++ b/parrot_zik/indicator.py @@ -41,7 +41,7 @@ class BaseIndicator(object): class WindowsIndicator(BaseIndicator): def __init__(self, icon, menu): self.icon_directory = ( - os.path.dirname(os.path.realpath(sys.argv[0])) + os.path.dirname(os.path.realpath(sys.argv[0])) + os.path.sep + '..' + os.path.sep + 'share' + os.path.sep + 'icons' + os.path.sep +'zik' + os.path.sep) self.menu_shown = False @@ -77,7 +77,7 @@ class LinuxIndicator(BaseIndicator): + os.path.sep + 'icons' + os.path.sep+'zik' + os.path.sep) if not os.path.isdir(self.icon_directory): - self.icon_directory = (os.path.dirname(sys.argv[0]) + self.icon_directory = (os.path.dirname(sys.argv[0]) + os.path.sep + '..' + os.path.sep + 'share' + os.path.sep + 'icons' + os.path.sep+'zik' + os.path.sep) @@ -108,7 +108,7 @@ class LinuxIndicator(BaseIndicator): class DarwinIndicator(BaseIndicator): def __init__(self, icon, menu): self.icon_directory = ( - os.path.dirname(os.path.realpath(sys.argv[0])) + os.path.sep + os.path.dirname(os.path.realpath(sys.argv[0])) + os.path.sep + '..' + os.path.sep + 'share' + os.path.sep + 'icons' + os.path.sep + 'zik' + os.path.sep) statusicon = StatusApp.sharedApplication() |