Gnome2.Client flush()
This will force the underlying connection to the session manager to be flushed. This is useful if you have some pending changes that you want to make sure get committed.