From bb241192eb773d7f0d178306dd55f9ca8e31c1f0 Mon Sep 17 00:00:00 2001 From: Ettore Perazzoli Date: Thu, 25 May 2000 05:55:59 +0000 Subject: Reorganized the shell to allow dynamic registration of storages and folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199 --- shell/e-shortcuts-view.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'shell/e-shortcuts-view.c') diff --git a/shell/e-shortcuts-view.c b/shell/e-shortcuts-view.c index dd17326d8c..c9fa17653c 100644 --- a/shell/e-shortcuts-view.c +++ b/shell/e-shortcuts-view.c @@ -149,7 +149,7 @@ icon_callback (EShortcutBar *shortcut_bar, const char *uri, gpointer data) { - EFolderTypeRepository *folder_type_repository; + EFolderTypeRegistry *folder_type_registry; EShortcuts *shortcuts; EStorageSet *storage_set; EFolder *folder; @@ -159,7 +159,7 @@ icon_callback (EShortcutBar *shortcut_bar, shortcuts = E_SHORTCUTS (data); storage_set = e_shortcuts_get_storage_set (shortcuts); - folder_type_repository = e_storage_set_get_folder_type_repository (storage_set); + folder_type_registry = e_storage_set_get_folder_type_registry (storage_set); folder = e_storage_set_get_folder (storage_set, get_storage_set_path_from_uri (uri)); @@ -172,7 +172,7 @@ icon_callback (EShortcutBar *shortcut_bar, return NULL; /* FIXME mini icons? */ - pixbuf = e_folder_type_repository_get_icon_for_type (folder_type_repository, type, FALSE); + pixbuf = e_folder_type_registry_get_icon_for_type (folder_type_registry, type, FALSE); if (pixbuf != NULL) gdk_pixbuf_ref (pixbuf); -- cgit v1.2.3