Shared functions for Ayatana indicators