[Xfce4-commits] [apps/xfce4-panel-profiles] 151/162: Check for orphans also when loading a config.

noreply at xfce.org noreply at xfce.org
Fri Jul 13 13:10:50 CEST 2018


This is an automated email from the git hooks/post-receive script.

o   c   h   o   s   i       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-panel-profiles.

commit 431ad63f06d55282ca03af11f7a1a606a840eecf
Author: Alistair Buxton <a.j.buxton at gmail.com>
Date:   Fri Apr 20 06:13:44 2018 +0100

    Check for orphans also when loading a config.
    
    Because of the way the configuration copying is used, sometimes orphans
    can persist in configs (because they don't go through xfconf.)
---
 xfpanel-switch/panelconfig.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/xfpanel-switch/panelconfig.py b/xfpanel-switch/panelconfig.py
index f554f84..031e985 100644
--- a/xfpanel-switch/panelconfig.py
+++ b/xfpanel-switch/panelconfig.py
@@ -81,6 +81,7 @@ class PanelConfig(object):
             except:
                 pass
 
+        pc.remove_orphans()
         pc.find_desktops()
 
         return pc

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list