[Shr-Devel] [PATCH 1/2] skip the "tel:" prefix when sending sms from contacts
Michael Kurz
betheg at bitcloner.org
Sun Oct 11 18:53:53 CEST 2009
---
src/view/contact-list-view.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/view/contact-list-view.c b/src/view/contact-list-view.c
index f08cb0e..7ed2195 100644
--- a/src/view/contact-list-view.c
+++ b/src/view/contact-list-view.c
@@ -214,8 +214,8 @@ frame_list_message_clicked(void *_data, Evas_Object * obj, void *event_info)
return;
}
GHashTable *options = g_hash_table_new(g_str_hash, g_str_equal);
- g_hash_table_insert(options, "number",
- g_value_get_string(tmp));
+ g_hash_table_insert(options, "number",
+ common_utils_skip_prefix(g_value_get_string(tmp), "tel:"));
tmp = g_hash_table_lookup(properties, "Name");
if (tmp) {
--
1.6.4.3
More information about the Shr-devel
mailing list