projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2020def
)
Automatic add to contacts not working if "Check names" is performed
author
Sergio Villar Senín
<svillar@igalia.com>
Fri, 18 Dec 2009 14:52:07 +0000
(15:52 +0100)
committer
Sergio Villar Senín
<svillar@igalia.com>
Fri, 18 Dec 2009 14:52:07 +0000
(15:52 +0100)
Fixes NB#151298
src/hildon2/modest-address-book.c
patch
|
blob
|
history
diff --git
a/src/hildon2/modest-address-book.c
b/src/hildon2/modest-address-book.c
index
9ec4b66
..
cf4b6aa
100644
(file)
--- a/
src/hildon2/modest-address-book.c
+++ b/
src/hildon2/modest-address-book.c
@@
-759,7
+759,6
@@
modest_address_book_check_names (ModestRecptEditor *recpt_editor,
gchar *start_ptr, *end_ptr;
gint start_pos, end_pos;
const gchar *invalid_char_position = NULL;
gchar *start_ptr, *end_ptr;
gint start_pos, end_pos;
const gchar *invalid_char_position = NULL;
- gboolean store_address = FALSE;
start_pos = (*((gint*) current_start->data)) + offset_delta;
end_pos = (*((gint*) current_end->data)) + offset_delta;
start_pos = (*((gint*) current_start->data)) + offset_delta;
end_pos = (*((gint*) current_end->data)) + offset_delta;
@@
-857,14
+856,13
@@
modest_address_book_check_names (ModestRecptEditor *recpt_editor,
addr_list,
"");
g_slist_free (addr_list);
addr_list,
"");
g_slist_free (addr_list);
- store_address = TRUE;
}
}
/* so, it seems a valid address */
/* note: adding it the to the addressbook if it did not exist yet,
* and adding it to the recent_list */
}
}
/* so, it seems a valid address */
/* note: adding it the to the addressbook if it did not exist yet,
* and adding it to the recent_list */
- if (result && address_list && store_address)
+ if (result && address_list)
*address_list = g_slist_prepend (*address_list, address);
else
g_free (address);
*address_list = g_slist_prepend (*address_list, address);
else
g_free (address);