summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2008-10-21 17:47:58 +0300
committerJohan Hedberg <johan.hedberg@nokia.com>2008-12-08 16:10:56 +0200
commit3fcf09c09605c1a541cf0770dc005bd8df4e45f8 (patch)
tree1286fae4da2484ace625c8b679c89af0bb7f94bb /audio
parentb5e8e0bf6f25900a7f1c2eb702a422e7e59ae09e (diff)
Also remember to stop ringing when the callsetup gets canceled
Diffstat (limited to 'audio')
-rw-r--r--audio/telephony-maemo.c6
1 files changed, 4 insertions, 2 deletions
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);