Changeset 8101


Ignore:
Timestamp:
Sep 19, 2018, 5:43:42 PM (14 months ago)
Author:
mabarracus
Message:

Fix bug when saving profiles without desktop wallpaper

Location:
syncer-plank-client/trunk/fuentes
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • syncer-plank-client/trunk/fuentes/debian/changelog

    r7984 r8101  
     1syncer-plank-client (0.2.3) xenial; urgency=medium
     2
     3  * Fix bug when saving profiles without desktop wallpaper
     4
     5 -- M.Angel Juan <m.angel.juan@gmail.com>  Wed, 19 Sep 2018 17:42:58 +0200
     6
    17syncer-plank-client (0.2.2) unreleased; urgency=medium
    28
  • syncer-plank-client/trunk/fuentes/syncer-plank-client.install/usr/share/n4d/python-plugins/PlankSync.py

    r7984 r8101  
    130130                    content.append(['comm',['one']])
    131131                    content.append(['desktop',['addcontent','param']])
    132                 content.append(['file',['encoded',applist['background'][0],applist['background'][1]]])
    133                 content.append(['comm',['one']])
    134                 content.append(['dconf',['/org/mate/desktop/background/picture-filename','param']])
     132                if 'background' in applist and len(applist['background']) > 1:
     133                    content.append(['file',['encoded',applist['background'][0],applist['background'][1]]])
     134                    content.append(['comm',['one']])
     135                    content.append(['dconf',['/org/mate/desktop/background/picture-filename','param']])
    135136            except Exception as e:
    136137                raise Exception(traceback.format_exc()+str(e))
Note: See TracChangeset for help on using the changeset viewer.