summaryrefslogtreecommitdiff
diff options
-rw-r--r--src/IndicatorObjectFactoryRemote.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/IndicatorObjectFactoryRemote.cpp b/src/IndicatorObjectFactoryRemote.cpp
index 9d78afcc3..560a58de4 100644
--- a/src/IndicatorObjectFactoryRemote.cpp
+++ b/src/IndicatorObjectFactoryRemote.cpp
@@ -106,6 +106,8 @@ IndicatorObjectFactoryRemote::ForceRefresh ()
void
IndicatorObjectFactoryRemote::Reconnect ()
{
+ g_spawn_command_line_sync ("killall unity-panel-service", NULL, NULL, NULL, NULL);
+
if (g_getenv ("PANEL_USE_LOCAL_SERVICE"))
{
run_local_panel_service ();