aboutsummaryrefslogtreecommitdiffstats
path: root/calendar
diff options
context:
space:
mode:
authorEttore Perazzoli <ettore@src.gnome.org>2002-09-05 00:05:35 +0800
committerEttore Perazzoli <ettore@src.gnome.org>2002-09-05 00:05:35 +0800
commitddaa0af2ceba5de217424eeddfa3f650049ddfa1 (patch)
treedde4bded2ee16494bb4862632df9e346269631af /calendar
parenta52720a9213d760bb8a9c21b354ab46de7b763dd (diff)
downloadgsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar.gz
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar.bz2
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar.lz
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar.xz
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.tar.zst
gsoc2013-evolution-ddaa0af2ceba5de217424eeddfa3f650049ddfa1.zip
Pass NULL as @unpopulate_folder_context_menu_fn to
* gui/component/addressbook-component.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * gui/component-factory.c (create_object): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * mail-account-gui.c (mail_account_gui_save): Remove unused variable. * component-factory.c (unpopulate_folder_context_menu): New. (create_component): Pass it to evolution_shell_component_new(). * component-factory.c (create_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * e-storage-set-view.c (popup_folder_menu): Remove the context menu items using evolution_shell_component_client_unpopulate_folder_context_menu() instead of doing it ourself, since BonoboUI sucks. * evolution-shell-component-client.c (evolution_shell_component_client_unpopulate_folder_context_menu): New. * evolution-test-component.c (register_component): Pass NULL as @unpopulate_folder_context_menu_fn to evolution_shell_component_new(). * evolution-shell-component.c: New member unpopulate_folder_context_menu_fn in EvolutionShellComponentPrivate. New member uic in EvolutionShellComponentPrivate. (init): Init new members to NULL. (destroy): bonobo_object_unref() priv->uic if not NULL. (evolution_shell_component_new): New arg @unpopulate_folder_context_menu_fn. (evolution_shell_component_construct): Likewise. (impl_populateFolderContextMenu): Set priv->uic to the newly created UIComponent. (impl_unpopulateFolderContextMenu): New, implementation for the ::unpopulateFolderContextMenu CORBA method. (class_init): Install. * Evolution-ShellComponent.idl (unpopulateFolderContextMenu): New method. (AlreadyPopulated): New exception. (populateFolderContextMenu): Can raise it. (NotPopulated): New exception. svn path=/trunk/; revision=17963
Diffstat (limited to 'calendar')
-rw-r--r--calendar/ChangeLog6
-rw-r--r--calendar/gui/calendar-component.c1
-rw-r--r--calendar/gui/component-factory.c1
3 files changed, 8 insertions, 0 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog
index 0d441a11f4..303de841c0 100644
--- a/calendar/ChangeLog
+++ b/calendar/ChangeLog
@@ -1,3 +1,9 @@
+2002-09-04 Ettore Perazzoli <ettore@ximian.com>
+
+ * gui/component-factory.c (create_object): Pass NULL as
+ @unpopulate_folder_context_menu_fn to
+ evolution_shell_component_new().
+
2002-09-03 JP Rosevear <jpr@ximian.com>
* gui/itip-utils.c (comp_compliant): don't make the reply
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 39f55a1000..41e5460049 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -688,6 +688,7 @@ create_object (void)
remove_folder,
xfer_folder,
NULL, /* populate_folder_context_menu_fn */
+ NULL, /* unpopulate_folder_context_menu_fn */
NULL, /* get_dnd_selection_fn */
request_quit,
NULL /* closure */);
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index 39f55a1000..41e5460049 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -688,6 +688,7 @@ create_object (void)
remove_folder,
xfer_folder,
NULL, /* populate_folder_context_menu_fn */
+ NULL, /* unpopulate_folder_context_menu_fn */
NULL, /* get_dnd_selection_fn */
request_quit,
NULL /* closure */);