diff options
Diffstat (limited to 'src/addressbook.c')
-rw-r--r-- | src/addressbook.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/addressbook.c b/src/addressbook.c index 6012bdb1..a8c500ac 100644 --- a/src/addressbook.c +++ b/src/addressbook.c @@ -1094,6 +1094,7 @@ static void addressbook_tree_selected(GtkCTree *ctree, GtkCTreeNode *node, AddressDataSource *ds = NULL; ItemFolder *rootFolder = NULL; + if( addrbook.treeSelected == node ) return; addrbook.treeSelected = node; addrbook.listSelected = NULL; addressbook_status_show( "" ); @@ -1247,7 +1248,7 @@ static void addressbook_list_row_selected( GtkCTree *clist, GtkCTreeNode *node, addrbook.listSelected = node; obj = gtk_ctree_node_get_row_data( clist, node ); if( obj != NULL ) { - /* printf( "list select: %d : '%s'\n", obj->type, obj->name ); */ + /* g_print( "list select: %d : '%s'\n", obj->type, obj->name ); */ addressbook_list_select_add( obj ); } @@ -1401,7 +1402,7 @@ static gboolean addressbook_tree_button_pressed(GtkWidget *ctree, event->button, event->time); } - return FALSE; + return TRUE; } static gboolean addressbook_tree_button_released(GtkWidget *ctree, |