[evolution-kolab/ek-wip-acl] EPlugin: pass the folder context GtkDialog on to metadata / permissions code
- From: Christian Hilberg <chilberg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-kolab/ek-wip-acl] EPlugin: pass the folder context GtkDialog on to metadata / permissions code
- Date: Tue, 25 Sep 2012 16:48:24 +0000 (UTC)
commit 07b44e8aa00b6e870b266baf5092a9c30b56e543
Author: Christian Hilberg <hilberg kernelconcepts de>
Date: Tue Sep 25 18:41:16 2012 +0200
EPlugin: pass the folder context GtkDialog on to metadata / permissions code
* pass a pointer to the "Kolab Folder Properties..." GtkDialog
on to the metadata code and the permissions (ACL) code
* needed to set sensitive the OK button once a change is made
inside the notebook tabs
src/eplugin/e-kolab-folder-metadata.h | 1 +
src/eplugin/e-kolab-folder-permissions.h | 1 +
src/eplugin/e-kolab-plugin-ui.c | 2 ++
3 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/eplugin/e-kolab-folder-metadata.h b/src/eplugin/e-kolab-folder-metadata.h
index 1dfa179..80c5b93 100644
--- a/src/eplugin/e-kolab-folder-metadata.h
+++ b/src/eplugin/e-kolab-folder-metadata.h
@@ -64,6 +64,7 @@ typedef struct _KolabFolderMetaUIData KolabFolderMetaUIData;
struct _KolabFolderMetaUIData {
EShellView *shell_view;
EAlertBar *alert_bar;
+ GtkDialog *dialog;
KolabFolderMetaUIWidgets *widgets;
KolabDataFolderMetadata *metadata;
gchar *foldername;
diff --git a/src/eplugin/e-kolab-folder-permissions.h b/src/eplugin/e-kolab-folder-permissions.h
index f6f1512..1939e88 100644
--- a/src/eplugin/e-kolab-folder-permissions.h
+++ b/src/eplugin/e-kolab-folder-permissions.h
@@ -70,6 +70,7 @@ typedef struct _KolabFolderPermUIData KolabFolderPermUIData;
struct _KolabFolderPermUIData {
EShellView *shell_view;
EAlertBar *alert_bar;
+ GtkDialog *dialog;
KolabFolderPermUIWidgets *widgets;
KolabDataFolderPermissions *permissions;
gchar *foldername;
diff --git a/src/eplugin/e-kolab-plugin-ui.c b/src/eplugin/e-kolab-plugin-ui.c
index cdc0dcd..7e1f130 100644
--- a/src/eplugin/e-kolab-plugin-ui.c
+++ b/src/eplugin/e-kolab-plugin-ui.c
@@ -260,12 +260,14 @@ kolab_folder_prop_ui_dialog_data_new (EShellView *shell_view)
uidata->meta_ui_data = e_kolab_folder_metadata_ui_new ();
uidata->meta_ui_data->shell_view = shell_view;
uidata->meta_ui_data->alert_bar = E_ALERT_BAR (uidata->widgets->alert_bar);
+ uidata->meta_ui_data->dialog = GTK_DIALOG (uidata->widgets->dialog);
uidata->meta_ui_data->foldername = g_strdup (foldername);
uidata->meta_ui_data->sourcename = g_strdup (sourcename);
uidata->perm_ui_data = e_kolab_folder_permissions_ui_new ();
uidata->perm_ui_data->shell_view = shell_view;
uidata->perm_ui_data->alert_bar = E_ALERT_BAR (uidata->widgets->alert_bar);
+ uidata->perm_ui_data->dialog = GTK_DIALOG (uidata->widgets->dialog);
uidata->perm_ui_data->foldername = g_strdup (foldername);
uidata->perm_ui_data->sourcename = g_strdup (sourcename);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]