projects
/
claws.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d630c
)
Include patch addr completion patch from Gustavo Noronha.
author
Match Grun
<match@dimensional.com>
Tue, 11 Jun 2002 05:37:28 +0000
(
05:37
+0000)
committer
Match Grun
<match@dimensional.com>
Tue, 11 Jun 2002 05:37:28 +0000
(
05:37
+0000)
src/addressbook.c
patch
|
blob
|
history
diff --git
a/src/addressbook.c
b/src/addressbook.c
index 3beba73287bc0db6fbd069021f8a5e619b8b499d..7dd057fcbd7250814ca46ab1d22e6f884975e3ab 100644
(file)
--- a/
src/addressbook.c
+++ b/
src/addressbook.c
@@
-1053,6
+1053,16
@@
static void addressbook_to_clicked(GtkButton *button, gpointer data)
compose = addrbook.target_compose;
if( ! compose ) return;
+ /* Nothing selected, but maybe there is something in text entry */
+ if ( list == NULL ) {
+ addr = gtk_entry_get_text( GTK_ENTRY( addrbook.entry) );
+ if ( addr ) {
+ compose_entry_append(
+ compose, addr, (ComposeEntryType)data );
+ }
+ }
+
+ /* Select from address list */
list = addrselect_get_list( _addressSelect_ );
node = list;
while( node ) {