diff options
-rw-r--r-- | plugins/exchange-operations/ChangeLog | 11 | ||||
-rw-r--r-- | plugins/exchange-operations/Makefile.am | 13 | ||||
-rw-r--r-- | plugins/exchange-operations/exchange-folder-permission.c | 8 | ||||
-rw-r--r-- | plugins/exchange-operations/org-gnome-exchange-operations.eplug.in | 16 |
4 files changed, 41 insertions, 7 deletions
diff --git a/plugins/exchange-operations/ChangeLog b/plugins/exchange-operations/ChangeLog index 1108d035a7..3ff61f47fb 100644 --- a/plugins/exchange-operations/ChangeLog +++ b/plugins/exchange-operations/ChangeLog @@ -1,5 +1,16 @@ 2005-07-08 Shakti Sen <shprasad@novell.com> + * Makefile.am: Included files exchange-permissions-dialog.c, + exchange-permissions-dialog.h, exchange-folder-permission.c, + org-gnome-folder-permissions.xml & exchange-permissions-dialog.glade + * exchange-folder-permission.c: Renamed the function name + org_gnome_menu_folder_permissions to + org_gnome_exchnage_menu_folder_permissions + * org-gnome-exchange-operations.eplug.in: Added the hook class for + Folder Permissions. + +2005-07-08 Shakti Sen <shprasad@novell.com> + * exchange-folder-permission.c: Added new file for Folder Permissions. * exchange-permissions-dialog.c: Added new file for Folder Permissions. * exchange-permissions-dialog.h: Added new file for Folder Permissions. diff --git a/plugins/exchange-operations/Makefile.am b/plugins/exchange-operations/Makefile.am index 260f44a304..62224c70fc 100644 --- a/plugins/exchange-operations/Makefile.am +++ b/plugins/exchange-operations/Makefile.am @@ -10,7 +10,9 @@ INCLUDES = -I . \ @EVO_PLUGIN_RULE@ -plugin_DATA = org-gnome-exchange-operations.eplug +plugin_DATA = org-gnome-exchange-operations.eplug \ + org-gnome-folder-permissions.xml + plugin_LTLIBRARIES = liborg-gnome-exchange-operations.la liborg_gnome_exchange_operations_la_SOURCES = \ @@ -24,7 +26,10 @@ liborg_gnome_exchange_operations_la_SOURCES = \ exchange-change-password.h \ exchange-folder-size-display.c \ exchange-folder-size-display.h \ - exchange-account-setup.c + exchange-account-setup.c \ + exchange-permissions-dialog.c \ + exchange-permissions-dialog.h \ + exchange-folder-permission.c liborg_gnome_exchange_operations_la_LIBADD = \ $(top_builddir)/e-util/libeutil.la \ @@ -37,9 +42,11 @@ liborg_gnome_exchange_operations_la_LDFLAGS = -module -avoid-version glade_DATA = \ exchange-change-password.glade \ exchange-delegates.glade \ - exchange-folder-tree.glade + exchange-folder-tree.glade \ + exchange-permissions-dialog.glade EXTRA_DIST = \ org-gnome-exchange-operations.eplug.in \ + org-gnome-folder-permissions.xml \ $(glade_DATA) diff --git a/plugins/exchange-operations/exchange-folder-permission.c b/plugins/exchange-operations/exchange-folder-permission.c index 271da02b63..61a47785a3 100644 --- a/plugins/exchange-operations/exchange-folder-permission.c +++ b/plugins/exchange-operations/exchange-folder-permission.c @@ -36,8 +36,8 @@ #include <mail/em-menu.h> static void org_folder_permissions_cb (EPopup *ep, EPopupItem *p, void *data); -void org_gnome_folder_permissions (EPlugin *ep, EMPopupTargetFolder *t); -void org_gnome_menu_folder_permissions (EPlugin *ep, EMMenuTargetSelect *target); +void org_gnome_exchange_folder_permissions (EPlugin *ep, EMPopupTargetFolder *t); +void org_gnome_exchange_menu_folder_permissions (EPlugin *ep, EMMenuTargetSelect *target); gchar *selected_exchange_folder_uri = NULL; @@ -52,7 +52,7 @@ popup_free (EPopup *ep, GSList *items, void *data) } void -org_gnome_folder_permissions (EPlugin *ep, EMPopupTargetFolder *t) +org_gnome_exchange_folder_permissions (EPlugin *ep, EMPopupTargetFolder *t) { GSList *menus = NULL; int i = 0; @@ -110,7 +110,7 @@ org_folder_permissions_cb (EPopup *ep, EPopupItem *p, void *data) } void -org_gnome_menu_folder_permissions (EPlugin *ep, EMMenuTargetSelect *target) +org_gnome_exchange_menu_folder_permissions (EPlugin *ep, EMMenuTargetSelect *target) { GSList *accounts, *acc; ExchangeAccount *account = NULL; diff --git a/plugins/exchange-operations/org-gnome-exchange-operations.eplug.in b/plugins/exchange-operations/org-gnome-exchange-operations.eplug.in index b7cee95bcb..591a453728 100644 --- a/plugins/exchange-operations/org-gnome-exchange-operations.eplug.in +++ b/plugins/exchange-operations/org-gnome-exchange-operations.eplug.in @@ -8,6 +8,7 @@ name="Exchange Operations"> <author name="Sushma Rai" email="rsushma@novell.com"/> <author name="Praveen Kumar" email="kpraveen@novell.com"/> + <author name="Shakti Sen" email="shprasad@novell.com"/> <description>A plugin that handles a collection of Exchange account specific operations and features.</description> <hook class="org.gnome.evolution.mail.config:1.0"> @@ -70,6 +71,21 @@ factory="e_exchange_contacts_pcontacts"/> </group> </hook> + <hook class="org.gnome.evolution.mail.popup:1.0"> + <menu id="org.gnome.evolution.mail.foldertree.popup" target="folder" factory = "org_gnome_exchange_folder_permissions"> + </menu> + </hook> + <hook class="org.gnome.evolution.mail.bonobomenu:1.0"> + <menu id="org.gnome.evolution.mail.browser" target="select"> + <ui file="@PLUGINDIR@/org-gnome-folder-permissions.xml"/> + <item + type="item" + verb="CheckFolderPermission" + path="/commands/CheckFolderPermission" + enable="all" + activate="org_gnome_exchange_menu_folder_permissions"/> + </menu> + </hook> </e-plugin> </e-plugin-list> |