mirror of
https://gitlab.gnome.org/GNOME/calls.git
synced 2024-12-13 16:07:36 +00:00
new-call-box: Decide if numeric input is needed based on the origins protocol
The numeric addresses property conveys no additional information. By changing the logic here we can get rid of the "numeric-addresses" property alltogether.
This commit is contained in:
parent
79ebe6d985
commit
6d031e2ab6
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ notify_selected_index_cb (CallsNewCallBox *self)
|
|||
gboolean numeric_input = TRUE;
|
||||
|
||||
if (origin)
|
||||
g_object_get (origin, "numeric-addresses", &numeric_input, NULL);
|
||||
numeric_input = calls_origin_supports_protocol (origin, "tel");
|
||||
|
||||
set_numeric (self, numeric_input);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue