diff --git a/config.py b/config.py index 03c95963..5f5421af 100644 --- a/config.py +++ b/config.py @@ -7,7 +7,7 @@ from sys import platform appname = 'EDMarketConnector' applongname = 'E:D Market Connector' appcmdname = 'EDMC' -appversion = '2.0.3.0' +appversion = '2.0.4.0' update_feed = 'http://marginal.org.uk/edmarketconnector.xml' update_interval = 47*60*60 diff --git a/prefs.py b/prefs.py index 0fad188b..eec7ecfb 100644 --- a/prefs.py +++ b/prefs.py @@ -366,7 +366,7 @@ class PreferencesDialog(tk.Toplevel): (self.out_log_edsm.get() and config.OUT_LOG_EDSM) + (self.out_log_auto.get() and config.OUT_LOG_AUTO) + (self.edsm_autoopen.get() and config.EDSM_AUTOOPEN)) - config.set('outdir', self.outdir.get().startswith('~') and join(config.home, self.outdir.get()[1:]) or self.outdir.get()) + config.set('outdir', self.outdir.get().startswith('~') and join(config.home, self.outdir.get()[2:]) or self.outdir.get()) config.set('edsm_cmdrname', self.edsm_cmdr.get().strip()) config.set('edsm_apikey', self.edsm_apikey.get().strip()) diff --git a/ttkHyperlinkLabel.py b/ttkHyperlinkLabel.py index 24c5b6ba..9a593ff5 100644 --- a/ttkHyperlinkLabel.py +++ b/ttkHyperlinkLabel.py @@ -25,6 +25,7 @@ class HyperlinkLabel(platform == 'darwin' and tk.Label or ttk.Label, object): if platform == 'darwin': # Use tk.Label 'cos can't set ttk.Label background - http://www.tkdocs.com/tutorial/styles.html#whydifficult kw['background'] = kw.pop('background', 'systemDialogBackgroundActive') + kw['anchor'] = kw.pop('anchor', tk.W) # like ttk.Label tk.Label.__init__(self, master, **kw) else: ttk.Label.__init__(self, master, **kw)