From 3fcf09c09605c1a541cf0770dc005bd8df4e45f8 Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Tue, 21 Oct 2008 17:47:58 +0300 Subject: Also remember to stop ringing when the callsetup gets canceled --- audio/telephony-maemo.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'audio/telephony-maemo.c') diff --git a/audio/telephony-maemo.c b/audio/telephony-maemo.c index 692b84e7..0014cf11 100644 --- a/audio/telephony-maemo.c +++ b/audio/telephony-maemo.c @@ -544,11 +544,13 @@ static void handle_call_status(DBusMessage *msg, const char *call_path) switch (status) { case CSD_CALL_STATUS_IDLE: - if (call->setup) + if (call->setup) { telephony_update_indicator(maemo_indicators, "callsetup", EV_CALLSETUP_INACTIVE); - else + if (!call->originating) + telephony_calling_stopped_ind(); + } else telephony_update_indicator(maemo_indicators, "call", EV_CALL_INACTIVE); -- cgit