Hello community, here is the log from the commit of package python-xapp for openSUSE:Factory checked in at 2020-12-13 17:30:06 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-xapp (Old) and /work/SRC/openSUSE:Factory/.python-xapp.new.2328 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-xapp" Sun Dec 13 17:30:06 2020 rev:7 rq:855382 version:2.0.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-xapp/python-xapp.changes 2020-09-28 14:30:45.326235627 +0200 +++ /work/SRC/openSUSE:Factory/.python-xapp.new.2328/python-xapp.changes 2020-12-13 17:30:34.952400830 +0100 @@ -1,0 +2,6 @@ +Mon Dec 7 20:01:37 UTC 2020 - andy great <[email protected]> + +- Update to version 2.0.2. + * Allow adding separators to the combo box widget + +------------------------------------------------------------------- Old: ---- python3-xapp-2.0.1.tar.gz New: ---- python3-xapp-2.0.2.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-xapp.spec ++++++ --- /var/tmp/diff_new_pack.EzsdUN/_old 2020-12-13 17:30:35.772401661 +0100 +++ /var/tmp/diff_new_pack.EzsdUN/_new 2020-12-13 17:30:35.776401665 +0100 @@ -20,7 +20,7 @@ %define _name python3-xapp %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-xapp -Version: 2.0.1 +Version: 2.0.2 Release: 0 Summary: Python XApp library License: GPL-2.0-or-later ++++++ python3-xapp-2.0.1.tar.gz -> python3-xapp-2.0.2.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-xapp-2.0.1/debian/changelog new/python3-xapp-2.0.2/debian/changelog --- old/python3-xapp-2.0.1/debian/changelog 2020-04-22 13:36:14.000000000 +0200 +++ new/python3-xapp-2.0.2/debian/changelog 2020-11-25 11:55:19.000000000 +0100 @@ -1,3 +1,10 @@ +python3-xapp (2.0.2) ulyssa; urgency=medium + + [ Stephen Collins ] + * Allow adding separators to the combo box widget + + -- Clement Lefebvre <[email protected]> Wed, 25 Nov 2020 10:54:58 +0000 + python3-xapp (2.0.1) ulyana; urgency=medium * Packaging: Rename source package diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-xapp-2.0.1/setup.py new/python3-xapp-2.0.2/setup.py --- old/python3-xapp-2.0.1/setup.py 2020-04-22 13:36:14.000000000 +0200 +++ new/python3-xapp-2.0.2/setup.py 2020-11-25 11:55:19.000000000 +0100 @@ -3,7 +3,7 @@ from setuptools import setup setup( name = "python-xapp", - version = "2.0.1", + version = "2.0.2", description = "Python Xapp Library", maintainer = "Linux Mint", maintainer_email = "[email protected]", diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/python3-xapp-2.0.1/xapp/SettingsWidgets.py new/python3-xapp-2.0.2/xapp/SettingsWidgets.py --- old/python3-xapp-2.0.1/xapp/SettingsWidgets.py 2020-04-22 13:36:14.000000000 +0200 +++ new/python3-xapp-2.0.2/xapp/SettingsWidgets.py 2020-11-25 11:55:19.000000000 +0100 @@ -566,10 +566,11 @@ class ComboBox(SettingsWidget): bind_dir = None - def __init__(self, label, options=[], valtype=None, size_group=None, dep_key=None, tooltip=""): + def __init__(self, label, options=[], valtype=None, separator=None, size_group=None, dep_key=None, tooltip=""): super(ComboBox, self).__init__(dep_key=dep_key) self.valtype = valtype + self.separator = separator self.option_map = {} self.label = SettingsLabel(label) @@ -585,6 +586,9 @@ self.set_options(options) + if separator: + self.content_widget.set_row_separator_func(self.is_separator_row) + self.set_tooltip_text(tooltip) if size_group: @@ -620,6 +624,12 @@ self.content_widget.set_model(self.model) self.content_widget.set_id_column(0) + def is_separator_row(self, model, tree_iter): + if model[tree_iter][0] == self.separator: + return True + else: + return False + class ColorChooser(SettingsWidget): bind_dir = None _______________________________________________ openSUSE Commits mailing list -- [email protected] To unsubscribe, email [email protected] List Netiquette: https://en.opensuse.org/openSUSE:Mailing_list_netiquette List Archives: https://lists.opensuse.org/archives/list/[email protected]
