Hello community,

here is the log from the commit of package lollypop for openSUSE:Factory 
checked in at 2019-03-14 15:02:21
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lollypop (Old)
 and      /work/SRC/openSUSE:Factory/.lollypop.new.28833 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lollypop"

Thu Mar 14 15:02:21 2019 rev:71 rq:684859 version:0.9.925

Changes:
--------
--- /work/SRC/openSUSE:Factory/lollypop/lollypop.changes        2019-03-04 
09:24:46.420553492 +0100
+++ /work/SRC/openSUSE:Factory/.lollypop.new.28833/lollypop.changes     
2019-03-14 15:02:40.755673343 +0100
@@ -1,0 +2,6 @@
+Thu Mar 14 09:02:04 UTC 2019 - antoine.belv...@opensuse.org
+
+- Update to version 0.9.925:
+  * Fix a crash in device manager (glgo#World/lollypop#1698).
+
+-------------------------------------------------------------------

Old:
----
  lollypop-0.9.924.tar.xz

New:
----
  lollypop-0.9.925.tar.xz

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

Other differences:
------------------
++++++ lollypop.spec ++++++
--- /var/tmp/diff_new_pack.z6D5GJ/_old  2019-03-14 15:02:43.491672499 +0100
+++ /var/tmp/diff_new_pack.z6D5GJ/_new  2019-03-14 15:02:43.495672498 +0100
@@ -17,7 +17,7 @@
 
 
 Name:           lollypop
-Version:        0.9.924
+Version:        0.9.925
 Release:        0
 Summary:        GNOME music playing application
 License:        GPL-3.0-or-later

++++++ _service ++++++
--- /var/tmp/diff_new_pack.z6D5GJ/_old  2019-03-14 15:02:43.523672489 +0100
+++ /var/tmp/diff_new_pack.z6D5GJ/_new  2019-03-14 15:02:43.523672489 +0100
@@ -1,7 +1,7 @@
 <services>
   <service mode="disabled" name="tar_scm">
     <param name="changesgenerate">enable</param>
-    <param name="revision">0.9.924</param>
+    <param name="revision">0.9.925</param>
     <param name="scm">git</param>
     <param name="url">https://gitlab.gnome.org/World/lollypop.git</param>
     <param name="versionformat">@PARENT_TAG@</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.z6D5GJ/_old  2019-03-14 15:02:43.539672484 +0100
+++ /var/tmp/diff_new_pack.z6D5GJ/_new  2019-03-14 15:02:43.539672484 +0100
@@ -1,4 +1,4 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://gitlab.gnome.org/World/lollypop.git</param>
-              <param 
name="changesrevision">c1c1b13f8291845d783c9dc96f35bb75fa183aaf</param></service></servicedata>
\ No newline at end of file
+              <param 
name="changesrevision">919db6bb5a7d6c2d96662e4a83ba59833a2f3f07</param></service></servicedata>
\ No newline at end of file

++++++ lollypop-0.9.924.tar.xz -> lollypop-0.9.925.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lollypop-0.9.924/lollypop/cellrenderer.py 
new/lollypop-0.9.925/lollypop/cellrenderer.py
--- old/lollypop-0.9.924/lollypop/cellrenderer.py       2019-03-03 
18:47:53.000000000 +0100
+++ new/lollypop-0.9.925/lollypop/cellrenderer.py       2019-03-10 
21:03:44.000000000 +0100
@@ -33,6 +33,8 @@
                                              ArtSize.MEDIUM,
                                              ArtSize.MEDIUM,
                                              scale_factor)
+        if pixbuf is None:
+            pixbuf = self.__get_default_pixbuf()
         surface = Gdk.cairo_surface_create_from_pixbuf(
                     pixbuf, scale_factor, None)
         width = surface.get_width()
@@ -72,6 +74,32 @@
     def do_get_preferred_height(self, widget):
         return self.do_get_preferred_width(widget)
 
+###########
+# PRIVATE #
+###########
+    def __get_default_pixbuf(self):
+        # get a small pixbuf with the given path
+        icon_size = ArtSize.MEDIUM / 4
+        icon = Gtk.IconTheme.get_default().load_icon("folder-music-symbolic",
+                                                     icon_size, 0)
+        # create an empty pixbuf with the requested size
+        pixbuf = GdkPixbuf.Pixbuf.new(icon.get_colorspace(),
+                                      True,
+                                      icon.get_bits_per_sample(),
+                                      ArtSize.MEDIUM,
+                                      ArtSize.MEDIUM)
+        pixbuf.fill(0xffffffff)
+        icon.composite(pixbuf,
+                       icon_size * 3 / 2,
+                       icon_size * 3 / 2,
+                       icon_size,
+                       icon_size,
+                       icon_size * 3 / 2,
+                       icon_size * 3 / 2,
+                       1, 1,
+                       GdkPixbuf.InterpType.NEAREST, 255)
+        return pixbuf
+
 
 class CellRendererArtist(Gtk.CellRendererText):
     rowid = GObject.Property(type=int)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/lollypop-0.9.924/meson.build 
new/lollypop-0.9.925/meson.build
--- old/lollypop-0.9.924/meson.build    2019-03-03 18:47:53.000000000 +0100
+++ new/lollypop-0.9.925/meson.build    2019-03-10 21:03:44.000000000 +0100
@@ -1,5 +1,5 @@
 project('lollypop',
-  version: '0.9.924',
+  version: '0.9.925',
   meson_version: '>= 0.40.0'
 )
 i18n = import('i18n')


Reply via email to