[evolution-ews/gnome-3-22] Bug 773379 - Cannot add more than one user into folder permissions



commit 3acbd7276615f5cacc19ce661ce2b51b5a442d55
Author: Milan Crha <mcrha redhat com>
Date:   Mon Oct 24 22:36:59 2016 +0200

    Bug 773379 - Cannot add more than one user into folder permissions

 src/configuration/e-ews-edit-folder-permissions.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/configuration/e-ews-edit-folder-permissions.c 
b/src/configuration/e-ews-edit-folder-permissions.c
index 110582b..8ae8a25 100644
--- a/src/configuration/e-ews-edit-folder-permissions.c
+++ b/src/configuration/e-ews-edit-folder-permissions.c
@@ -580,7 +580,7 @@ add_button_clicked_cb (GObject *dialog)
                                        COL_E_EWS_PERMISSION_USER_TYPE, &ut,
                                        -1);
 
-                               if (ut == E_EWS_PERMISSION_USER_TYPE_REGULAR && perm && g_strcmp0 
(perm->primary_smtp, primary_smtp)) {
+                               if (ut == E_EWS_PERMISSION_USER_TYPE_REGULAR && perm && g_strcmp0 
(perm->primary_smtp, primary_smtp) == 0) {
                                        gtk_tree_selection_select_iter (selection, &iter);
                                        found = TRUE;
                                        break;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]