[evolution-kolab] EPlugin: remodev "None" permission option from IMAP ACL edit dialog



commit d874de1508712aaceabd6504b762892e923b1fa9
Author: Christian Hilberg <hilberg kernelconcepts de>
Date:   Mon Jun 4 21:13:42 2012 +0200

    EPlugin: remodev "None" permission option from IMAP ACL edit dialog
    
    * instead of keeping an ACL with no access rights
      in the list, we just remove it
    * the "None" permission option is thus not needed

 src/eplugin/e-kolab-folder-permissions.c |   11 +----------
 src/eplugin/e-kolab-folder-permissions.h |    1 -
 2 files changed, 1 insertions(+), 11 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-permissions.c b/src/eplugin/e-kolab-folder-permissions.c
index 7dda95f..e222902 100644
--- a/src/eplugin/e-kolab-folder-permissions.c
+++ b/src/eplugin/e-kolab-folder-permissions.c
@@ -99,7 +99,7 @@ kolab_folder_permissions_ui_edit_dialog_cb (KolabFolderPermUIData *uidata)
 	widget = gtk_separator_new (GTK_ORIENTATION_HORIZONTAL);
 	gtk_widget_set_margin_bottom (widget, 4);
 	gtk_container_add (GTK_CONTAINER (content), widget);
-	
+
 	hbox = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
 	label = gtk_label_new (C_("Kolab Folder Permissions", "User ID:"));
 	gtk_box_pack_start (GTK_BOX (hbox), label, FALSE, FALSE, 0);
@@ -127,15 +127,6 @@ kolab_folder_permissions_ui_edit_dialog_cb (KolabFolderPermUIData *uidata)
 
 	row = 0;
 
-	widget = gtk_radio_button_new_with_label (NULL,
-	                                          C_("Kolab Folder Permissions",
-	                                             "None"));
-	uidata->widgets->radio_btn_perm_none = widget;
-	uidata->widgets->radio_group = gtk_radio_button_get_group (GTK_RADIO_BUTTON (widget));
-	gtk_grid_attach (GTK_GRID (grid), widget, 0, row, 1, 1);
-
-	row++;
-
 	widget = gtk_radio_button_new_with_label (uidata->widgets->radio_group,
 	                                          C_("Kolab Folder Permissions",
 	                                             "Read"));
diff --git a/src/eplugin/e-kolab-folder-permissions.h b/src/eplugin/e-kolab-folder-permissions.h
index dd0bdec..aa26b17 100644
--- a/src/eplugin/e-kolab-folder-permissions.h
+++ b/src/eplugin/e-kolab-folder-permissions.h
@@ -55,7 +55,6 @@ struct _KolabFolderPermUIWidgets {
 	GtkWidget *edit_entry_box;
 	GtkWidget *edit_btn_retrieve;
 	GSList *radio_group;
-	GtkWidget *radio_btn_perm_none;
 	GtkWidget *radio_btn_perm_read;
 	GtkWidget *radio_btn_perm_append;
 	GtkWidget *radio_btn_perm_write;



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