From 942947f4eddaad40216a91bb5865ef44cdf6be16 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 21 Oct 2008 17:12:10 +0300 Subject: Fix callsetup and call indicators upon CALL_STATUS_ACTIVE --- audio/telephony-maemo.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'audio/telephony-maemo.c') diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 813fd770..6f67a04b 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -577,14 +577,13 @@ static void handle_call_status(DBusMessage *msg, const char *call_path) case CSD_CALL_STATUS_ACTIVE: if (call->on_hold) call->on_hold = FALSE; - else + else { telephony_update_indicator(maemo_indicators, "call", EV_CALL_ACTIVE); - if (status == CSD_CALL_STATUS_MT_ALERTING || - status == CSD_CALL_STATUS_ANSWERED) telephony_update_indicator(maemo_indicators, "callsetup", EV_CALLSETUP_INACTIVE); + } break; case CSD_CALL_STATUS_MO_RELEASE: break; -- cgit