Commit 803cec41 authored by Guido Gunther's avatar Guido Gunther

calls-call-record-row: Set call back button insensitive for anonymous caller

They can't be called back, we don't have a number

See: #144
parent 0bc8c7bc
......@@ -351,10 +351,12 @@ contact_name_cb (CallsCallRecordRow *self)
if (!g_strcmp0 (target, ""))
{
gtk_label_set_text (self->target, ANONYMOUS_CALLER);
gtk_actionable_set_action_name (GTK_ACTIONABLE (self->button), NULL);
}
else
{
gtk_label_set_text (self->target, target);
gtk_actionable_set_action_name (GTK_ACTIONABLE (self->button), "app.dial");
}
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment