Hello community,

here is the log from the commit of package xfce4-panel-profiles for 
openSUSE:Factory checked in at 2020-01-15 16:17:46
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xfce4-panel-profiles (Old)
 and      /work/SRC/openSUSE:Factory/.xfce4-panel-profiles.new.30080 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xfce4-panel-profiles"

Wed Jan 15 16:17:46 2020 rev:2 rq:764634 version:1.0.10

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/xfce4-panel-profiles/xfce4-panel-profiles.changes    
    2019-08-20 10:57:09.888684026 +0200
+++ 
/work/SRC/openSUSE:Factory/.xfce4-panel-profiles.new.30080/xfce4-panel-profiles.changes
     2020-01-15 16:53:44.913441952 +0100
@@ -1,0 +2,13 @@
+Wed Jan 15 10:36:48 UTC 2020 - Maurizio Galli <maurizio.ga...@gmail.com>
+
+- Update to version 1.0.10
+  * Add openSUSE profile
+  * Add new error for invalid configuration files (bxo#15983)
+  * 'Current Configuration' now pulls the current panel state instead of
+    the state cached when the program starts (bxo#16114)
+  * A cancellable warning is now displayed when applying configurations
+    (bxo#14559)
+  * Translations updates
+- Removed patch openSUSE-profile.patch because merged upstream
+
+-------------------------------------------------------------------

Old:
----
  openSUSE-profile.patch
  xfce4-panel-profiles-1.0.9.tar.bz2

New:
----
  xfce4-panel-profiles-1.0.10.tar.bz2

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xfce4-panel-profiles.spec ++++++
--- /var/tmp/diff_new_pack.UBLlbl/_old  2020-01-15 16:53:45.357442161 +0100
+++ /var/tmp/diff_new_pack.UBLlbl/_new  2020-01-15 16:53:45.361442163 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package xfce4-panel-profiles
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -17,15 +17,13 @@
 
 
 Name:           xfce4-panel-profiles
-Version:        1.0.9
+Version:        1.0.10
 Release:        0
 Summary:        Simple application to manage Xfce panel layouts
 License:        GPL-3.0-only
 Group:          System/GUI/Other
 URL:            https://git.xfce.org/apps/xfce4-panel-profiles/about/
 Source:         
https://archive.xfce.org/src/apps/xfce4-panel-profiles/1.0/%{name}-%{version}.tar.bz2
-# PATCH-FIX-OPENSUSE openSUSE-profile.patch maurizio.ga...@gmail.com -- add 
panel profile style openSUSE
-Patch0:         openSUSE-profile.patch
 BuildRequires:  appstream-glib
 BuildRequires:  findutils
 BuildRequires:  gobject-introspection
@@ -51,7 +49,7 @@
 This tool makes it possible to backup, restore, import, and export panel 
layouts.
 
 %prep
-%autosetup -p1
+%autosetup
 
 %build
 # configure macro not working due to it using unsupported options
@@ -94,5 +92,6 @@
 %{_datadir}/%{name}/%{name}/%{name}.glade
 %{_datadir}/%{name}/%{name}/%{name}.py
 %{_datadir}/metainfo/org.xfce.PanelProfiles.appdata.xml
+%{_mandir}/man1/xfce4-panel-profiles.1.gz
 
 %changelog

++++++ xfce4-panel-profiles-1.0.9.tar.bz2 -> 
xfce4-panel-profiles-1.0.10.tar.bz2 ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/AUTHORS 
new/xfce4-panel-profiles-1.0.10/AUTHORS
--- old/xfce4-panel-profiles-1.0.9/AUTHORS      2019-07-28 20:12:03.000000000 
+0200
+++ new/xfce4-panel-profiles-1.0.10/AUTHORS     2020-01-15 04:06:15.000000000 
+0100
@@ -1,2 +1,2 @@
 2013 Alistair Buxton <a.j.bux...@gmail.com>
-2015-2019 Sean Davis <bluesa...@xfce.org>
\ No newline at end of file
+2015-2020 Sean Davis <bluesa...@xfce.org>
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/ChangeLog 
new/xfce4-panel-profiles-1.0.10/ChangeLog
--- old/xfce4-panel-profiles-1.0.9/ChangeLog    2019-07-28 20:12:03.000000000 
+0200
+++ new/xfce4-panel-profiles-1.0.10/ChangeLog   2020-01-15 04:06:15.000000000 
+0100
@@ -1,3 +1,121 @@
+commit 767107777cd3b71eb76aa13f247ffe0745fa250b
+Author: Sean Davis <smd.seanda...@gmail.com>
+Date:   Tue Jan 14 22:04:45 2020 -0500
+
+    Release 1.0.10
+
+commit 11972acd1f097f0ebd4a76a7d0627836957f4114
+Author: Sean Davis <smd.seanda...@gmail.com>
+Date:   Wed Dec 18 21:35:31 2019 -0500
+
+    Update .gitignore
+
+commit a440127d0cd90e18bdd193af37d31b61c5eebd19
+Author: Emanuele Petriglia <in...@emanuelepetriglia.com>
+Date:   Wed Dec 18 21:34:05 2019 -0500
+
+    Add a confirmation dialog and option to create a backup before applying 
(bug #14559)
+    
+    Signed-off-by: Sean Davis <smd.seanda...@gmail.com>
+
+commit 6cbb067c28783a08cac3adc76ae0fd91be6a1c60
+Author: Emanuele Petriglia <in...@emanuelepetriglia.com>
+Date:   Wed Dec 18 21:04:31 2019 -0500
+
+    Add man page (bug #16228)
+    
+    Signed-off-by: Sean Davis <smd.seanda...@gmail.com>
+
+commit 9c83c76624cb9660fea0e17f2c2142a9d46742a0
+Author: Sean Davis <smd.seanda...@gmail.com>
+Date:   Wed Dec 18 20:50:54 2019 -0500
+
+    Sort openSUSE layout for improved maintainability
+
+commit 8563ddee14a1f76cd68a176862fcd1cbfe28261d
+Author: Maurizio Galli <maurizio.ga...@gmail.com>
+Date:   Mon Jul 29 13:56:49 2019 +0800
+
+    Added openSUSE profile
+    
+    Signed-off-by: Sean Davis <smd.seanda...@gmail.com>
+
+commit 2bd963527c84595292df038465220631cff81bc7
+Author: Emanuele Petriglia <in...@emanuelepetriglia.com>
+Date:   Sat Nov 2 14:02:31 2019 +0100
+
+    Do not cache current configuration (Bug #16114)
+    
+    Do not cache current configuration, instead get the latest properties
+    from Xfconf.
+    
+    Signed-off-by: Emanuele Petriglia <in...@emanuelepetriglia.com>
+    Signed-off-by: Sean Davis <smd.seanda...@gmail.com>
+
+commit 7568fd10452ca27963cf72e1d1b9c74065e72e4f
+Author: Emanuele Petriglia <in...@emanuelepetriglia.com>
+Date:   Sun Sep 22 12:49:48 2019 +0200
+
+    Add error for invalid config (bug #15983)
+    
+    Signed-off-by: Sean Davis <smd.seanda...@gmail.com>
+
+commit 3c82ab4fe39b5ad5690579544ed9fd4e1531e945
+Author: Jason Collins <jasonpcoll...@protonmail.com>
+Date:   Fri Oct 25 18:33:05 2019 +0200
+
+    I18n: Add new translation en_GB (100%).
+    
+    26 translated messages.
+    
+    Transifex (https://www.transifex.com/xfce/public/).
+
+commit 5c82403b070b46c580a4ba401197725d0d5820cc
+Author: Arnold Marko <arnold.ma...@gmail.com>
+Date:   Fri Oct 25 00:32:34 2019 +0200
+
+    I18n: Update translation sl (100%).
+    
+    26 translated messages.
+    
+    Transifex (https://www.transifex.com/xfce/public/).
+
+commit a4dfe8bf6b6923eef20c12229b71ca466c6e8ee2
+Author: Theppitak Karoonboonyanan <theppi...@gmail.com>
+Date:   Thu Sep 19 12:31:37 2019 +0200
+
+    I18n: Add new translation th (100%).
+    
+    26 translated messages.
+    
+    Transifex (https://www.transifex.com/xfce/public/).
+
+commit 6421f353e6871eaea55e2826d9f81491e775b362
+Author: Daniel Muñiz Fontoira <d...@damufo.com>
+Date:   Wed Aug 21 00:33:05 2019 +0200
+
+    I18n: Update translation gl (100%).
+    
+    26 translated messages.
+    
+    Transifex (https://www.transifex.com/xfce/public/).
+
+commit cc8bba492fbcf389c8a856905e020aafbf2e7c9a
+Author: Panwar108 <caspian7p...@gmail.com>
+Date:   Sun Aug 18 18:31:14 2019 +0200
+
+    I18n: Add new translation hi (100%).
+    
+    26 translated messages.
+    
+    Transifex (https://www.transifex.com/xfce/public/).
+
+commit fb0172b97f566e856b68f9387abf71e2c7724fc3
+Author: Sean Davis <smd.seanda...@gmail.com>
+Date:   Sun Jul 28 14:13:51 2019 -0400
+
+    Release 1.0.9
+
 commit a40d79fef7b3270b16f1db549c271673fc7fbbde
 Author: Sean Davis <smd.seanda...@gmail.com>
 Date:   Sun Jul 28 14:10:09 2019 -0400
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/Makefile.in.in 
new/xfce4-panel-profiles-1.0.10/Makefile.in.in
--- old/xfce4-panel-profiles-1.0.9/Makefile.in.in       2019-07-28 
20:12:03.000000000 +0200
+++ new/xfce4-panel-profiles-1.0.10/Makefile.in.in      2020-01-15 
04:06:15.000000000 +0100
@@ -29,8 +29,12 @@
        cd data/layouts/xubuntu-12.04; tar -cvjf "../Xubuntu 12.04 
(Precise).tar.bz2" *
        cd data/layouts/xubuntu-14.04; tar -cvjf "../Xubuntu 14.04 
(Trusty).tar.bz2" *
        cd data/layouts/xubuntu-18.04; tar -cvjf "../Xubuntu 18.04 
(Bionic).tar.bz2" *
+       cd data/layouts/openSUSE-15.1; tar -cvjf "../openSUSE 15.1.tar.bz2" *
 
-install: all
+xfce4-panel-profiles.1.gz : xfce4-panel-profiles.1
+       gzip -c $< > $@
+
+install: all xfce4-panel-profiles.1.gz
        install -d $(DESTDIR)/$(PREFIX)/bin
        install bin/$(APPNAME) $(DESTDIR)/$(PREFIX)/bin
 
@@ -59,6 +63,9 @@
        cp -rf locale $(DESTDIR)/$(PREFIX)/share
        ln -sf $(PREFIX)/share/locale 
$(DESTDIR)/$(PREFIX)/share/$(APPNAME)/locale
 
+       install -d $(DESTDIR)/$(PREFIX)/share/man/man1
+       install xfce4-panel-profiles.1.gz $(DESTDIR)/$(PREFIX)/share/man/man1
+
 uninstall:
        rm -f $(DESTDIR)/$(PREFIX)/share/applications/$(APPNAME).desktop
        rm -rf $(DESTDIR)/$(PREFIX)/share/$(APPNAME)
@@ -86,3 +93,4 @@
        rm -f xfce4-panel-profiles.desktop
        rm -f Makefile.in
        rm -f Makefile
+       rm -f xfce4-panel-profiles.1.gz
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/NEWS 
new/xfce4-panel-profiles-1.0.10/NEWS
--- old/xfce4-panel-profiles-1.0.9/NEWS 2019-07-28 20:12:03.000000000 +0200
+++ new/xfce4-panel-profiles-1.0.10/NEWS        2020-01-15 04:06:15.000000000 
+0100
@@ -1,3 +1,15 @@
+xfce4-panel-profiles 1.0.10
+
+    * New Features
+      - Add openSUSE profile
+      - Add new error for invalid configuration files (Xfce #15983)
+      - 'Current Configuration' now pulls the current panel state
+        instead of the state cached when the program starts (Xfce #16114)
+      - A cancellable warning is now displayed when applying
+        configurations (Xfce #14559)
+    * Updated translations: English (United Kingdom), Galician, Hindi,
+      Slovenian, Thai
+
 xfce4-panel-profiles 1.0.9
 
     * New Features
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/configure 
new/xfce4-panel-profiles-1.0.10/configure
--- old/xfce4-panel-profiles-1.0.9/configure    2019-07-28 20:12:03.000000000 
+0200
+++ new/xfce4-panel-profiles-1.0.10/configure   2020-01-15 04:06:15.000000000 
+0100
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 APPNAME=xfce4-panel-profiles
-VERSION=1.0.9
+VERSION=1.0.10
 
 PYTHON=python3
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xfce4-panel-profiles-1.0.9/data/layouts/openSUSE-15.1/config.txt 
new/xfce4-panel-profiles-1.0.10/data/layouts/openSUSE-15.1/config.txt
--- old/xfce4-panel-profiles-1.0.9/data/layouts/openSUSE-15.1/config.txt        
1970-01-01 01:00:00.000000000 +0100
+++ new/xfce4-panel-profiles-1.0.10/data/layouts/openSUSE-15.1/config.txt       
2020-01-15 04:06:15.000000000 +0100
@@ -0,0 +1,42 @@
+/configver 2
+/panels [<1>]
+/panels/panel-1/length uint32 100
+/panels/panel-1/length-adjust false
+/panels/panel-1/plugin-ids [<1>, <2>, <3>, <4>, <5>, <6>, <7>, <8>, <9>, <10>, 
<11>, <12>, <13>, <14>]
+/panels/panel-1/position 'p=10;x=0;y=0'
+/panels/panel-1/position-locked true
+/panels/panel-1/size uint32 24
+/plugins/plugin-1 'whiskermenu'
+/plugins/plugin-2 'separator'
+/plugins/plugin-2/style uint32 0
+/plugins/plugin-3 'showdesktop'
+/plugins/plugin-4 'tasklist'
+/plugins/plugin-4/flat-buttons true
+/plugins/plugin-4/grouping uint32 1
+/plugins/plugin-4/show-handle true
+/plugins/plugin-5 'separator'
+/plugins/plugin-5/expand true
+/plugins/plugin-5/style uint32 0
+/plugins/plugin-6 'pager'
+/plugins/plugin-7 'pulseaudio'
+/plugins/plugin-7/enable-keyboard-shortcuts true
+/plugins/plugin-8 'power-manager-plugin'
+/plugins/plugin-9 'statusnotifier'
+/plugins/plugin-9/icon-size 16
+/plugins/plugin-9/known-items 
[<'org.guido-berhoerster.code.package-update-indicator'>, <'nm-applet'>, 
<'redshift'>]
+/plugins/plugin-9/menu-is-primary true
+/plugins/plugin-9/square-icons true
+/plugins/plugin-9/symbolic-icons true
+/plugins/plugin-10 'systray'
+/plugins/plugin-10/names-ordered [<'redshift-gtk'>, <'network'>, <'package 
update indicator'>, <'bluetooth'>]
+/plugins/plugin-10/show-frame false
+/plugins/plugin-10/size-max uint32 16
+/plugins/plugin-10/square-icons true
+/plugins/plugin-11 'separator'
+/plugins/plugin-11/style uint32 0
+/plugins/plugin-12 'clock'
+/plugins/plugin-12/show-frame false
+/plugins/plugin-13/digital-format '%d %b, %H:%M'
+/plugins/plugin-13 'separator'
+/plugins/plugin-13/style uint32 0
+/plugins/plugin-14 'notification-plugin'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/po/en_GB.po 
new/xfce4-panel-profiles-1.0.10/po/en_GB.po
--- old/xfce4-panel-profiles-1.0.9/po/en_GB.po  1970-01-01 01:00:00.000000000 
+0100
+++ new/xfce4-panel-profiles-1.0.10/po/en_GB.po 2020-01-15 04:06:15.000000000 
+0100
@@ -0,0 +1,144 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# 
+# Translators:
+# Robert Readman <robert_read...@hotmail.com>, 2018
+# Nick Schermer <n...@xfce.org>, 2018
+# Jason Collins <jasonpcoll...@protonmail.com>, 2019
+# 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-03-23 06:37-0400\n"
+"PO-Revision-Date: 2018-07-13 15:34+0000\n"
+"Last-Translator: Jason Collins <jasonpcoll...@protonmail.com>, 2019\n"
+"Language-Team: English (United Kingdom) 
(https://www.transifex.com/xfce/teams/16840/en_GB/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: en_GB\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../xfce4-panel-profiles.desktop.in.h:1
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:51
+msgid "Panel Profiles"
+msgstr "Panel Profiles"
+
+#: ../xfce4-panel-profiles.desktop.in.h:2
+msgid "Backup and restore your panel configuration"
+msgstr "Backup and restore your panel configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:1
+msgid ""
+"<b><big>Panel Profiles</big></b>\n"
+"Backup and restore your panel configuration"
+msgstr ""
+"<b><big>Panel Profiles</big></b>\n"
+"Backup and restore your panel configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:3
+msgid "Filename"
+msgstr "Filename"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:4
+msgid "Date Modified"
+msgstr "Date Modified"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:5
+msgid "Apply Configuration"
+msgstr "Apply Configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:6
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:293
+msgid "Save Configuration"
+msgstr "Save Configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:7
+msgid "Remove Configuration"
+msgstr "Remove Configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:8
+msgid "Export"
+msgstr "Export"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:9
+msgid "Import"
+msgstr "Import"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:10
+msgid "Save panel configuration as..."
+msgstr "Save panel configuration as..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:11
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:85
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:292
+msgid "Cancel"
+msgstr "Cancel"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:12
+msgid "<b>Name the new panel configuration</b>"
+msgstr "<b>Name the new panel configuration</b>"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:80
+msgid "Save"
+msgstr "Save"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:82
+msgid "Open"
+msgstr "Open"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:140
+msgid "Current Configuration"
+msgstr "Current Configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:160
+msgid "Today"
+msgstr "Today"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:162
+msgid "Yesterday"
+msgstr "Yesterday"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:187
+#, python-format
+msgid "%s (Copy of %s)"
+msgstr "%s (Copy of %s)"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:211
+msgid "Export configuration as..."
+msgstr "Export configuration as..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:212
+msgid "Untitled"
+msgstr "Untitled"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:224
+msgid "Import configuration file..."
+msgstr "Import configuration file..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:285
+msgid "Name the new panel configuration"
+msgstr "Name the new panel configuration"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:309
+#, python-format
+msgid "Backup_%s"
+msgstr "Backup_%s"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:1
+msgid "Application to manage different panel layouts in Xfce"
+msgstr "Application to manage different panel layouts in Xfce"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:2
+msgid ""
+"Multitude of panel layouts can be created using Xfce panel. This tool "
+"enables managing different layouts with little effort. Xfpanel-switch makes "
+"it possible to backup, restore, import and export panel layouts."
+msgstr ""
+"Multitude of panel layouts can be created using Xfce panel. This tool "
+"enables managing different layouts with little effort. Xfpanel-switch makes "
+"it possible to backup, restore, import and export panel layouts."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/po/gl.po 
new/xfce4-panel-profiles-1.0.10/po/gl.po
--- old/xfce4-panel-profiles-1.0.9/po/gl.po     2019-07-28 20:12:03.000000000 
+0200
+++ new/xfce4-panel-profiles-1.0.10/po/gl.po    2020-01-15 04:06:15.000000000 
+0100
@@ -5,7 +5,7 @@
 # 
 # Translators:
 # Xfce Bot <transi...@xfce.org>, 2018
-# Daniel Muñiz Fontoira <d...@damufo.com>, 2018
+# Daniel Muñiz Fontoira <d...@damufo.com>, 2019
 # 
 #, fuzzy
 msgid ""
@@ -14,7 +14,7 @@
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-03-23 06:37-0400\n"
 "PO-Revision-Date: 2018-07-13 15:34+0000\n"
-"Last-Translator: Daniel Muñiz Fontoira <d...@damufo.com>, 2018\n"
+"Last-Translator: Daniel Muñiz Fontoira <d...@damufo.com>, 2019\n"
 "Language-Team: Galician (https://www.transifex.com/xfce/teams/16840/gl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -130,7 +130,7 @@
 
 #: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:1
 msgid "Application to manage different panel layouts in Xfce"
-msgstr "Aplicativo para xestionar as diferentes disposicións do panel en Xfce"
+msgstr "Aplicación para xestionar as diferentes disposicións do panel en Xfce"
 
 #: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:2
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/po/hi.po 
new/xfce4-panel-profiles-1.0.10/po/hi.po
--- old/xfce4-panel-profiles-1.0.9/po/hi.po     1970-01-01 01:00:00.000000000 
+0100
+++ new/xfce4-panel-profiles-1.0.10/po/hi.po    2020-01-15 04:06:15.000000000 
+0100
@@ -0,0 +1,142 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# 
+# Translators:
+# Panwar108 <caspian7p...@gmail.com>, 2019
+# 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-03-23 06:37-0400\n"
+"PO-Revision-Date: 2018-07-13 15:34+0000\n"
+"Last-Translator: Panwar108 <caspian7p...@gmail.com>, 2019\n"
+"Language-Team: Hindi (https://www.transifex.com/xfce/teams/16840/hi/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: hi\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: ../xfce4-panel-profiles.desktop.in.h:1
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:51
+msgid "Panel Profiles"
+msgstr "पैनल प्रोफाइल"
+
+#: ../xfce4-panel-profiles.desktop.in.h:2
+msgid "Backup and restore your panel configuration"
+msgstr "पैनल विन्यास को बैकअप व पुनः स्थापित करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:1
+msgid ""
+"<b><big>Panel Profiles</big></b>\n"
+"Backup and restore your panel configuration"
+msgstr ""
+"<b><big>पैनल प्रोफाइल </big></b>\n"
+"पैनल विन्यास को बैकअप व पुनः स्थापित करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:3
+msgid "Filename"
+msgstr "फ़ाइल का नाम"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:4
+msgid "Date Modified"
+msgstr "संशोधन की तिथि"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:5
+msgid "Apply Configuration"
+msgstr "विन्यास लागू करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:6
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:293
+msgid "Save Configuration"
+msgstr "विन्यास संचित करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:7
+msgid "Remove Configuration"
+msgstr "विन्यास सेटिंग्स हटाएँ"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:8
+msgid "Export"
+msgstr "निर्यात करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:9
+msgid "Import"
+msgstr "आयात करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:10
+msgid "Save panel configuration as..."
+msgstr "इसके रूप में पैनल विन्यास को संचित करें..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:11
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:85
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:292
+msgid "Cancel"
+msgstr "रद्द करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:12
+msgid "<b>Name the new panel configuration</b>"
+msgstr "<b>नए पैनल विन्यास को नाम दें</b>"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:80
+msgid "Save"
+msgstr "संचित करें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:82
+msgid "Open"
+msgstr "खोलें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:140
+msgid "Current Configuration"
+msgstr "वर्तमान विन्यास"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:160
+msgid "Today"
+msgstr "आज"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:162
+msgid "Yesterday"
+msgstr "कल"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:187
+#, python-format
+msgid "%s (Copy of %s)"
+msgstr "%s(%s की प्रतिलिपि)"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:211
+msgid "Export configuration as..."
+msgstr "इसके रूप में विन्यास को निर्यात करें..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:212
+msgid "Untitled"
+msgstr "शीर्षकहीन"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:224
+msgid "Import configuration file..."
+msgstr "विन्यास फ़ाइल को आयात करें..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:285
+msgid "Name the new panel configuration"
+msgstr "नए पैनल विन्यास को नाम दें"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:309
+#, python-format
+msgid "Backup_%s"
+msgstr "बैकअप_%s"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:1
+msgid "Application to manage different panel layouts in Xfce"
+msgstr "विभिन्न पैनल अभिन्यास के प्रबंधन हेतु अनुप्रयोग"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:2
+msgid ""
+"Multitude of panel layouts can be created using Xfce panel. This tool "
+"enables managing different layouts with little effort. Xfpanel-switch makes "
+"it possible to backup, restore, import and export panel layouts."
+msgstr ""
+"Xfce पैनल से कई पैनल अभिन्यास बनाएँ जा सकते हैं। इस साधन द्वारा थोड़े प्रयास "
+"से ही विभिन्न अभिन्यासों का प्रबंधन संभव है। Xfpanel-switch के मदद से पैनल "
+"अभिन्यास का बैकअप, पुनर्स्थापना, आयात व निर्यात किया जा सकता है।"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/po/sl.po 
new/xfce4-panel-profiles-1.0.10/po/sl.po
--- old/xfce4-panel-profiles-1.0.9/po/sl.po     2019-07-28 20:12:03.000000000 
+0200
+++ new/xfce4-panel-profiles-1.0.10/po/sl.po    2020-01-15 04:06:15.000000000 
+0100
@@ -5,7 +5,7 @@
 # 
 # Translators:
 # Xfce Bot <transi...@xfce.org>, 2018
-# Kernc, 2018
+# Arnold Marko <arnold.ma...@gmail.com>, 2019
 # 
 #, fuzzy
 msgid ""
@@ -14,7 +14,7 @@
 "Report-Msgid-Bugs-To: \n"
 "POT-Creation-Date: 2018-03-23 06:37-0400\n"
 "PO-Revision-Date: 2018-07-13 15:34+0000\n"
-"Last-Translator: Kernc, 2018\n"
+"Last-Translator: Arnold Marko <arnold.ma...@gmail.com>, 2019\n"
 "Language-Team: Slovenian (https://www.transifex.com/xfce/teams/16840/sl/)\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
@@ -25,7 +25,7 @@
 #: ../xfce4-panel-profiles.desktop.in.h:1
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.py:51
 msgid "Panel Profiles"
-msgstr ""
+msgstr "Profili pultov"
 
 #: ../xfce4-panel-profiles.desktop.in.h:2
 msgid "Backup and restore your panel configuration"
@@ -36,6 +36,8 @@
 "<b><big>Panel Profiles</big></b>\n"
 "Backup and restore your panel configuration"
 msgstr ""
+"<b><big>Profili pultov</big></b>\n"
+"Varnostno kopiranje in obnovitev vaših nastavitev pulta"
 
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:3
 msgid "Filename"
@@ -78,7 +80,7 @@
 
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:12
 msgid "<b>Name the new panel configuration</b>"
-msgstr "<b>Imenujte nastavitve pulta</b>"
+msgstr "<b>Ime za nove nastavitve pulta</b>"
 
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.py:80
 msgid "Save"
@@ -119,7 +121,7 @@
 
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.py:285
 msgid "Name the new panel configuration"
-msgstr "Imenuj nove nastavitve pulta"
+msgstr "Poimenuj nove nastavitve pulta"
 
 #: ../xfce4-panel-profiles/xfce4-panel-profiles.py:309
 #, python-format
@@ -128,7 +130,7 @@
 
 #: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:1
 msgid "Application to manage different panel layouts in Xfce"
-msgstr "Program za upravljanje različnih postavitev pulta v namizju Xfce"
+msgstr "Program za upravljanje različnih razporedov pulta v namizju Xfce"
 
 #: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:2
 msgid ""
@@ -136,6 +138,6 @@
 "enables managing different layouts with little effort. Xfpanel-switch makes "
 "it possible to backup, restore, import and export panel layouts."
 msgstr ""
-"Pult namizja Xfce lahko razpostavimo na različne načine. To orodje omogoča "
-"upravljanje z različnimi profili postavitev z malo truda. Xfpanel-switch "
-"omogoča shranjevanje in obnavljanje, uvoz ter izvoz postavitev pulta."
+"S pomočjo Xfce panel lahko ustvarimo številne razporeditve pultov. To orodje"
+" omogoča enostavno upravljanje različnih razporedov. Xfpanel-switch omogoča "
+"shranjevanje in obnavljanje, uvoz ter izvoz razporedov pulta."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/po/th.po 
new/xfce4-panel-profiles-1.0.10/po/th.po
--- old/xfce4-panel-profiles-1.0.9/po/th.po     1970-01-01 01:00:00.000000000 
+0100
+++ new/xfce4-panel-profiles-1.0.10/po/th.po    2020-01-15 04:06:15.000000000 
+0100
@@ -0,0 +1,143 @@
+# SOME DESCRIPTIVE TITLE.
+# Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+# 
+# Translators:
+# Theppitak Karoonboonyanan <theppi...@gmail.com>, 2019
+# 
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2018-03-23 06:37-0400\n"
+"PO-Revision-Date: 2018-07-13 15:34+0000\n"
+"Last-Translator: Theppitak Karoonboonyanan <theppi...@gmail.com>, 2019\n"
+"Language-Team: Thai (https://www.transifex.com/xfce/teams/16840/th/)\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Language: th\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+
+#: ../xfce4-panel-profiles.desktop.in.h:1
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:51
+msgid "Panel Profiles"
+msgstr "โพรไฟล์ของพาเนล"
+
+#: ../xfce4-panel-profiles.desktop.in.h:2
+msgid "Backup and restore your panel configuration"
+msgstr "สำรองและกู้คืนค่าตั้งพาเนลของคุณ"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:1
+msgid ""
+"<b><big>Panel Profiles</big></b>\n"
+"Backup and restore your panel configuration"
+msgstr ""
+"<b><big>โพรไฟล์ของพาเนล</big></b>\n"
+"สำรองและกู้คืนค่าตั้งพาเนลของคุณ"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:3
+msgid "Filename"
+msgstr "ชื่อแฟ้ม"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:4
+msgid "Date Modified"
+msgstr "เวลาแก้ไข"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:5
+msgid "Apply Configuration"
+msgstr "เริ่มใช้ค่าตั้ง"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:6
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:293
+msgid "Save Configuration"
+msgstr "บันทึกค่าตั้ง"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:7
+msgid "Remove Configuration"
+msgstr "ลบค่าตั้ง"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:8
+msgid "Export"
+msgstr "ส่งออก"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:9
+msgid "Import"
+msgstr "นำเข้า"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:10
+msgid "Save panel configuration as..."
+msgstr "บันทึกค่าตั้งพาเพลเป็น..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:11
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:85
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:292
+msgid "Cancel"
+msgstr "ยกเลิก"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.glade.h:12
+msgid "<b>Name the new panel configuration</b>"
+msgstr "<b>ตั้งชื่อค่าตั้งพาเนลชุดใหม่</b>"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:80
+msgid "Save"
+msgstr "บันทึก"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:82
+msgid "Open"
+msgstr "เปิด"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:140
+msgid "Current Configuration"
+msgstr "ค่าตั้งปัจจุบัน"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:160
+msgid "Today"
+msgstr "วันนี้"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:162
+msgid "Yesterday"
+msgstr "เมื่อวาน"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:187
+#, python-format
+msgid "%s (Copy of %s)"
+msgstr "%s (สำเนาของ %s)"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:211
+msgid "Export configuration as..."
+msgstr "ส่งออกค่าตั้งเป็น..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:212
+msgid "Untitled"
+msgstr "Untitled"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:224
+msgid "Import configuration file..."
+msgstr "นำเข้าแฟ้มค่าตั้ง..."
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:285
+msgid "Name the new panel configuration"
+msgstr "ตั้งชื่อค่าตั้งพาเนลชุดใหม่"
+
+#: ../xfce4-panel-profiles/xfce4-panel-profiles.py:309
+#, python-format
+msgid "Backup_%s"
+msgstr "Backup_%s"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:1
+msgid "Application to manage different panel layouts in Xfce"
+msgstr "แอปพลิเคชันสำหรับจัดการผังพาเนลต่างๆ ใน Xfce"
+
+#: ../data/metainfo/org.xfce.PanelProfiles.appdata.xml.in.h:2
+msgid ""
+"Multitude of panel layouts can be created using Xfce panel. This tool "
+"enables managing different layouts with little effort. Xfpanel-switch makes "
+"it possible to backup, restore, import and export panel layouts."
+msgstr ""
+"พาเนลของ Xfce สามารถสร้างผังได้หลากหลายรูปแบบมาก "
+"เครื่องมือนี้จะช่วยให้คุณจัดการผังต่างๆ โดยใช้ความพยายามเพียงน้อยนิด  "
+"Xfpanel-switch ช่วยให้คุณสามารถสำรอง, กู้คืน, นำเข้า และส่งออกผังพาเนลต่างๆ "
+"ได้"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/xfce4-panel-profiles-1.0.9/xfce4-panel-profiles/xfce4-panel-profiles.py 
new/xfce4-panel-profiles-1.0.10/xfce4-panel-profiles/xfce4-panel-profiles.py
--- old/xfce4-panel-profiles-1.0.9/xfce4-panel-profiles/xfce4-panel-profiles.py 
2019-07-28 20:12:03.000000000 +0200
+++ 
new/xfce4-panel-profiles-1.0.10/xfce4-panel-profiles/xfce4-panel-profiles.py    
    2020-01-15 04:06:15.000000000 +0100
@@ -2,7 +2,7 @@
 # -*- Mode: Python; coding: utf-8; indent-tabs-mode: nil; tab-width: 4 -*-
 #   Panel Profiles
 #   Copyright (C) 2013 Alistair Buxton <a.j.bux...@gmail.com>
-#   Copyright (C) 2015-2019 Sean Davis <bluesa...@xfce.org>
+#   Copyright (C) 2015-2020 Sean Davis <bluesa...@xfce.org>
 #
 #   This program is free software: you can redistribute it and/or modify it
 #   under the terms of the GNU General Public License version 3 or newer,
@@ -16,6 +16,8 @@
 #   You should have received a copy of the GNU General Public License along
 #   with this program.  If not, see <http://www.gnu.org/licenses/>.
 
+import tarfile
+
 import gettext
 gettext.textdomain('xfce4-panel-profiles')
 
@@ -38,14 +40,6 @@
 warnings.filterwarnings("ignore")
 
 homedir = GLib.get_home_dir()
-cachedir = GLib.get_user_cache_dir()
-cachefile = os.path.join(cachedir, "xfce4-panel-profiles.tar.gz")
-
-try:
-    if not os.path.exists(cachedir):
-        os.makedirs(cachedir)
-except:
-    pass
 
 class XfcePanelProfiles:
 
@@ -155,13 +149,9 @@
         return list(set(dirs))
 
     def get_saved_configurations(self):
-        results = []
         now = int(datetime.datetime.now().strftime('%s'))
-        if (os.path.isfile(cachefile)):
-            results.append((cachefile, _("Current Configuration"), now))
-        else:
-            results.append(("", _("Current Configuration"), now))
 
+        results = [('', _('Current Configuration'), now)]
         for directory in self.get_data_dirs():
             for filename in os.listdir(directory):
                 name, ext = os.path.splitext(filename)
@@ -223,7 +213,7 @@
         if dialog.run() == Gtk.ResponseType.ACCEPT:
             name = dialog.get_save_name()
             if len(name) > 0:
-                if filename == "":
+                if filename == "": # Current configuration.
                     self.save_configuration(name)
                 else:
                     self.copy_configuration(self.get_selected(), name)
@@ -236,7 +226,7 @@
         if response == Gtk.ResponseType.ACCEPT:
             selected = self.get_selected_filename()
             filename = dialog.get_filename()
-            if selected == "":
+            if selected == "": # Current configuration.
                 self.save_configuration(filename, False)
             else:
                 self.copy_configuration(self.get_selected(), filename, False)
@@ -252,9 +242,24 @@
             if savedlg.run() == Gtk.ResponseType.ACCEPT:
                 name = savedlg.get_save_name()
                 dst = os.path.join(self.save_location, name + ".tar.bz2")
-                self._copy(filename, dst)
-                self.tree_model.append(
-                    [dst, name, int(datetime.datetime.now().strftime('%s'))])
+                try:
+                    self._copy(filename, dst)
+                    self.tree_model.append(
+                        [dst, name, 
int(datetime.datetime.now().strftime('%s'))])
+                except tarfile.ReadError:
+                    message = _("Invalid configuration file!\n"
+                                "Please select a valid configuration file.")
+
+                    errordlg = Gtk.MessageDialog(
+                        transient_for=self.window, modal=True,
+                        message_type=Gtk.MessageType.ERROR,
+                        text=message)
+
+                    errordlg.add_button(_("OK"), Gtk.ResponseType.OK)
+
+                    errordlg.run()
+                    errordlg.destroy()
+
             savedlg.destroy()
         dialog.destroy()
 
@@ -264,7 +269,14 @@
 
     def on_apply_clicked(self, widget):
         filename = self.get_selected_filename()
-        self.load_configuration(filename)
+
+        dialog = PanelConfirmDialog(self.window)
+        if dialog.run() == Gtk.ResponseType.ACCEPT:
+            if dialog.backup.get_active():
+                self.on_save_clicked(dialog)
+
+            self.load_configuration(filename)
+        dialog.destroy()
 
     def delete_configuration(self, filename):
         if os.path.isfile(filename):
@@ -273,18 +285,20 @@
     def on_delete_clicked(self, widget):
         model, treeiter, values = self.get_selected()
         filename = values[0]
-        if filename == "":
+        if filename == "": # Current configuration.
             return
         self.delete_configuration(filename)
         model.remove(treeiter)
 
     def on_saved_configurations_cursor_changed(self, widget):
         filename = self.get_selected_filename()
-        delete = self.builder.get_object("toolbar_delete")
-        if os.access(filename, os.W_OK):
-            delete.set_sensitive(True)
-        else:
-            delete.set_sensitive(False)
+
+        delete = self.builder.get_object('toolbar_delete')
+        delete.set_sensitive(True if os.access(filename, os.W_OK) else False)
+
+        # Current configuration cannot be applied.
+        apply = self.builder.get_object('toolbar_apply')
+        apply.set_sensitive(False if filename == '' else True)
 
     def on_window_destroy(self, *args):
         '''Exit the application when the window is closed.'''
@@ -337,6 +351,36 @@
     def set_save_name(self, name):
         self.entry.set_text(name.strip())
 
+
+
+class PanelConfirmDialog(Gtk.MessageDialog):
+    '''Ask to the user if he wants to apply a configuration, because the 
current
+    configuration will be lost.'''
+
+    def __init__(self, parent=None):
+        message = _("Do you want to apply this configuration?\n"
+                    " The current configuration will be lost!")
+
+        Gtk.MessageDialog.__init__(
+            self, transient_for=parent, modal=True,
+            message_type=Gtk.MessageType.QUESTION,
+            text=message)
+
+        self.add_buttons(
+            _("Cancel"), Gtk.ResponseType.CANCEL,
+            _("Apply Configuration"), Gtk.ResponseType.ACCEPT
+        )
+
+        self.set_default_icon_name("dialog-information")
+        self.set_default_response(Gtk.ResponseType.ACCEPT)
+
+        self.backup = Gtk.CheckButton.new()
+        self.backup.set_label(_("Make a backup of the current configuration"))
+
+        box = self.get_message_area()
+        box.pack_start(self.backup, True, True, 0)
+        box.show_all()
+
 if __name__ == "__main__":
     import sys
 
@@ -378,10 +422,5 @@
             print('')
             exit(-1)
 
-    try:
-        PanelConfig.from_xfconf(xfconf).to_file(cachefile)
-    except:
-        pass
-
     main = XfcePanelProfiles()
     Gtk.main()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/xfce4-panel-profiles-1.0.9/xfce4-panel-profiles.1 
new/xfce4-panel-profiles-1.0.10/xfce4-panel-profiles.1
--- old/xfce4-panel-profiles-1.0.9/xfce4-panel-profiles.1       1970-01-01 
01:00:00.000000000 +0100
+++ new/xfce4-panel-profiles-1.0.10/xfce4-panel-profiles.1      2020-01-15 
04:06:15.000000000 +0100
@@ -0,0 +1,82 @@
+.\" Man page written by Emanuele Petriglia for xfce4-panel-profiles.
+.TH XFCE4-PANEL-PROFILES "1" "January 2020" "xfce4-panel-profiles 1.0.10" 
"User Commands"
+
+.SH Name
+xfce4-panel-profiles - A simple application to manage Xfce panel layouts
+
+.SH SYNOPSIS
+.B xfce4-panel-profiles
+[
+.I COMMAND
+]
+.I filename
+
+.SH DESCRIPTION
+\fBxfce4-panel-profiles\fP is a simple application to manage Xfce panel 
layouts.
+It allows you to \fIapply\fP, \fIsave\fP, \fIremove\fP, \fIexport\fP,
+\fIimport\fP a panel layout as a profile. You can, as example, backup the
+current panel layout, or import a previously exported panel profile.
+
+\fBxfce4-panel-profiles\fP is a \fIGUI application\fP, but it can be also used
+via command line with limited features.
+
+.SH COMMANDS
+.TP
+\fBload\fP \fIfilename\fP
+Load and apply a previously exported \fIfilename\fP panel profile.
+.TP
+\fBsave\fP \fIfilename\fP
+Save the current panel layout as \fIfilename\fP. The profile's name should end
+with \fItar.bz2\fP for clarity.
+
+.SH FILES
+.TP
+.I ~/.local/share/xfce4-panel-profiles
+User's custom panel profiles storage directory.
+.TP
+.I /usr/share/xfce4-panel-profiles/layouts
+System provided panel profiles storage directory.
+
+.SH EXAMPLES
+.TP
+.B xfce4-panel-profiles save backup.tar.bz2
+Make a backup of current panel layout.
+.TP
+.B xfce4-panel-profiles load backup.tar.bz2
+Load and apply the previously exported panel layout.
+
+.SH AUTHOR
+.TP
+2015-2020
+.MT bluesa...@xfce.org
+Sean Davis
+.ME
+.TP
+2013
+.MT a.j.bux...@gmail.com
+Alistair Buxton
+.ME
+
+.SH REPORTING BUGS
+If you encounter a bug in \fBxfce4-panel-profiles\fP, please submit a bug 
report
+to the
+.UR https://bugzilla.xfce.org
+.I Xfce Bugzilla
+.UE . Please note that to do this you will need to have or create
+an account on Bugzilla.
+
+.SH COPYING
+This program is free software: you can redistribute it and/or modify it under
+the terms of the GNU General Public License as published by the Free Software
+Foundation, either version 3 of the License, or (at your option) any later
+version.
+
+This program is distributed in the hope that it will be useful, but WITHOUT ANY
+WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+PARTICULAR PURPOSE. See the GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License along with
+this program. If not, see
+.UR http://www.gnu.org/licenses
+GNU website
+.UE .


Reply via email to