+2004-03-21 [darko] 0.9.10claws25
+
+ * src/addr_compl.c
+ select the address when only one match is found while
+ doing address completion with tab key (feature
+ request #914720)
+
2004-03-21 [alfons] 0.9.10claws24
* src/messageview.c
g_free( new );
}
+ /* Select the address if there is only one match */
+ if (ncount == 2) {
+ /* Display selected address in entry field */
+ gchar *addr = get_complete_address(1);
+
+ if (addr) {
+ replace_address_in_edit(entry, addr, 0);
+ g_free(addr);
+ }
+
+ /* Discard the window */
+ clear_completion_cache();
+ }
/* Make sure that drop-down appears uniform! */
- if( ncount == 0 ) {
+ else if( ncount == 0 ) {
addrcompl_add_queue( g_strdup( searchTerm ) );
}
g_free( searchTerm );