From 52df90026f24374924516e7a02588b57a573f594 Mon Sep 17 00:00:00 2001 From: Vivek Jain Date: Tue, 24 May 2005 05:12:20 +0000 Subject: removed "Item" tag entries, included a factory method 2005-05-24 Vivek Jain * org-gnome-groupwise-features.eplug.xml: removed "Item" tag entries, included a factory method * shared-folder-common.c: changed callback (org_gnome_create_option) to a factory method, check uri before adding the option to the menu. New folder dialog now comes in another callback (create_shared_folder) also added a function to free the item list. svn path=/trunk/; revision=29404 --- plugins/groupwise-features/ChangeLog | 12 ++++++- .../org-gnome-groupwise-features.eplug.xml | 10 ++---- plugins/groupwise-features/share-folder-common.c | 39 +++++++++++++++++++++- 3 files changed, 51 insertions(+), 10 deletions(-) diff --git a/plugins/groupwise-features/ChangeLog b/plugins/groupwise-features/ChangeLog index b0273e2871..e3bc30d0c6 100644 --- a/plugins/groupwise-features/ChangeLog +++ b/plugins/groupwise-features/ChangeLog @@ -1,4 +1,14 @@ -23-05-2005 Vivek Jain +2005-05-24 Vivek Jain + + * org-gnome-groupwise-features.eplug.xml: + removed "Item" tag entries, included a factory method + + * shared-folder-common.c: changed callback (org_gnome_create_option) + to a factory method, check uri before adding the option to the menu. + New folder dialog now comes in another callback (create_shared_folder) + also added a function to free the item list. + +2005-05-23 Vivek Jain Created a plugin "groupwise-features" which is a consolidation of following existing plugins diff --git a/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml b/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml index 504fa39a36..18b4ea35ce 100644 --- a/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml +++ b/plugins/groupwise-features/org-gnome-groupwise-features.eplug.xml @@ -6,7 +6,7 @@ - <_description>A consolidated plugin for the features in Groupwise accounts. + <_description>A plugin for the features in Groupwise accounts. - - + uri, "groupwise://")) + return ; + + /* for translation*/ + if (first) { + popup_items[0].label = _(popup_items[0].label); + + } + + first++; + + for (i = 0; i < sizeof (popup_items) / sizeof (popup_items[0]); i++) + menus = g_slist_prepend (menus, &popup_items[i]); + + e_popup_add_items (t->target.popup, menus, NULL, popup_free, NULL); + +} + +static void +create_shared_folder(EPopup *ep, EPopupItem *p, void *data) { EMFolderTreeModel *model; -- cgit