Commit graph

87 commits

Author SHA1 Message Date
202bfb424c Use “gettext” instead of “locale” for L10N
As the documentation on the “locale” module states, the “gettext” module
should be used instead. Therefore adjust the localization calls to use
gettext instead.

Additionally fix one button label which did not use localization at all
and update the message catalogues.
2019-02-17 00:03:57 +01:00
047f6d0a5c Force redrawing image when setting new cover 2018-12-22 16:28:42 +01:00
d5ca0126e5 Merge release v1.3.5 2018-11-10 16:36:35 +01:00
34153044b4 Prevent redrawing cover image if size has not changed
Drawing the cover image on the Cover panel triggers the re-allocation of
the widget which in turn triggers the re-drawing of the cover image.
This led to an infinite loop of drawing the cover image causing high CPU
usage. To prevent this, the widget size is now stored and the the
resizing of the cover image is only done if the size has really changed.
2018-11-10 16:29:46 +01:00
b29926e041 Fix MPDException to save error message 2018-11-04 19:38:43 +01:00
3f12eedf96 Visually indicate changes of playlist and library (close #42)
Set the GTK “needs-attention” property of the header bar stack switcher
for the playlist and the library panel when their content changes.
2018-11-04 19:11:57 +01:00
670d50cefd Implement __hash__ method for custom classes (close #45)
Implement a reasonable __hash__ method() for the classes MCGAlbum and
MCGTrack and use a separate id for referencing albums.
2018-11-04 19:11:57 +01:00
a31bfaa53a Translate labels of buttons created in code 2018-09-01 19:35:34 +02:00
79148a56f4 Separate library album actions “queue” and “play” (close #54) 2018-09-01 19:21:33 +02:00
ec4346981f Merge release v1.3.4 2018-09-01 18:55:52 +02:00
59e276a830 Fix calculation of marks for library grid scale (close #55) 2018-09-01 18:49:16 +02:00
cb585cda1e Handle window state properly (implements #52)
Handle the window state as recommended by the Gnome HowDoI guide by
using the wrapper class WindowState with GObject properties and
bindings. Additionally use separate settings for width and height
instead of an array.
2018-07-10 22:45:29 +02:00
9783e7e6a0 Hide tracklist on Cover panel during fullscreen (see #47) 2018-07-10 22:22:56 +02:00
f98b888344 Use overlay for track list on Cover panel (implements #47) 2018-07-08 13:37:44 +02:00
coderkun
0ebb381de8 Use dark theme (close #46) 2017-12-31 18:05:37 +01:00
coderkun
17990118c7 Merge branch “issue-41-progress-bars” (close #41) 2017-12-26 10:19:46 +01:00
coderkun
16c2ffd775 Merge branch “issue-36-server-panel” (close #36, #37, #38, #35) 2017-12-26 10:18:58 +01:00
coderkun
89cf0dfcc0 Merge branch “issue-28-album-art-scaling” 2017-12-26 09:58:00 +01:00
coderkun
3d426d03c7 Handle fullscreen status for non-set album (close #43) 2017-12-26 00:14:18 +01:00
coderkun
3441812c1a Improve the visual appearance of progress bar on Library panel (close #41) 2017-12-25 17:41:02 +01:00
coderkun
abff4b9f2f Improve visual appearance of Server panel (see #36) 2017-12-25 17:01:19 +01:00
coderkun
7a28e9f4bf Add hadling for audio output devices (close #35) 2017-12-25 13:23:21 +01:00
coderkun
30175ee86a Add stats to new Server panel (close #38) 2017-12-25 13:23:18 +01:00
coderkun
fe1b60ea17 Add status information to new Server panel (close #37) 2017-12-25 13:23:14 +01:00
coderkun
ccd355d4c2 Separate Connection panel and add Server panel (#36) 2017-12-25 13:23:11 +01:00
coderkun
f67e260994 Add marks for number of images to grid scale (#28) 2017-12-24 12:04:02 +01:00
coderkun
a765c5b401 Add styling for multiselect of albums (#29) 2017-09-09 14:06:06 +02:00
coderkun
f7d4d17c08 Add multiselect of albums in Library panel (#29) 2017-09-09 13:29:28 +02:00
coderkun
55ef86a0e5 Add multiselect of albums in Playlist panel (#29) 2017-08-26 21:03:04 +02:00
coderkun
b5e76b4041 Clear Cover panel when playlist is empty (resolve #24) 2017-06-18 16:42:36 +02:00
coderkun
41d7dfaae6 Use default/dummy image for Cover panel (see #24) 2017-06-18 14:15:07 +02:00
coderkun
c451c32437 Add support for “albumartist” tag (resolve #27) 2017-06-18 13:10:30 +02:00
coderkun
1fdab35391 Improve creating classes from MPD responses 2017-06-18 13:10:30 +02:00
coderkun
680ac1896a Fix distributing and loading of data files 2017-05-06 16:38:14 +02:00
coderkun
abec42b9ea Unify name in all files and resources 2017-04-28 11:01:06 +02:00
coderkun
fcdd8b1501 Update and translate description text 2017-04-26 12:28:50 +02:00
coderkun
e24e27a7b7 Rename file “menu.ui” to “gtk.menu.ui” 2017-04-26 11:53:43 +02:00
coderkun
03fa9c4db7 Add Gtk.ShortcutsWindows to application (resolve #14) 2017-04-26 11:48:32 +02:00
coderkun
be357a7499 Disable items in app menu when not connected 2017-04-26 09:28:33 +02:00
coderkun
5e598250ab Simplify name to “CoverGrid” skipping the “MPD” prefix 2017-04-25 12:53:44 +02:00
coderkun
e555956c95 Add About/Info dialog (implement #26) 2017-04-25 12:52:20 +02:00
coderkun
23742542af Rename file “mcg.css” to “gtk.css” 2017-04-25 12:29:45 +02:00
coderkun
e7474c744e Extend app menu including shortcuts (close #23)
Add several global actions to the application menu and assign shortcuts
(accels) to them.
2017-04-24 13:12:21 +02:00
coderkun
e34a253645 Reload playlist when “player” has changed 2017-04-23 12:08:10 +02:00
coderkun
21488ee5f3 Close “standalone” panel after action on Playlist and Library panel 2017-04-23 12:07:24 +02:00
coderkun
f7cbc25efc Add basic app menu with shortcut for closing (see #14) 2017-04-23 11:50:41 +02:00
coderkun
8a34d904fb Add translations support (including EN and DE) (close #6) 2017-04-22 15:03:55 +02:00
coderkun
88ddc7ce4a Fix setup.py to work properly 2017-04-22 11:18:57 +02:00
coderkun
1960cb2517 Only use Avahi if module can be loaded (implements #22) 2017-01-08 18:42:27 +01:00
coderkun
b88f1c6e0b PlaylistPanel: implement playing of selected album 2016-08-07 21:20:44 +02:00