summaryrefslogtreecommitdiff
diff options
authorNeil Jagdish Patel <neil.patel@canonical.com>2011-03-31 23:02:34 +0100
committerNeil Jagdish Patel <neil.patel@canonical.com>2011-03-31 23:02:34 +0100
commitcf9c5cbc03598604471d2893aa2ed405a5e95134 (patch)
tree3b1ec7d9dc06a84ebbdf9900d3c943ab923ea4ea
parenta321a5ab5f320da7db288e2510c2be813e765560 (diff)
Kill panel service on start
(bzr r1064)
-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 ();