pause_after.py use common menu

The plugin for pausing playback after the current song should use the
new common menu, instead of individual menus.
This commit is contained in:
Bryan Schumaker 2010-11-05 19:07:24 -04:00
parent 03f33af437
commit bf014d92c6
1 changed files with 1 additions and 2 deletions

View File

@ -17,8 +17,7 @@ def start():
text = "Pause after current song"
libsaria.init_var("PAUSEAFTER", False)
menu.add_lib_menu_item(text, set_pause)
menu.add_plist_menu_item(text, set_pause)
menu.add_common_menu_item(text, set_pause)
libsaria.event.invite("POSTNEXT", check_pause)
def stop():