diff options
Diffstat (limited to 'shell/e-storage.c')
-rw-r--r-- | shell/e-storage.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shell/e-storage.c b/shell/e-storage.c index 0b2734252e..b6219605ab 100644 --- a/shell/e-storage.c +++ b/shell/e-storage.c @@ -178,6 +178,12 @@ impl_get_name (EStorage *storage) return _("(No name)"); } +static const char * +impl_get_display_name (EStorage *storage) +{ + return _("(No name)"); +} + static void impl_async_create_folder (EStorage *storage, const char *path, @@ -225,6 +231,7 @@ class_init (EStorageClass *class) class->get_subfolder_paths = impl_get_subfolder_paths; class->get_folder = impl_get_folder; class->get_name = impl_get_name; + class->get_display_name = impl_get_display_name; class->async_create_folder = impl_async_create_folder; class->async_remove_folder = impl_async_remove_folder; class->async_xfer_folder = impl_async_xfer_folder; @@ -356,6 +363,15 @@ e_storage_get_name (EStorage *storage) return (* ES_CLASS (storage)->get_name) (storage); } +const char * +e_storage_get_display_name (EStorage *storage) +{ + g_return_val_if_fail (storage != NULL, NULL); + g_return_val_if_fail (E_IS_STORAGE (storage), NULL); + + return (* ES_CLASS (storage)->get_display_name) (storage); +} + /** * e_storage_get_toplevel_node_uri: * @storage: A pointer to an EStorage object |