Hello community,

here is the log from the commit of package python-xapp for openSUSE:Factory 
checked in at 2020-02-09 20:48:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-xapp (Old)
 and      /work/SRC/openSUSE:Factory/.python-xapp.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-xapp"

Sun Feb  9 20:48:56 2020 rev:5 rq:772326 version:1.8.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-xapp/python-xapp.changes  2019-07-18 
15:19:22.512155253 +0200
+++ /work/SRC/openSUSE:Factory/.python-xapp.new.26092/python-xapp.changes       
2020-02-09 20:49:07.934899510 +0100
@@ -1,0 +2,10 @@
+Sat Feb  8 07:18:12 UTC 2020 - Maurizio Galli <maurizio.ga...@gmail.com>
+
+- Update to version 1.8.1
+  * icon chooser widget: fix kwargs to support current features 
+    correctly
+- Changes from versio 1.8.0
+  * Expose new features in the XAppIconChooserDialog to the 
+    settings widget (#10)
+
+-------------------------------------------------------------------

Old:
----
  python-xapp-1.6.0.tar.gz

New:
----
  python-xapp-1.8.1.tar.gz

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

Other differences:
------------------
++++++ python-xapp.spec ++++++
--- /var/tmp/diff_new_pack.PZOwJ3/_old  2020-02-09 20:49:09.894900629 +0100
+++ /var/tmp/diff_new_pack.PZOwJ3/_new  2020-02-09 20:49:09.894900629 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-xapp
 #
-# 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
@@ -12,13 +12,13 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-xapp
-Version:        1.6.0
+Version:        1.8.1
 Release:        0
 Summary:        Python XApp library
 License:        GPL-2.0-or-later

++++++ python-xapp-1.6.0.tar.gz -> python-xapp-1.8.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xapp-1.6.0/PKG-INFO 
new/python-xapp-1.8.1/PKG-INFO
--- old/python-xapp-1.6.0/PKG-INFO      2019-05-17 17:01:40.000000000 +0200
+++ new/python-xapp-1.8.1/PKG-INFO      2019-11-28 16:43:52.000000000 +0100
@@ -1,6 +1,6 @@
 Metadata-Version: 1.0
 Name: python-xapp
-Version: 1.6.0
+Version: 1.8.0
 Summary: The Xapp Python library.
 Home-page: http://github.com/linuxmint/python-xapp
 Author: Linux Mint
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xapp-1.6.0/debian/changelog 
new/python-xapp-1.8.1/debian/changelog
--- old/python-xapp-1.6.0/debian/changelog      2019-05-17 17:01:40.000000000 
+0200
+++ new/python-xapp-1.8.1/debian/changelog      2019-11-28 16:43:52.000000000 
+0100
@@ -1,3 +1,17 @@
+python-xapp (1.8.1) tricia; urgency=medium
+
+  [ Stephen Collins ]
+  * icon chooser widget: fix kwargs to support current features correctly
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Thu, 28 Nov 2019 15:43:24 +0000
+
+python-xapp (1.8.0) tricia; urgency=medium
+
+  [ Stephen Collins ]
+  * Expose new features in the XAppIconChooserDialog to the settings widget 
(#10)
+
+ -- Clement Lefebvre <r...@linuxmint.com>  Tue, 12 Nov 2019 11:19:42 +0100
+
 python-xapp (1.6.0) tessa; urgency=medium
 
   * Add GSettingsWidgets and SettingsWidgets (#7)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xapp-1.6.0/setup.py 
new/python-xapp-1.8.1/setup.py
--- old/python-xapp-1.6.0/setup.py      2019-05-17 17:01:40.000000000 +0200
+++ new/python-xapp-1.8.1/setup.py      2019-11-28 16:43:52.000000000 +0100
@@ -3,7 +3,7 @@
 from distutils.core import setup
 
 setup( name = "python-xapp",
-       version = "1.6.0",
+       version = "1.8.1",
        description = "Python Xapp Library",
        maintainer = "Linux Mint",
        maintainer_email = "r...@linuxmint.com",
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xapp-1.6.0/xapp/SettingsWidgets.py 
new/python-xapp-1.8.1/xapp/SettingsWidgets.py
--- old/python-xapp-1.6.0/xapp/SettingsWidgets.py       2019-05-17 
17:01:40.000000000 +0200
+++ new/python-xapp-1.8.1/xapp/SettingsWidgets.py       2019-11-28 
16:43:52.000000000 +0100
@@ -661,7 +661,7 @@
     bind_prop = "icon"
     bind_dir = Gio.SettingsBindFlags.DEFAULT
 
-    def __init__(self, label, expand_width=False, size_group=None, 
dep_key=None, tooltip=""):
+    def __init__(self, label, default_icon=None, icon_categories=[], 
default_category=None, expand_width=False, size_group=None, dep_key=None, 
tooltip=""):
         super(IconChooser, self).__init__(dep_key=dep_key)
 
         self.label = SettingsLabel(label)
@@ -669,6 +669,16 @@
         self.content_widget = XApp.IconChooserButton()
         self.content_widget.set_icon_size(Gtk.IconSize.BUTTON)
 
+        dialog = self.content_widget.get_dialog()
+        if default_icon:
+            dialog.set_default_icon(default_icon)
+
+        for category in icon_categories:
+            dialog.add_custom_category(category['name'], category['icons'])
+
+        if default_category is not None:
+            self.content_widget.set_default_category(default_category)
+
         self.pack_start(self.label, False, False, 0)
         self.pack_end(self.content_widget, expand_width, expand_width, 0)
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/python-xapp-1.6.0/xapp/__init__.py 
new/python-xapp-1.8.1/xapp/__init__.py
--- old/python-xapp-1.6.0/xapp/__init__.py      2019-05-17 17:01:40.000000000 
+0200
+++ new/python-xapp-1.8.1/xapp/__init__.py      2019-11-28 16:43:52.000000000 
+0100
@@ -1,3 +1,3 @@
 __all__ = [ "os", "GSettingsWidgets", "SettingsWidgets" ]
 
-__version__ = "1.6.0"
+__version__ = "1.8.0"


Reply via email to