From 2a179294d79f4d05a23ce935fc8cfd9d0b5accc9 Mon Sep 17 00:00:00 2001 From: Wolfgang Sourdeau Date: Wed, 1 Nov 2006 20:36:20 +0000 Subject: [PATCH] Monotone-Parent: 89f06969439427f2d6456a59082ce9b2c88ee0cc Monotone-Revision: 59a124046afcb9738314976b76e1a3a8da551f0a Monotone-Author: wsourdeau@inverse.ca Monotone-Date: 2006-11-01T20:36:20 Monotone-Branch: ca.inverse.sogo --- ChangeLog | 3 ++ UI/Contacts/GNUmakefile | 1 + .../UIxContactsAddressBooksSelection.m | 30 +++++++++++++++++++ UI/Contacts/product.plist | 20 +++++++++++++ .../UIxContactsAddressBooksSelection.wox | 16 ++++++++++ 5 files changed, 70 insertions(+) create mode 100644 UI/Contacts/UIxContactsAddressBooksSelection.m create mode 100644 UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox diff --git a/ChangeLog b/ChangeLog index f6f5c6b05..16d9c9b6f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2006-11-01 Wolfgang Sourdeau + * UI/Contacts/UIxContactsAddressBooksSelection.m: new component + module for the address book selector. + * UI/Templates/ContactsUI/UIxContactsListViewContainer.wox: added a toolbar with two buttons ("add" and "remove") to manage the additional addressbooks a user might subscribe to. diff --git a/UI/Contacts/GNUmakefile b/UI/Contacts/GNUmakefile index f5bfb0420..6f03ae993 100644 --- a/UI/Contacts/GNUmakefile +++ b/UI/Contacts/GNUmakefile @@ -11,6 +11,7 @@ ContactsUI_LANGUAGES = English French ContactsUI_OBJC_FILES = \ UIxContactsMailerSelection.m \ UIxContactsCalendarsSelection.m \ + UIxContactsAddressBooksSelection.m \ \ ContactsUIProduct.m \ UIxContactsFilterPanel.m \ diff --git a/UI/Contacts/UIxContactsAddressBooksSelection.m b/UI/Contacts/UIxContactsAddressBooksSelection.m new file mode 100644 index 000000000..53232a1bd --- /dev/null +++ b/UI/Contacts/UIxContactsAddressBooksSelection.m @@ -0,0 +1,30 @@ +/* + Copyright (C) 2004-2005 SKYRIX Software AG + + This file is part of OpenGroupware.org. + + OGo is free software; you can redistribute it and/or modify it under + the terms of the GNU Lesser General Public License as published by the + Free Software Foundation; either version 2, or (at your option) any + later version. + + OGo is distributed in the hope that it will be useful, but WITHOUT ANY + WARRANTY; without even the implied warranty of MERCHANTABILITY or + FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public + License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with OGo; see the file COPYING. If not, write to the + Free Software Foundation, 59 Temple Place - Suite 330, Boston, MA + 02111-1307, USA. +*/ + +#import + +@interface UIxContactsAddressBooksSelection : UIxComponent + +@end + +@implementation UIxContactsAddressBooksSelection + +@end /* UIxContactsAddressBooksSelection */ diff --git a/UI/Contacts/product.plist b/UI/Contacts/product.plist index df7cba544..0a4bbe2ad 100644 --- a/UI/Contacts/product.plist +++ b/UI/Contacts/product.plist @@ -34,11 +34,21 @@ pageName = "UIxContactFoldersView"; actionName = "selectForCalendars"; }; + addressbooks-contacts = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "selectForAddressBooks"; + }; contactSearch = { protectedBy = "View"; pageName = "UIxContactFoldersView"; actionName = "contactSearch"; }; + updateAdditionalAddressBooks = { + protectedBy = "View"; + pageName = "UIxContactFoldersView"; + actionName = "updateAdditionalAddressBooks"; + }; }; }; @@ -69,6 +79,11 @@ pageName = "UIxContactsListView"; actionName = "calendarsContacts"; }; + addressbooks-contacts = { + protectedBy = "View"; + pageName = "UIxContactsListView"; + actionName = "addressBooksContacts"; + }; }; }; @@ -104,6 +119,11 @@ pageName = "UIxContactsListView"; actionName = "calendarsContacts"; }; + addressbooks-contacts = { + protectedBy = "View"; + pageName = "UIxContactsListView"; + actionName = "addressBooksContacts"; + }; }; }; diff --git a/UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox b/UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox new file mode 100644 index 000000000..daf472d70 --- /dev/null +++ b/UI/Templates/ContactsUI/UIxContactsAddressBooksSelection.wox @@ -0,0 +1,16 @@ + +
+ +