talons

Fork of Claws Mail https://www.claws-mail
Log | Files | Refs | README | LICENSE

commit 1da06231697b58750eb5549bb6844d20f9fade08
parent c3345bcdef2c9b903260e806573b622f209ed5b6
Author: Andrej Kacian <ticho@claws-mail.org>
Date:   Sun, 10 Apr 2016 00:57:15 +0200

Make double-click open edit dialog also for addressbook datasources.

For example, LDAP servers.

Diffstat:
Msrc/addressbook.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/addressbook.c b/src/addressbook.c @@ -2504,7 +2504,8 @@ static gboolean addressbook_tree_button_pressed(GtkWidget *ctree, if( obj == NULL ) return FALSE; - if (obj->type == ADDR_ITEM_GROUP) { + if (obj->type == ADDR_ITEM_GROUP || + obj->type == ADDR_DATASOURCE) { /* edit group */ addressbook_treenode_edit_cb(NULL, NULL); } else {