Kind18 nailed it.

This is the recipe. You have to get to the point where she starts to questions herself and begin to think she is going to lose you, perhaps to a better woman.

You do this all silently, without peacocking and looking back to see if she's noticing. In essence, you start to truly move on with your life. If there's a chance this thing will turn around, this is usually when it will happen.