From 7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6 Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 29 Aug 2002 21:15:47 +0000 Subject: call evolution_shell_component_add_user_creatable_item twice here, once 2002-08-29 Chris Toshok * gui/component/addressbook-component.c (add_creatable_item): call evolution_shell_component_add_user_creatable_item twice here, once for the "contacts" folder type, and once for "ldap-contacts". svn path=/trunk/; revision=17929 --- addressbook/ChangeLog | 6 ++++++ addressbook/gui/component/addressbook-component.c | 10 ++++++++++ 2 files changed, 16 insertions(+) (limited to 'addressbook') diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 754524c209..98e5600dda 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,3 +1,9 @@ +2002-08-29 Chris Toshok + + * gui/component/addressbook-component.c (add_creatable_item): call + evolution_shell_component_add_user_creatable_item twice here, once + for the "contacts" folder type, and once for "ldap-contacts". + 2002-08-29 Chris Toshok [ fixes #20347 ] diff --git a/addressbook/gui/component/addressbook-component.c b/addressbook/gui/component/addressbook-component.c index e60c383cb9..cfd7383e0b 100644 --- a/addressbook/gui/component/addressbook-component.c +++ b/addressbook/gui/component/addressbook-component.c @@ -534,6 +534,16 @@ add_creatable_item (EvolutionShellComponent *shell_component, menu_shortcut, icon); + + evolution_shell_component_add_user_creatable_item (shell_component, + id, + description, + menu_description, + tooltip, + "ldap-contacts", + menu_shortcut, + icon); + if (icon != NULL) gdk_pixbuf_unref (icon); g_free (icon_path); -- cgit v1.2.3