stefan pushed a commit to branch master.
commit 27b1b54a0461ab0fe6da3242619daa39c057d4e7
Author: Stefan Schmidt <[email protected]>
Date: Fri Mar 8 14:32:13 2013 +0000
e/musi-control: Use ECORE_CALLBACK_PASS_ON.
To allow other users to receive the event as well. Spotted by Jose Souza.
Thanks!
---
src/modules/music-control/e_mod_main.c | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/modules/music-control/e_mod_main.c
b/src/modules/music-control/e_mod_main.c
index 5da27bd..233c7f2 100644
--- a/src/modules/music-control/e_mod_main.c
+++ b/src/modules/music-control/e_mod_main.c
@@ -33,21 +33,21 @@ _desklock_cb(void *data, int type, void *ev)
{
media_player2_player_play_pause_call(ctxt->mpris2_player);
was_playing_before_lock = EINA_TRUE;
- return ECORE_CALLBACK_DONE;
+ return ECORE_CALLBACK_PASS_ON;
}
/* Lock without music. Keep music off as state */
if (event->on && (!ctxt->playing))
{
was_playing_before_lock = EINA_FALSE;
- return ECORE_CALLBACK_DONE;
+ return ECORE_CALLBACK_PASS_ON;
}
/* Unlock with music pause and playing before lock. Turn it back on */
if ((!event->on) && (!ctxt->playing) && was_playing_before_lock)
media_player2_player_play_pause_call(ctxt->mpris2_player);
- return ECORE_CALLBACK_DONE;
+ return ECORE_CALLBACK_PASS_ON;
}
static void
--
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev