aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2002-08-30 05:15:47 +0800
committerChris Toshok <toshok@src.gnome.org>2002-08-30 05:15:47 +0800
commit7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6 (patch)
treef70f5cd0cf92f0bf0a6c9f40937449d56e1c32e8
parenta202ae67951b6b5279a97cf3514f0d80f4240a7a (diff)
downloadgsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar.gz
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar.bz2
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar.lz
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar.xz
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.tar.zst
gsoc2013-evolution-7c282bc8c9a95b1c883ed4ea4db2fb58c4cc12d6.zip
call evolution_shell_component_add_user_creatable_item twice here, once
2002-08-29 Chris Toshok <toshok@ximian.com> * 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
-rw-r--r--addressbook/ChangeLog6
-rw-r--r--addressbook/gui/component/addressbook-component.c10
2 files changed, 16 insertions, 0 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog
index 754524c209..98e5600dda 100644
--- a/addressbook/ChangeLog
+++ b/addressbook/ChangeLog
@@ -1,5 +1,11 @@
2002-08-29 Chris Toshok <toshok@ximian.com>
+ * 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 <toshok@ximian.com>
+
[ fixes #20347 ]
* gui/widgets/e-addressbook-view.c (e_addressbook_view_init): hook
up the backend_died signal.
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);