[evolution-kolab] EPlugin: activate dialog stock "OK" if ACL removed



commit 87a5012eb3f21099288476240b6575a814fd6961
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Tue Oct 16 15:43:44 2012 +0200

    EPlugin: activate dialog stock "OK" if ACL removed
    
    * activate the "OK" button of the "Kolab Folder
      Properties..." dialog when an entry is removed
      from a folder's ACL

 src/eplugin/e-kolab-folder-permissions.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-permissions.c b/src/eplugin/e-kolab-folder-permissions.c
index 02e933e..7576221 100644
--- a/src/eplugin/e-kolab-folder-permissions.c
+++ b/src/eplugin/e-kolab-folder-permissions.c
@@ -786,7 +786,10 @@ kolab_folder_permissions_ui_acl_remove_cb (KolabFolderPermUIData *uidata)
 	/* update treeview */
 	kolab_folder_permissions_ui_update_treeview (uidata);
 	uidata->changed = TRUE;
-
+	e_kolab_plugin_util_ui_dialog_set_button_sensitive (uidata->dialog,
+	                                                    GTK_STOCK_OK,
+	                                                    TRUE,
+	                                                    TRUE);
  exit:
 
 	if (tmp_err != NULL) {



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