As the askubuntu question suggests: "ret = Unity.ActivationResponse(handled=Unity.HandledType.HIDE_DASH,goto_uri='')" works as a workaround.
As the askubuntu question suggests: "ret = Unity.Activatio nResponse( handled= Unity.HandledTy pe.HIDE_ DASH,goto_ uri='') " works as a workaround.