Compare commits
3 Commits
f9b29f2a3c
...
7d744f21dd
Author | SHA1 | Date |
---|---|---|
Martin Wagner | 7d744f21dd | |
Martin Wagner | c9be91d3fc | |
Martin Wagner | bd62ea8d94 |
|
@ -74,5 +74,5 @@ sudo update-desktop-database
|
|||
Translation
|
||||
-----------
|
||||
|
||||
mpdevil is currently available in English, German, Dutch, Bulgarian and Turkish. If you speak another language, you can easily translate mpdevil by using `poedit`. Just import `po/mpdevil.pot` from this repo into `poedit`. To test your translation, copy the new `.po` file into the `po` directory of your cloned mpdevil repo and proceed as described in the [Building](#building) section. To get your translation integrated into mpdevil, just send me an e-mail or create a pull request. Link to `poedit`: https://poedit.net/
|
||||
mpdevil is currently available in English, German, Dutch, Bulgarian, Turkish and Polish. If you speak another language, you can easily translate mpdevil by using `poedit`. Just import `po/mpdevil.pot` from this repo into `poedit`. To test your translation, copy the new `.po` file into the `po` directory of your cloned mpdevil repo and proceed as described in the [Building](#building) section. To get your translation integrated into mpdevil, just send me an e-mail or create a pull request. Link to `poedit`: https://poedit.net/
|
||||
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
<object class="GtkAboutDialog" id="about_dialog">
|
||||
<property name="modal">True</property>
|
||||
<property name="program_name">mpdevil</property>
|
||||
<property name="version">1.8.0</property>
|
||||
<property name="version">1.8.1</property>
|
||||
<property name="comments" translatable="yes">A simple music browser for MPD</property>
|
||||
<property name="authors">Martin Wagner</property>
|
||||
<property name="translator_credits">Martin Wagner
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
</ul>
|
||||
</description>
|
||||
<releases>
|
||||
<release version="1.8.0" date="2022-09-11"/>
|
||||
<release version="1.8.1" date="2022-09-25"/>
|
||||
</releases>
|
||||
<launchable type="desktop-id">org.mpdevil.mpdevil.desktop</launchable>
|
||||
<screenshots>
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
project('mpdevil', version: '1.8.0')
|
||||
project('mpdevil', version: '1.8.1')
|
||||
|
||||
i18n = import('i18n')
|
||||
gnome = import('gnome')
|
||||
|
|
|
@ -1536,7 +1536,7 @@ class AlbumPopover(Gtk.Popover):
|
|||
|
||||
# songs list
|
||||
# sizing needed for correct popover height
|
||||
self._songs_list=SongsList(self._client, width=80)
|
||||
self._songs_list=SongsList(self._client, width=60)
|
||||
|
||||
# scroll
|
||||
self._scroll=Gtk.ScrolledWindow(child=self._songs_list, propagate_natural_height=True)
|
||||
|
@ -1564,7 +1564,8 @@ class AlbumPopover(Gtk.Popover):
|
|||
self._rect.y=y
|
||||
self.set_pointing_to(self._rect)
|
||||
self.set_relative_to(widget)
|
||||
self._scroll.set_max_content_height(4*widget.get_allocated_height()//7)
|
||||
window=self.get_toplevel()
|
||||
self._scroll.set_max_content_height(window.get_size()[1]//2)
|
||||
self._songs_list.clear()
|
||||
tag_filter=("albumartist", albumartist, "album", album, "date", date)
|
||||
count=self._client.count(*tag_filter)
|
||||
|
@ -2789,7 +2790,7 @@ class LyricsWindow(Gtk.ScrolledWindow):
|
|||
# text view
|
||||
self._text_view=Gtk.TextView(
|
||||
editable=False, cursor_visible=False, wrap_mode=Gtk.WrapMode.WORD,
|
||||
justification=Gtk.Justification.CENTER, opacity=0.9,
|
||||
justification=Gtk.Justification.CENTER,
|
||||
left_margin=5, right_margin=5, bottom_margin=5, top_margin=3
|
||||
)
|
||||
|
||||
|
@ -2958,6 +2959,7 @@ class CoverLyricsWindow(Gtk.Overlay):
|
|||
# cover
|
||||
main_cover=MainCover(self._client, self._settings)
|
||||
self._cover_event_box=CoverEventBox(self._client, self._settings)
|
||||
self._cover_event_box.add(Gtk.AspectFrame(child=main_cover, shadow_type=Gtk.ShadowType.NONE))
|
||||
|
||||
# lyrics button
|
||||
self.lyrics_button=Gtk.ToggleButton(
|
||||
|
@ -2975,7 +2977,7 @@ class CoverLyricsWindow(Gtk.Overlay):
|
|||
self._settings.bind("show-lyrics-button", self._lyrics_button_revealer, "reveal-child", Gio.SettingsBindFlags.DEFAULT)
|
||||
|
||||
# stack
|
||||
self._stack=Gtk.Stack(transition_type=Gtk.StackTransitionType.OVER_DOWN_UP)
|
||||
self._stack=Gtk.Stack(transition_type=Gtk.StackTransitionType.CROSSFADE)
|
||||
self._stack.add_named(self._cover_event_box, "cover")
|
||||
self._stack.add_named(self._lyrics_window, "lyrics")
|
||||
self._stack.set_visible_child(self._cover_event_box)
|
||||
|
@ -2986,8 +2988,7 @@ class CoverLyricsWindow(Gtk.Overlay):
|
|||
self._client.emitter.connect("connected", self._on_connected)
|
||||
|
||||
# packing
|
||||
self.add(Gtk.AspectFrame(child=main_cover, shadow_type=Gtk.ShadowType.NONE))
|
||||
self.add_overlay(self._stack)
|
||||
self.add(self._stack)
|
||||
self.add_overlay(self._lyrics_button_revealer)
|
||||
|
||||
def _on_connected(self, *args):
|
||||
|
|
Loading…
Reference in New Issue