From 803cec41a5b6f82c21392912449f6f7bd17aef96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Guido=20G=C3=BCnther?= Date: Sat, 27 Jun 2020 13:08:51 +0200 Subject: [PATCH] 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 --- src/calls-call-record-row.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/calls-call-record-row.c b/src/calls-call-record-row.c index 7ff9337..ee43b54 100644 --- a/src/calls-call-record-row.c +++ b/src/calls-call-record-row.c @@ -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"); } } }