diff src/audacious/ui_main.c @ 2769:bf2d80abf76e trunk

[svn] Implemented CMD_IS_ADVANCE and CMD_TOGGLE_ADVANCE. Added partial MPRIS support. Root is complete, Player is partially implemented, and TrackList has not been started.
author magma
date Sun, 13 May 2007 18:38:53 -0700
parents 6884a2144a01
children ade60a2c52fb
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Sun May 13 11:57:18 2007 -0700
+++ b/src/audacious/ui_main.c	Sun May 13 18:38:53 2007 -0700
@@ -2011,6 +2011,12 @@
     check_set(toggleaction_group_others, "stop after current song", cfg.stopaftersong);
 }
 
+void
+mainwin_set_noplaylistadvance(gboolean no_advance)
+{
+    cfg.no_playlist_advance = no_advance;
+    check_set(toggleaction_group_others, "playback no playlist advance", cfg.no_playlist_advance);
+}
 
 static void
 mainwin_set_doublesize(gboolean doublesize)