mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-12 15:47:35 +00:00
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
This commit is contained in:
parent
0bc8c7bc4e
commit
803cec41a5
1 changed files with 2 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue