[Xfce4-commits] <parole:master> Do not append CDs and DVDs to history.
Sean Davis
noreply at xfce.org
Sat Jan 5 14:44:01 CET 2013
Updating branch refs/heads/master
to 5ad532b53bde177b8e8865c2a2eda405d7f708ec (commit)
from 233cee1db0630f6b8694a6e106445496cb2746e1 (commit)
commit 5ad532b53bde177b8e8865c2a2eda405d7f708ec
Author: Sean Davis <smd.seandavis at gmail.com>
Date: Sat Jan 5 08:42:10 2013 -0500
Do not append CDs and DVDs to history.
src/parole-player.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/src/parole-player.c b/src/parole-player.c
index 63696e3..9f59e8f 100644
--- a/src/parole-player.c
+++ b/src/parole-player.c
@@ -1275,9 +1275,12 @@ parole_player_save_uri (ParolePlayer *player, const ParoleStream *stream)
}
}
- if ( save )
+ if ( media_type != PAROLE_MEDIA_TYPE_CDDA && media_type != PAROLE_MEDIA_TYPE_DVD )
{
- parole_insert_line_history (uri);
+ if ( save )
+ {
+ parole_insert_line_history (uri);
+ }
}
g_strfreev (lines);
More information about the Xfce4-commits
mailing list