Getting list of contacts with Gnome-Shell JS interface
问题 I've just started fiddling with writing gnome-shell extensions, and would like to know how to get a list of contacts a user has. I've tracked down some likely files: gnome-shell/js/ui/contactDisplay.js and gnome-shell/src/shell_contact_system.c . Now I notice in shell_contact_system.c the following function: /** * shell_contact_system_get_all: * @self: A #ShellContactSystem * * Returns: (transfer none): All individuals */ GeeMap * shell_contact_system_get_all (ShellContactSystem *self) {