[svinfo] Icon (#1870)

This commit is contained in:
Christophe De Wagter
2016-10-01 14:29:08 +02:00
committed by Gautier Hattenberger
parent 58dcfea5d7
commit 9f264a59d2
2 changed files with 7 additions and 1 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 123 KiB

@@ -7,7 +7,10 @@ import threading
import math
import pynotify
sys.path.append(os.getenv("PAPARAZZI_HOME") + "/sw/ext/pprzlink/lib/v1.0/python")
PPRZ_SRC = os.getenv("PAPARAZZI_SRC", os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)),
'../../../..')))
sys.path.append(PPRZ_SRC + "/sw/ext/pprzlink/lib/v1.0/python")
from pprzlink.ivy import IvyMessagesInterface
@@ -122,6 +125,9 @@ class SVInfoFrame(wx.Frame):
self.Bind(wx.EVT_SIZE, self.OnSize)
self.Bind(wx.EVT_CLOSE, self.OnClose)
ico = wx.Icon(PPRZ_SRC + "/sw/ground_segment/python/svinfo/svinfo.ico", wx.BITMAP_TYPE_ICO)
self.SetIcon(ico)
self.sv = {}
self.interface = IvyMessagesInterface("svinfoframe")