[Commits] [SCM] claws branch, master, updated. 3.13.2-119-g1da0623

ticho at claws-mail.org ticho at claws-mail.org
Sun Apr 10 00:59:06 CEST 2016


The branch, master has been updated
       via  1da06231697b58750eb5549bb6844d20f9fade08 (commit)
      from  c3345bcdef2c9b903260e806573b622f209ed5b6 (commit)

Summary of changes:
 src/addressbook.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)


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

    Make double-click open edit dialog also for addressbook datasources.
    
    For example, LDAP servers.

diff --git a/src/addressbook.c b/src/addressbook.c
index 0304c1f..80599f8 100644
--- 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 {

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list