Hello community, here is the log from the commit of package blueberry for openSUSE:Factory checked in at 2017-11-11 14:20:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/blueberry (Old) and /work/SRC/openSUSE:Factory/.blueberry.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "blueberry" Sat Nov 11 14:20:41 2017 rev:23 rq:540363 version:1.1.18 Changes: -------- --- /work/SRC/openSUSE:Factory/blueberry/blueberry.changes 2017-11-04 19:30:43.829961261 +0100 +++ /work/SRC/openSUSE:Factory/.blueberry.new/blueberry.changes 2017-11-11 14:20:45.436668536 +0100 @@ -1,0 +2,7 @@ +Thu Nov 9 18:24:42 UTC 2017 - [email protected] + +- Update to version 1.1.18: + * Make blueberry-tray a GtkApplication and register with the + session manager. + +------------------------------------------------------------------- Old: ---- blueberry-1.1.17.tar.gz New: ---- blueberry-1.1.18.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ blueberry.spec ++++++ --- /var/tmp/diff_new_pack.dQRT1o/_old 2017-11-11 14:20:46.040646401 +0100 +++ /var/tmp/diff_new_pack.dQRT1o/_new 2017-11-11 14:20:46.044646254 +0100 @@ -18,7 +18,7 @@ %define __requires_exclude typelib\\((St)\\) Name: blueberry -Version: 1.1.17 +Version: 1.1.18 Release: 0 Summary: A configuration tool for Bluetooth License: GPL-3.0+ ++++++ blueberry-1.1.17.tar.gz -> blueberry-1.1.18.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blueberry-1.1.17/debian/changelog new/blueberry-1.1.18/debian/changelog --- old/blueberry-1.1.17/debian/changelog 2017-11-03 14:59:24.000000000 +0100 +++ new/blueberry-1.1.18/debian/changelog 2017-11-09 17:35:48.000000000 +0100 @@ -1,3 +1,10 @@ +blueberry (1.1.18) sylvia; urgency=medium + + [ Michael Webster ] + * Make blueberry-tray a GtkApplication and register with the session manager. + + -- Clement Lefebvre <[email protected]> Thu, 09 Nov 2017 16:35:15 +0000 + blueberry (1.1.17) sylvia; urgency=medium * l10n: Update translations diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/blueberry-1.1.17/usr/lib/blueberry/blueberry-tray.py new/blueberry-1.1.18/usr/lib/blueberry/blueberry-tray.py --- old/blueberry-1.1.17/usr/lib/blueberry/blueberry-tray.py 2017-11-03 14:59:24.000000000 +0100 +++ new/blueberry-1.1.18/usr/lib/blueberry/blueberry-tray.py 2017-11-09 17:35:48.000000000 +0100 @@ -12,8 +12,20 @@ # i18n gettext.install("blueberry", "/usr/share/locale") -class BluetoothTray: +class BluetoothTray(Gtk.Application): def __init__(self): + super(BluetoothTray, self).__init__(register_session=True) + + def do_activate(self): + self.hold() + + def do_shutdown(self): + self.terminate() + Gtk.Application.do_shutdown(self) + + def do_startup(self): + Gtk.Application.do_startup(self) + debug = False if len(sys.argv) > 1 and sys.argv[1] == "debug": debug = True @@ -131,8 +143,7 @@ def terminate(self, window = None, data = None): self.rfkill.terminate() - Gtk.main_quit() + self.release() if __name__ == "__main__": - BluetoothTray() - Gtk.main() + BluetoothTray().run()
