mirror of
https://github.com/paparazzi/paparazzi.git
synced 2026-05-21 20:04:09 +08:00
[svinfo] Icon (#1870)
This commit is contained in:
committed by
Gautier Hattenberger
parent
58dcfea5d7
commit
9f264a59d2
Executable
BIN
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")
|
||||
|
||||
Reference in New Issue
Block a user