From 6993a12bb67b672b02cf1ec25fa47a2ba1f1e363 Mon Sep 17 00:00:00 2001 From: Yeongdo Park Date: Fri, 7 Aug 2020 18:55:50 -0700 Subject: [PATCH] change the absolute path of title bar icon file to a relative path --- BmsView.py | 2 +- BmsView.wxg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BmsView.py b/BmsView.py index a46dbd6..80c50a8 100644 --- a/BmsView.py +++ b/BmsView.py @@ -41,7 +41,7 @@ class BmsMonitorFrame(wx.Frame): # begin wxGlade: BmsMonitorFrame.__set_properties self.SetTitle(_("BMS Monitor")) _icon = wx.NullIcon - _icon.CopyFromBitmap(wx.Bitmap("C:\\Users\\ignis\\PycharmProjects\\bms-can-ui\\res\\repurpose-energy-ci-icon.ico", wx.BITMAP_TYPE_ANY)) + _icon.CopyFromBitmap(wx.Bitmap("res\\repurpose-energy-ci-icon.ico", wx.BITMAP_TYPE_ANY)) self.SetIcon(_icon) self.choice_2.SetSelection(0) self.choice_1.SetSelection(0) diff --git a/BmsView.wxg b/BmsView.wxg index e16fe20..4e372a6 100644 --- a/BmsView.wxg +++ b/BmsView.wxg @@ -6,7 +6,7 @@ 831, 774 BMS Monitor - C:\Users\ignis\PycharmProjects\bms-can-ui\res\repurpose-energy-ci-icon.ico + res\repurpose-energy-ci-icon.ico wxHORIZONTAL