From 4dba672a5181252a6798ee4ca27020446ac1f51e Mon Sep 17 00:00:00 2001
From: iovar <iovar@f606c939-3180-4ac9-a4b8-4b8779d57d0a>
Date: Fri, 27 Apr 2007 03:57:52 +0000
Subject: pixmap lookup in rmdTrayIcon set according installation dir

git-svn-id: https://recordmydesktop.svn.sourceforge.net/svnroot/recordmydesktop/trunk@319 f606c939-3180-4ac9-a4b8-4b8779d57d0a
---
 qt-recordmydesktop/src/rmdTrayIcon.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/qt-recordmydesktop/src/rmdTrayIcon.py b/qt-recordmydesktop/src/rmdTrayIcon.py
index b9a3bd0..d4d9ce1 100644
--- a/qt-recordmydesktop/src/rmdTrayIcon.py
+++ b/qt-recordmydesktop/src/rmdTrayIcon.py
@@ -301,11 +301,11 @@ class trayIcon(object):
             return False
     def __get_icon_location__(self,name):
         if name=="start":
-            return "icons/rec1.png"
+            return os.path.join(rmdConfig.pixmapdir,"qt-recordmydesktop_record.png")
         elif name=="stop":
-            return "icons/stop1.png"
+            return os.path.join(rmdConfig.pixmapdir,"qt-recordmydesktop_stop.png")
         elif name=="pause":
-            return "icons/pause1.png"
+            return os.path.join(rmdConfig.pixmapdir,"qt-recordmydesktop_pause.png")
 
     def __init__(self,parent):
         self.parent=parent
-- 
cgit v1.2.3