diff --git a/debian/changelog b/debian/changelog index 146886a..bf8d898 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +openplotter-skfilter (2.0.2-dev) bionic; urgency=medium + + * Adjust for dark theme + + -- e-sailing Thu, 09 Apr 2020 13:17:43 +0100 + openplotter-skfilter (2.0.1-dev) bionic; urgency=medium * Text and languages source changes diff --git a/openplotterSKfilter/nodes_SK_subflow.py b/openplotterSKfilter/nodes_SK_subflow.py index 1cfd5a4..399bf87 100644 --- a/openplotterSKfilter/nodes_SK_subflow.py +++ b/openplotterSKfilter/nodes_SK_subflow.py @@ -346,7 +346,6 @@ def __init__(self, parent, line): self.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL)) panel = wx.Panel(self) - panel.SetBackgroundColour(wx.Colour(230,230,230,255)) vessellabel = wx.StaticText(panel, label=_('Vessel')) self.vessel = wx.TextCtrl(panel, size=(290,-1)) @@ -563,7 +562,6 @@ def __init__(self, parent, line): self.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL)) panel = wx.Panel(self) - panel.SetBackgroundColour(wx.Colour(230,230,230,255)) skkeylabel = wx.StaticText(panel, label=_('Signal K key')) self.skkey = wx.TextCtrl(panel, size=(290,-1)) diff --git a/openplotterSKfilter/openplotterSKfilter.py b/openplotterSKfilter/openplotterSKfilter.py index 9cdcde0..358d29e 100644 --- a/openplotterSKfilter/openplotterSKfilter.py +++ b/openplotterSKfilter/openplotterSKfilter.py @@ -156,14 +156,12 @@ def pageSKfilter(self): self.available_source = [_('label'),_('type'),_('pgn'),_('src'),_('sentence'),_('talker')] self.available_source_nr = ['label','type','pgn','src','sentence','talker'] - self.SetBackgroundColour(wx.Colour(230,230,230,255)) - self.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL)) self.icon = wx.Icon(self.currentdir+"/data/openplotter-SKfilter-24.png", wx.BITMAP_TYPE_PNG) self.SetIcon(self.icon) - self.list_filter = wx.ListCtrl(self.p_SKfilter, -1, style=wx.LC_REPORT | wx.SIMPLE_BORDER) + self.list_filter = wx.ListCtrl(self.p_SKfilter, -1, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_HRULES) self.list_filter.InsertColumn(0, _('Signal K key'), width=240) self.list_filter.InsertColumn(1, _('Source Type'), width=120) self.list_filter.InsertColumn(2, _('Condition'), width=70) @@ -244,14 +242,12 @@ def pageSKprefer(self): self.available_source = [_('label'),_('type'),_('pgn'),_('src'),_('sentence'),_('talker')] self.available_source_nr = ['label','type','pgn','src','sentence','talker'] - self.SetBackgroundColour(wx.Colour(230,230,230,255)) - self.SetFont(wx.Font(10, wx.FONTFAMILY_DEFAULT, wx.FONTSTYLE_NORMAL, wx.FONTWEIGHT_NORMAL)) self.icon = wx.Icon(self.currentdir+"/data/openplotter-SKfilter.png", wx.BITMAP_TYPE_PNG) self.SetIcon(self.icon) - self.list_prefer = wx.ListCtrl(self.p_SKprefer, -1, style=wx.LC_REPORT | wx.SIMPLE_BORDER) + self.list_prefer = wx.ListCtrl(self.p_SKprefer, -1, style=wx.LC_REPORT | wx.LC_SINGLE_SEL | wx.LC_HRULES) self.list_prefer.InsertColumn(0, _('Signal K key'), width=240) self.list_prefer.InsertColumn(1, _('Source Type'), width=120) self.list_prefer.InsertColumn(2, _('Value'), width=70) diff --git a/openplotterSKfilter/select_key.py b/openplotterSKfilter/select_key.py index 4c1844b..dc3bad0 100644 --- a/openplotterSKfilter/select_key.py +++ b/openplotterSKfilter/select_key.py @@ -32,7 +32,6 @@ def __init__(self, oldkey, selectvessels): self.SetIcon(icon) panel = wx.Panel(self) - panel.SetBackgroundColour(wx.Colour(230,230,230,255)) conf_ = conf.Conf() sk_folder = conf_.get('GENERAL', 'sk_folder') diff --git a/openplotterSKfilter/version.py b/openplotterSKfilter/version.py index da86874..ebe0ef7 100644 --- a/openplotterSKfilter/version.py +++ b/openplotterSKfilter/version.py @@ -1,3 +1,3 @@ -version = '2.0.1' +version = '2.0.2' codeName = 'Open Arms' state = 'dev'