Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alefnode:branches:devel:ARM:Factory:Contrib:PinePhone
gnome-contacts
0002-Contact-Sheet-use-normalized-phone-number-...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0002-Contact-Sheet-use-normalized-phone-number-for-tel-and-sms-.patch of Package gnome-contacts
From: Julian Sparber <julian@sparber.net> Date: Mon, 4 Nov 2019 11:34:19 +0100 Subject: [PATCH] Contact-Sheet: use normalized phone number for tel: and sms: Fixes: https://source.puri.sm/Librem5/gnome-contacts/issues/33 --- src/contacts-contact-sheet.vala | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/contacts-contact-sheet.vala b/src/contacts-contact-sheet.vala index c9b6180..c33fa04 100644 --- a/src/contacts-contact-sheet.vala +++ b/src/contacts-contact-sheet.vala @@ -297,7 +297,7 @@ public class Contacts.ContactSheet : Gtk.Grid { var button = row.add_button ("call-start-symbolic"); button.tooltip_text = _("Start a call"); button.clicked.connect (() => { - Utils.start_call (phone.value, this.store.caller_account); + Utils.start_call (phone.get_normalised (), this.store.caller_account); }); } #else @@ -306,14 +306,14 @@ public class Contacts.ContactSheet : Gtk.Grid { var call_button = row.add_button ("call-start-symbolic"); call_button.tooltip_text = _("Start a call"); call_button.clicked.connect (() => { - Utils.start_call (phone.value); + Utils.start_call (phone.get_normalised ()); }); } if (AppInfo.get_all_for_type ("x-scheme-handler/sms").length () > 0) { var sms_button = row.add_button ("mail-unread-symbolic"); sms_button.tooltip_text = _("Send a message"); sms_button.clicked.connect (() => { - Utils.send_sms (phone.value); + Utils.send_sms (phone.get_normalised ()); }); } #endif
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor