From: Greg Darke Date: Mon, 7 Jul 2008 06:17:49 +0000 (+1000) Subject: The osx desktop plist hack is required each time the wallpaper is changed, not just... X-Git-Url: https://code.delx.au/bg-scripts/commitdiff_plain/87dee88c4f1702f501f55c8a97da4a3d3e377303 The osx desktop plist hack is required each time the wallpaper is changed, not just at initialization --- diff --git a/wallchanger.py b/wallchanger.py index 6509d8f..5982621 100755 --- a/wallchanger.py +++ b/wallchanger.py @@ -109,7 +109,6 @@ class OSXChanger(BaseChanger): def __init__(self, *args, **kwargs): BaseChanger.__init__(self, *args, **kwargs) - self.fix_desktop_plist() def remove_old_image_cache(self): """Cleans up any old temp images""" @@ -153,6 +152,7 @@ class OSXChanger(BaseChanger): logging.debug('Could not import the Foundation module, you may have problems with dual screens') def set_image(self, filename): + self.fix_desktop_plist() if self.convert: filename, ret = self.convert_image_format(filename) if not ret: