From caf8e7f2d66409f51d6122ed64199e7449686c85 Mon Sep 17 00:00:00 2001 From: blitzmann Date: Sat, 3 Mar 2018 17:40:40 -0500 Subject: [PATCH] Test something on mac --- gui/builtinPreferenceViews/pyfaLoggingPreferences.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/gui/builtinPreferenceViews/pyfaLoggingPreferences.py b/gui/builtinPreferenceViews/pyfaLoggingPreferences.py index e83fcd799..6de36df1c 100644 --- a/gui/builtinPreferenceViews/pyfaLoggingPreferences.py +++ b/gui/builtinPreferenceViews/pyfaLoggingPreferences.py @@ -42,6 +42,15 @@ class PFGeneralPref(PreferenceView): self.inputLogPath.SetBackgroundColour((200, 200, 200)) mainSizer.Add(self.inputLogPath, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL | wx.EXPAND, 5) + import requests + self.certPath = wx.StaticText(panel, wx.ID_ANY, "Cert Path:", wx.DefaultPosition, wx.DefaultSize, 0) + self.certPath .Wrap(-1) + mainSizer.Add(self.certPath, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 5) + self.certPathCtrl = wx.TextCtrl(panel, wx.ID_ANY, requests.certs.where(), wx.DefaultPosition, wx.DefaultSize, 0) + self.certPathCtrl.SetEditable(False) + self.certPathCtrl.SetBackgroundColour((200, 200, 200)) + mainSizer.Add(self.certPathCtrl, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL | wx.EXPAND, 5) + # Debug Logging self.cbdebugLogging = wx.CheckBox(panel, wx.ID_ANY, "Debug Logging Enabled", wx.DefaultPosition, wx.DefaultSize, 0) mainSizer.Add(self.cbdebugLogging, 0, wx.ALL | wx.EXPAND, 5)