Commit Graph

443 Commits

Author SHA1 Message Date
craig.p.drummond
56570dc7db Add option to support GNOME media keys. 2012-10-05 21:36:50 +00:00
craig.p.drummond@gmail.com
70677e1591 Only save settings when modified. 2012-10-05 11:05:49 +00:00
craig.p.drummond@gmail.com
c1db2bada8 In windows build, when close button is pressed always terminate the app, even when we have a system tray icon. (Matchs VLC behaviour)
BUG:103
2012-10-05 11:02:44 +00:00
craig.p.drummond
ea091e660e Unity menubar support for Qt builds only - as mods for shortcuts means we're not using standard actions, etc. 2012-10-04 08:34:30 +00:00
craig.p.drummond
974b50814c Support for modifiable keyboard shortcuts in Qt-only builds. (Code stolen from Quassel!) 2012-10-03 19:58:42 +00:00
craig.p.drummond
094354c66b Make 'Icon' a class, and move icons into Icons 2012-10-03 19:16:52 +00:00
craig.p.drummond@gmail.com
e2af2b394a Add 'Add to playlist' action to playqueue context menu.
BUG:100
2012-10-02 11:19:05 +00:00
craig.p.drummond
293c8f4b5d Play/Pause track when middle click on tray icon for Qt-only builds (KDE builds already have this). Thanks to spartanj for the patch. 2012-09-30 20:16:54 +00:00
craig.p.drummond
81fc4ec952 Re-add unity menubar, and closeEvent(), that were reverted by mistake! 2012-09-28 16:20:11 +00:00
craig.p.drummond
8ab381fe8b Improve MPRISv2 interface. 2012-09-25 20:18:57 +00:00
craig.p.drummond
f4b456d8bb Only show OSD when we are actually playing a song. 2012-09-25 19:46:09 +00:00
craig.p.drummond
94f039071f Show menubar when run under Unity. 2012-09-24 20:14:56 +00:00
craig.p.drummond
4c4b3ae8df Pass closeEvent to derived class if we are not using tray items. 2012-09-24 18:45:17 +00:00
craig.p.drummond@gmail.com
de22c98007 Use freedesktop notifications spec for Qt-only Linux builds. 2012-09-24 17:14:25 +00:00
craig.p.drummond@gmail.com
e12f70bbd4 Add 'Show Window' action to Linux Qt-only build - so that we have a way of restoring the Cantata window from the Unity menubar. 2012-09-24 11:23:47 +00:00
craig.p.drummond
701fc18d8c Only override closeEvent when we have a trayItem
BUG:96
2012-09-23 16:39:30 +00:00
craig.p.drummond@gmail.com
e5793d6b52 More non-oxygen icon work
BUG:91
2012-09-20 11:02:47 +00:00
craig.p.drummond
e704299f24 - Use a random icon that matches the repeat icon better.
- Draw the consume icon in code, so that it matches random and repeat better.
2012-09-19 15:10:26 +00:00
craig.p.drummond
d1cb1f9ae0 Add a shuffle icon that matches the repeat icon better. 2012-09-18 20:18:28 +00:00
craig.p.drummond
ee457e227c Don't enforce oxygen icons for Qt-only (Linux) builds. Cehck for missing icons, and use alternatives.
NOTE: This is not 100% complete yet - still require better icons for dynamic, playlists, and others...
2012-09-18 18:47:25 +00:00
craig.p.drummond
173712493c Device sync support for Qt-only builds. To support this, a cut-down version of Solid is included. 2012-09-17 18:39:01 +00:00
craig.p.drummond
5412af31d1 Fix saving/restore of window sizes 2012-09-12 18:57:03 +00:00
craig.p.drummond@gmail.com
5189bb0906 Fix some CMake issues
BUG:75
2012-09-10 12:32:58 +00:00
craig.p.drummond@gmail.com
92a370c41f When refreshing DB, make sure Albums view is at top level.
BUG:78
2012-09-10 11:25:09 +00:00
craig.p.drummond
b877562085 Add a server mode (with HTTP API) to cantata-dynamic. Intended so that dynamizer can run on same host as mpd 2012-09-07 19:42:17 +00:00
craig.p.drummond
de7478723f Add 3 forms for Qt plural translations; none, singular, and others 2012-09-03 19:07:31 +00:00
craig.p.drummond
e4ad38abdb Consistency... 2012-09-03 19:06:57 +00:00
craig.p.drummond
86a9b9db5c Reduce number of translations 2012-09-03 19:05:04 +00:00
craig.p.drummond@gmail.com
1832ab8dc7 Use lupdate/lrelease for generating Qt translations from KDE ones.
Hack-around issues with Qt plural forms - use 'Tracks: 2' instead of '2 Tracks'
2012-09-03 11:27:16 +00:00
craig.p.drummond
f3518db48b Fix compilation!!!! 2012-09-02 20:17:35 +00:00
craig.p.drummond
5c7d22c72d Initial work on Qt translations. Commented out for the moment, as xgettext is crashing!!! 2012-09-02 20:13:00 +00:00
craig.p.drummond@gmail.com
c7006bfaab Cleanup 2012-08-31 11:44:06 +00:00
craig.p.drummond
49cc24eb46 Completly remove android changes - this NEVER worked very well, and never will with QWidgets :-( 2012-08-30 19:43:32 +00:00
craig.p.drummond
2034c11660 Force single-click activation in views. To enable double-click mode (which depends upon the style), edit cantatarc (KDE) or cantata.conf (Qt only) and set 'forceSingleClick=false' in the '[General]' section. 2012-08-30 19:37:59 +00:00
craig.p.drummond@gmail.com
9fd4109300 Fix MPD dir accessibility check for qt builds 2012-08-23 17:49:59 +00:00
craig.p.drummond@gmail.com
def05566fc Include kdeversion.h for KDE_IS_VERSION macro 2012-08-22 12:22:30 +00:00
craig.p.drummond@gmail.com
56c05ef290 For KDE<4.9 or Qt (Linux) builds, monitor /proc/mounts for changes - to know whether MPD dir is accessible or not. 2012-08-22 11:28:00 +00:00
craig.p.drummond@gmail.com
d96f457a6b When displaying year, get the year from the album - as this maybe different per track of album (if the album is a compilation) 2012-08-21 17:55:30 +00:00
craig.p.drummond@gmail.com
b9fd3eb225 In KDE builds, check if MPD is readable each time we get a device added or removed signal from Solid. (Requires KDE4.9 to function correctly)
BUG:53
2012-08-21 17:55:06 +00:00
craig.p.drummond@gmail.com
ac5bcc0d31 If we have no song tag details, show filename in playqueue.
BUG:59
2012-08-21 11:28:52 +00:00
craig.p.drummond@gmail.com
458cead912 Dont need to stop dynamizer unless connection details have changed. 2012-08-16 17:14:32 +00:00
craig.p.drummond@gmail.com
5a61cf0609 When press CTRL-F, put focus on playqueue search if its currently on one of the playqueue buttons. 2012-08-15 11:13:49 +00:00
craig.p.drummond@gmail.com
4147e69835 Allow 'showPage' dbus command to also show playqueue (if this has been placed in the sidebar) 2012-08-15 11:12:55 +00:00
craig.p.drummond@gmail.com
ac5ac8a177 More consistent control of prev/next buttons. 2012-08-15 11:12:33 +00:00
craig.p.drummond@gmail.com
c7088e59bf Dont attempt to get current song if we are still inactive 2012-08-15 11:12:13 +00:00
craig.p.drummond@gmail.com
4c8e7dd67b Use QWIDGETSIZE_MAX and not INT_MAX to set maximum height of expanded interface. 2012-08-15 11:11:36 +00:00
craig.p.drummond
33f4544361 If 'showPage' is called (via DBUS interface), ensure interface is expanded. 2012-08-13 18:55:33 +00:00
craig.p.drummond@gmail.com
266171697b Cant use 'isVisible' to detect when expanded/collapsed - as we might be hidden in system tray!! 2012-08-13 11:07:32 +00:00
craig.p.drummond
9bbfe046c7 Show current song details in tooltip of notification icon for Qt builds as per KDE builds. 2012-08-12 17:15:59 +00:00
craig.p.drummond
9fa4d74880 In Qt (Linux) build, also register org.kde.cantata service - so that messages from dynamic helper can be recieved. 2012-08-12 14:13:33 +00:00