mirror of
https://github.com/SoongNoonien/mpdevil.git
synced 2023-08-10 21:12:44 +03:00
Compare commits
2 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
7969ec54ff | ||
![]() |
a352cef341 |
@@ -34,7 +34,7 @@ textdomain("mpdevil")
|
||||
if os.path.isfile("/.flatpak-info"): # test for flatpak environment
|
||||
bindtextdomain("mpdevil", "/app/share/locale")
|
||||
|
||||
VERSION="1.1.0" # sync with setup.py
|
||||
VERSION="1.1.1" # sync with setup.py
|
||||
COVER_REGEX=r"^\.?(album|cover|folder|front).*\.(gif|jpeg|jpg|png)$"
|
||||
|
||||
|
||||
@@ -3625,6 +3625,7 @@ class MainWindow(Gtk.ApplicationWindow):
|
||||
self._client=client
|
||||
self._settings=settings
|
||||
self._use_csd=self._settings.get_boolean("use-csd")
|
||||
self._size=None # needed for window size saving
|
||||
|
||||
# MPRIS
|
||||
dbus_service=MPRISInterface(self, self._client, self._settings)
|
||||
@@ -3833,8 +3834,10 @@ class MainWindow(Gtk.ApplicationWindow):
|
||||
def _on_size_allocate(self, widget, rect):
|
||||
if not self.is_maximized() and not self._settings.get_property("mini-player"):
|
||||
size=self.get_size()
|
||||
self._settings.set_int("width", size[0])
|
||||
self._settings.set_int("height", size[1])
|
||||
if size != self._size: # prevent unneeded write operations
|
||||
self._settings.set_int("width", size[0])
|
||||
self._settings.set_int("height", size[1])
|
||||
self._size=size
|
||||
|
||||
def _on_paned_position(self, obj, typestring, key):
|
||||
self._settings.set_int(key, obj.get_position())
|
||||
|
@@ -23,7 +23,7 @@
|
||||
</ul>
|
||||
</description>
|
||||
<releases>
|
||||
<release version="1.1.0" date="2021-02-13"/>
|
||||
<release version="1.1.1" date="2021-02-14"/>
|
||||
</releases>
|
||||
<launchable type="desktop-id">org.mpdevil.mpdevil.desktop</launchable>
|
||||
<screenshots>
|
||||
|
2
setup.py
2
setup.py
@@ -4,7 +4,7 @@ import DistUtilsExtra.auto
|
||||
|
||||
DistUtilsExtra.auto.setup(
|
||||
name='mpdevil',
|
||||
version='1.1.0', # sync with bin/mpdevil
|
||||
version='1.1.1', # sync with bin/mpdevil
|
||||
author="Martin Wagner",
|
||||
author_email="martin.wagner.dev@gmail.com",
|
||||
description=('A simple music browser for MPD'),
|
||||
|
Reference in New Issue
Block a user