diff options
author | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 00:57:17 +0800 |
---|---|---|
committer | Ettore Perazzoli <ettore@src.gnome.org> | 2003-01-28 00:57:17 +0800 |
commit | f79b9679ae7325fba7b258e4d468e8b6b54ab947 (patch) | |
tree | bac15762ac1cf1a72638fe126684849ae424559e /shell/evolution-shell-component.c | |
parent | 7f14781b0e0d560fdca2b2e5fb06e3c3e2c24563 (diff) | |
download | gsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.tar.gz gsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.tar.zst gsoc2013-evolution-f79b9679ae7325fba7b258e4d468e8b6b54ab947.zip |
#if 0'ed out for now, since it seems to cause trouble for local
* evolution-shell-component.c (owner_ping_callback): #if 0'ed out
for now, since it seems to cause trouble for local components.
(setup_owner_pinging): Likewise.
* e-shell-user-creatable-items-handler.c
(get_default_action_for_view): Return default_menu_item [instead
of NULL] if there is no view displayed. [#32736]
svn path=/trunk/; revision=19650
Diffstat (limited to 'shell/evolution-shell-component.c')
-rw-r--r-- | shell/evolution-shell-component.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/shell/evolution-shell-component.c b/shell/evolution-shell-component.c index e4038b7fe3..1a517b2910 100644 --- a/shell/evolution-shell-component.c +++ b/shell/evolution-shell-component.c @@ -202,6 +202,7 @@ fill_corba_sequence_from_null_terminated_string_array (CORBA_sequence_CORBA_stri /* Owner pinging. */ +#if 0 static gboolean owner_ping_callback (void *data) { @@ -252,15 +253,20 @@ static void setup_owner_pinging (EvolutionShellComponent *shell_component) { EvolutionShellComponentPrivate *priv; + GNOME_Evolution_Shell shell_corba_objref; priv = shell_component->priv; + shell_corba_objref = evolution_shell_client_corba_objref (priv->owner_client); + if (priv->ping_timeout_id != -1) g_source_remove (priv->ping_timeout_id); priv->ping_timeout_id = g_timeout_add (PING_DELAY, owner_ping_callback, shell_component); } +#endif + /* CORBA interface implementation. */ @@ -430,7 +436,12 @@ impl_setOwner (PortableServer_Servant servant, priv->owner_client = evolution_shell_client_new (shell); g_signal_emit (shell_component, signals[OWNER_SET], 0, priv->owner_client, evolution_homedir); +#if 0 + /* Disable this for now, it seems to cause trouble for local + components. We should be checking wether the component is + local, and disable the pinging in that case. */ setup_owner_pinging (shell_component); +#endif } } |