aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage.h
Commit message (Collapse)AuthorAgeFilesLines
* If the remove_source is %TRUE and destination is a descendant of theEttore Perazzoli2001-08-231-0/+1
| | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): If the remove_source is %TRUE and destination is a descendant of the parent, pass an `E_STORAGE_CANTMOVETODESCENDANT' error code to the callback. * e-storage.h: New value `E_STORAGE_CANTMOVETODESCENDANT' in `EStorageResult'. svn path=/trunk/; revision=12397
* [Finally! Fix #413, "Support for stock folders", and #786, "i18n:Ettore Perazzoli2001-08-121-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default folder names are not translated".] * e-local-storage.c (setup_folder_as_stock): New helper function. (setup_stock_folders): Use it to set the default folders as "stock" folders. This will give them a translated name and also make them unmodifiable. (load_all_folders): Call `setup_stock_folders()' here. * e-shell-folder-commands.c (delete_cb): Display an error dialog if the deletion fails. (e_shell_command_delete_folder): Pass the shell view to the delete callback. * e-storage.c (e_storage_result_to_string): Add a string for `E_STORAGE_CANTCHANGESTOCKFOLDER' as well. * e-local-storage.c (remove_folder): Don't allow a stock folder to be removed. (impl_async_xfer_folder): Don't allow a stock folder to be moved. * e-corba-storage.c (async_remove_folder): Don't allow a stock folder to be removed. * e-storage.h: New enum value `E_STORAGE_CANTCHANGESTOCKFOLDER' in `EStorageResult'. * e-folder.c: Make member `self_highlight' a :1 int. New :1 int member `is_stock'. (init): Init `is_stock' to %FALSE. (e_folder_set_is_stock): New. (e_folder_get_is_stock): New. * e-local-storage.c (bonobo_interface_update_folder_cb): For now, don't set the display name. svn path=/trunk/; revision=11931
* [This is a better way to have "Local Folders" be shown as the localJason Leach2001-07-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [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
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-1/+1
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Finish the DnD stuff by implementing move/copy on the shell side asEttore Perazzoli2001-03-271-0/+1
| | | | | | | well. Now we should just need to implement the corresponding bits in the components... svn path=/trunk/; revision=8949
* Fix some warnings, Allow the importers to import into any folder. UpdateIain Holmes2001-03-231-1/+2
| | | | | | | | | | Fix some warnings, Allow the importers to import into any folder. Update all importers for this change. Don't emit the create_folder callback if the folder to be created already exists. This should fix the libibex crash when importing. svn path=/trunk/; revision=8912
* Added an xfer method to `EStorage' and `GNOME::Evolution::Storage'.Ettore Perazzoli2001-03-221-17/+36
| | | | svn path=/trunk/; revision=8894
* Remove <config.h> #includes from the `.h' files, which is known to be,Ettore Perazzoli2001-02-061-4/+0
| | | | | | um, a wrong thing to do. svn path=/trunk/; revision=7983
* Fix the logic for updating the shortuct labels when the display namesEttore Perazzoli2001-01-241-1/+0
| | | | | | | | | | of the corresponding folders change, so that it doesn't crash. I have removed the redundant "folder_updated" signal on `ELocalStorage' and changed EStorage so that it emits "updated_folder" automatically when any of the folders changes its properties. svn path=/trunk/; revision=7770
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-091-6/+11
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* Start implementing a physical URI property for the toplevel nodes inEttore Perazzoli2000-12-051-2/+4
| | | | | | storages. Also add initial code in the shell to handle that. svn path=/trunk/; revision=6787
* Add "highligted" field to Folder. Add update_folder method toDan Winship2000-11-021-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl: Add "highligted" field to Folder. Add update_folder method to StorageListener to change display_name and highlight status. * e-folder.c: Add "highlighted" to EFolder to match the Evolution::Folder type. (e_folder_get_highlighted, e_folder_set_highlighted): Added * evolution-storage-listener.c (impl_Evolution_StorageListener_update_folder, etc): * e-storage.c (e_storage_updated_folder, etc): * e-corba-storage.c (impl_StorageListener_update_folder, etc): Implement update_folder. * e-storage-set.c (storage_updated_folder_cb, etc): Re-emit updated_folder signals received from EStorage. * e-storage-set-view.c (various): Add another model column to the ETable and set it up as a bold_column based on e_folder_get_highligted. (updated_folder_cb, etc): Listen to EStorageSet update_folder signal and emit ETree node_changed signals. * evolution-storage.c (evolution_storage_update_folder): Client function to update a folder's display_name and highlighted status. * Evolution-LocalStorage.idl: * evolution-local-storage.c: * e-local-storage.c: Change set_display_name to update_folder to match Evolution::StorageListener svn path=/trunk/; revision=6328
* Fully support setting the display name in the tree. It seems to work.Ettore Perazzoli2000-09-111-17/+20
| | | | svn path=/trunk/; revision=5320
* Update the ::user_select_folder() interface so that it accepts both aEttore Perazzoli2000-08-041-0/+5
| | | | | | physical URI or an evolution: one for specifying the default folder. svn path=/trunk/; revision=4508
* Implemented folder creation dialog (File -> New -> Folder). To makeEttore Perazzoli2000-06-111-21/+28
| | | | | | | | it really work though, the components should implement creation functionality by passing an appropriate function pointer in `e_shell_component_new()' for @create_folder_fn. svn path=/trunk/; revision=3504
* Fixed a refcount leak and added interfaces to add/remove foldersEttore Perazzoli2000-06-081-16/+48
| | | | | | from an EStorage (although they are not implemented yet). svn path=/trunk/; revision=3460
* Made the storage view update at changes in the storage, andEttore Perazzoli2000-05-261-6/+7
| | | | | | | | | | implemented a BonoboObject for wrapping the Evolution::Storage CORBA interface. Also fixed a few bugs. This makes the shell's storage extensibility usable for Evolution components. svn path=/trunk/; revision=3219
* Get rid of the old `evolution-service-repository' cruft and startEttore Perazzoli2000-05-231-8/+5
| | | | | | implementing new CORBA storage interfaces for the shell. svn path=/trunk/; revision=3178
* Big shell reorganization.Ettore Perazzoli2000-05-071-0/+93
svn path=/trunk/; revision=2848