From c49f665c56d01b67a3126150c4837ae96e903df8 Mon Sep 17 00:00:00 2001 From: Jason Leach Date: Fri, 20 Jul 2001 21:15:57 +0000 Subject: [This is a better way to have "Local Folders" be shown as the local 2001-07-20 Jason Leach [This is a better way to have "Local Folders" be shown as the local storage name without breaking current user's shortcuts.] * e-corba-storage.c (get_display_name): Implement this, but it's only returning the real name now. Need to change the IDL soon to let corba storages have separated display names. * e-shortcuts.c (e_shortcuts_add_default_group): Set these default shortcut URI's back to evolution:/local/ * e-shell-view.h (DEFAULT_URI): Set this back to "evolution:/local/Inbox" * e-storage-set-view.c (etree_value_at): Get the display name for a storage rather than it's true name. * e-local-storage.c (impl_get_display_name): Implemented for the local folder (to return a translated "Local Folders"). * e-storage.c (e_storage_get_display_name): New virtual function for retrieving the display name. svn path=/trunk/; revision=11274 --- shell/e-storage.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell/e-storage.h') diff --git a/shell/e-storage.h b/shell/e-storage.h index 129212389e..91afa759f5 100644 --- a/shell/e-storage.h +++ b/shell/e-storage.h @@ -85,6 +85,7 @@ struct _EStorageClass { GList * (* get_subfolder_paths) (EStorage *storage, const char *path); EFolder * (* get_folder) (EStorage *storage, const char *path); const char * (* get_name) (EStorage *storage); + const char * (* get_display_name) (EStorage *storage); void (* async_create_folder) (EStorage *storage, const char *path, @@ -123,6 +124,7 @@ EFolder *e_storage_get_folder (EStorage *storage, const char *path); const char *e_storage_get_name (EStorage *storage); +const char *e_storage_get_display_name (EStorage *storage); const char *e_storage_get_toplevel_node_uri (EStorage *storage); const char *e_storage_get_toplevel_node_type (EStorage *storage); -- cgit v1.2.3