file by itself when the file is not present or corrupted. Fixes #3668, failure to handle malformed shortcuts.xml file.] * e-shell.c (e_shell_construct): If the `e_shortcuts_new()' returns an object with no shortcuts in it, fill it in with `e_shortcuts_add_default_group()'. * e-shortcuts.c: New member `num_groups' in EShortcutsPrivate. (init): Init to zero. (e_shortcuts_add_group): Increment. (e_shortcuts_remove_group): Decrement. (e_shortcuts_get_num_groups): New. (e_shortcuts_add_default_group): New function to set up the default shortcuts. (e_shortcuts_new): Return an empty EShortcuts object if loading the file files, instead of returning NULL. svn path=/trunk/; revision=10744
Two things are built in this directory: the shell's executable, named `evolution', and the shell utility library, `libeshell'. The `e-*' files belong to the shell, and their API is not exported at all. The `evolution-*' files, instead, are Bonobo-style wrappers for the shell's Evolution:: CORBA interfaces. They are all compiled into `libeshell'; the shell itself links against `libeshell'. The `evolution-*-client' files are utility GTK+-style wrappers for the CORBA methods; the modules whose name does not end with `-client', instead, are Bonobo-like GTK+ objects wrapping the implementation of the CORBA server.