Merge release v1.3.5
This commit is contained in:
commit
d5ca0126e5
3 changed files with 11 additions and 3 deletions
|
@ -1970,7 +1970,7 @@
|
|||
<property name="gravity">center</property>
|
||||
<property name="transient_for">appwindow</property>
|
||||
<property name="program_name">CoverGrid</property>
|
||||
<property name="version">1.3.4</property>
|
||||
<property name="version">1.3.5</property>
|
||||
<property name="comments" translatable="yes">CoverGrid is a client for the Music Player Daemon, focusing on albums instead of single tracks.</property>
|
||||
<property name="website">http://www.suruatoel.xyz/codes/mcg</property>
|
||||
<property name="logo">mcg.svg</property>
|
||||
|
|
|
@ -975,6 +975,7 @@ class CoverPanel(GObject.GObject):
|
|||
self._icon_theme = Gtk.IconTheme.get_default()
|
||||
self._fullscreened = False
|
||||
self._is_selected = False
|
||||
self._current_size = None
|
||||
|
||||
# Widgets
|
||||
self._appwindow = builder.get_object('appwindow')
|
||||
|
@ -1176,8 +1177,15 @@ class CoverPanel(GObject.GObject):
|
|||
"""Diese Methode skaliert das geladene Bild aus dem Pixelpuffer
|
||||
auf die Größe des Fensters unter Beibehalt der Seitenverhältnisse
|
||||
"""
|
||||
pixbuf = self._cover_pixbuf
|
||||
# Get size
|
||||
size = self._cover_scroll.get_allocation()
|
||||
# Abort if size is the same
|
||||
if self._current_size and size.width == self._current_size.width and size.height == self._current_size.height:
|
||||
return
|
||||
self._current_size = size
|
||||
|
||||
# Get pixelbuffer
|
||||
pixbuf = self._cover_pixbuf
|
||||
# Check pixelbuffer
|
||||
if pixbuf is None:
|
||||
return
|
||||
|
|
2
setup.py
2
setup.py
|
@ -53,7 +53,7 @@ setup(
|
|||
'build_py': build_mcg
|
||||
},
|
||||
name = "mcg",
|
||||
version = '1.3.4',
|
||||
version = '1.3.5',
|
||||
description = "CoverGrid (mcg) is a client for the Music Player Daemon, focusing on albums instead of single tracks.",
|
||||
url = "http://www.suruatoel.xyz/codes/mcg",
|
||||
author = "coderkun",
|
||||
|
|
Loading…
Reference in a new issue