* gui/component/addressbook-storage.c (load_source_data): Pass NULL @custom_icon_name to evolution_storage_new_folder(). (addressbook_storage_add_source): Likewise. [Note we could be passing a nice custom here. ;-)] * subscribe-dialog.c (recursive_add_folder): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * evolution-test-component.c (setup_custom_storage): Pass NULL for @custom_icon_name to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass the custom_icon_name here to evolution_storage_new_folder(). * evolution-shell-client.c (impl_FolderSelectionListener_selected): Set customIconName here too. * e-folder.c (e_folder_to_corba): Set customIconName too. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Set customIconName. Also, use e_safe_corba_string() to clean up the code a bit. * evolution-storage.c (evolution_storage_new_folder): New arg @custom_icon_name. * Evolution-common.idl: New member customIconName in struct Folder. svn path=/trunk/; revision=17397
36 lines
728 B
Plaintext
36 lines
728 B
Plaintext
/* -*- Mode: IDL; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
|
|
/*
|
|
* Common definitions for the CORBA interface for the Evolution shell.
|
|
*
|
|
* Authors:
|
|
* Ettore Perazzoli <ettore@ximian.com>
|
|
*
|
|
* Copyright (C) 2000, 2001, 2002 Ximian, Inc.
|
|
*/
|
|
|
|
module GNOME {
|
|
module Evolution {
|
|
struct Folder {
|
|
string type;
|
|
string description;
|
|
string displayName;
|
|
string physicalUri;
|
|
string evolutionUri;
|
|
string customIconName;
|
|
long unreadCount;
|
|
boolean canSyncOffline;
|
|
};
|
|
typedef sequence <Folder> FolderList;
|
|
|
|
struct Icon {
|
|
short width, height;
|
|
boolean hasAlpha;
|
|
sequence <octet> rgbaData; // Row-by-row, left-to-right, top-to-bottom RGBA bytes
|
|
};
|
|
|
|
typedef sequence <Icon> AnimatedIcon;
|
|
|
|
};
|
|
};
|
|
|