[evolution-kolab/ek-wip-acl: 25/28] EPlugin: set "Retrieve" button in ACL editor inactive
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-acl: 25/28] EPlugin: set "Retrieve" button in ACL editor inactive
- Date: Mon, 8 Oct 2012 15:13:28 +0000 (UTC)
commit 737d2f3ea654c4ec04a3a40ca3cfa37853237b3a
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Mon Oct 8 15:49:06 2012 +0200
EPlugin: set "Retrieve" button in ACL editor inactive
* when the add/edit dialog opens, we will have the existing
access_id list read in already, so we can deactivate the
"Retrieve" button for now (could be used for an in-place
re-query later on or simply removed)
src/eplugin/e-kolab-folder-permissions.c | 8 ++++++++
1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-permissions.c b/src/eplugin/e-kolab-folder-permissions.c
index d114551..ca1ad8b 100644
--- a/src/eplugin/e-kolab-folder-permissions.c
+++ b/src/eplugin/e-kolab-folder-permissions.c
@@ -173,6 +173,14 @@ kolab_folder_permissions_ui_edit_dialog_cb (KolabFolderPermUIData *uidata)
gtk_misc_set_alignment (GTK_MISC (widget), 0.0, 0.5);
gtk_grid_attach (GTK_GRID (grid), widget, 1, row, 1, 1);
+ /* when the add/edit dialog opens, we will have the existing
+ * access_id list read in already, so we can deactivate the
+ * "Retrieve" button for now (could be used for an in-place
+ * re-query later on or simply removed)
+ */
+ gtk_widget_set_sensitive (uidata->widgets->edit_btn_retrieve,
+ FALSE);
+
/* FIXME connect signals */
g_warning ("%s: FIXME connect signals", __func__);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]