diff options
author | waker <wakeroid@gmail.com> | 2010-12-31 13:48:04 +0100 |
---|---|---|
committer | waker <wakeroid@gmail.com> | 2010-12-31 13:48:04 +0100 |
commit | e06308f8f5105f4d2d6eac3665b543ef6f360341 (patch) | |
tree | 8d35467ec6beed4c20ceb60a1d8af350f276657c /plugins/hotkeys | |
parent | 74df8d527b3052dc9593985fcd80136c39dadd94 (diff) |
renamed pause event to togglepause;
added new pause event, including command line option;
slightly changed/shortened M_* constant names
Diffstat (limited to 'plugins/hotkeys')
-rw-r--r-- | plugins/hotkeys/hotkeys.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/hotkeys/hotkeys.c b/plugins/hotkeys/hotkeys.c index 906fb74c..26e6a864 100644 --- a/plugins/hotkeys/hotkeys.c +++ b/plugins/hotkeys/hotkeys.c @@ -111,7 +111,7 @@ cmd_stop_after_current (void *unused) { int var = deadbeef->conf_get_int ("playlist.stop_after_current", 0); var = 1 - var; deadbeef->conf_set_int ("playlist.stop_after_current", var); - deadbeef->sendmessage (M_CONFIGCHANGED, 0, 0, 0); + deadbeef->sendmessage (M_CONFIG_CHANGED, 0, 0, 0); } /* @@ -583,7 +583,7 @@ action_toggle_stop_after_current_cb (struct DB_plugin_action_s *action, DB_playI int var = deadbeef->conf_get_int ("playlist.stop_after_current", 0); var = 1 - var; deadbeef->conf_set_int ("playlist.stop_after_current", var); - deadbeef->sendmessage (M_CONFIGCHANGED, 0, 0, 0); + deadbeef->sendmessage (M_CONFIG_CHANGED, 0, 0, 0); return 0; } |