Create a dedicated object:state-changed callback for the "expanded" state

Also make gnome-shell's Alt+Tab switcher a bit less chatty when an item
gets expanded or collapsed.