wok-next view xfmedia/stuff/xfmedia-empty-prev-next-fix.patch @ rev 18055
Add: xcursor-aero, xcursor-comix, xcursor-human, xcursor-obsidian.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 15 16:33:39 2015 +0300 (2015-05-15) |
parents | |
children |
line source
1 diff -wbBur xfmedia-0.9.2/src/mainwin.c xfmedia-0.9.2.my/src/mainwin.c
2 --- xfmedia-0.9.2/src/mainwin.c 2006-11-27 07:21:23.000000000 +0000
3 +++ xfmedia-0.9.2.my/src/mainwin.c 2010-11-01 13:01:17.000000000 +0000
4 @@ -1865,6 +1865,10 @@
5 gboolean use_playlist_q = xfmedia_playlist_queue_n_entries(mwin->playlist_q);
6 gboolean ret = FALSE;
8 + if(xfmedia_playlist_get_n_entries(mwin->plist) == 0)
9 +// if(xfmedia_playlist_queue_is_empty(mwin->plist))
10 + return;
11 +
12 if(mwin->cur_playing
13 && xfmedia_settings_get_bool("/xfmedia/playlist/shuffle")
14 && !use_playlist_q )
15 @@ -1899,6 +1903,10 @@
16 {
17 gint tot_items, idx = -1;
19 + if(xfmedia_playlist_get_n_entries(mwin->plist) == 0)
20 +// if(xfmedia_playlist_queue_is_empty(mwin->plist))
21 + return;
22 +
23 if(xfmedia_settings_get_bool("/xfmedia/playlist/shuffle")) {
24 XfmediaPlaylistEntryRef *ref = NULL;
25 gboolean playing = FALSE;