aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
Commit message (Collapse)AuthorAgeFilesLines
* implement the CORBA side of dragging.Chris Toshok2001-05-121-6/+81
| | | | | | | | | | | | | | | | | 2001-05-12 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (tree_drag_data_received): implement the CORBA side of dragging. (convert_gdk_drag_action_set_to_corba): rename convert_gdk_drag_action_to_corba to this. (convert_corba_drag_action_set_to_gdk): rename convert_corba_drag_action_to_gdk to this. (convert_gdk_drag_action_to_corba): new function that doesn't build a bitmask, useful for the Action types, instead of ActionSet. (convert_corba_drag_action_to_gdk): same. svn path=/trunk/; revision=9780
* add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): newChris Toshok2001-05-121-0/+26
| | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new function, call e_storage_set_async_remove_folder. (remove_cb): callack for e_storage_set_async_remove_folder. * evolution-shell-component-client.c (evolution_shell_component_client_populate_folder_context_menu): fix prototype to reflect Component -> Container. * evolution-shell-component-client.h: same. svn path=/trunk/; revision=9778
* add this define for the xml path to use when adding menu items to theChris Toshok2001-05-121-5/+11
| | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for the xml path to use when adding menu items to the folder popup. * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add (#ifdef DEBUG_XML) a menu item to dump the bonobo xml. (popup_folder_menu): pass the BonoboUIContainer to the populate_folder_context_menu CORBA call, instead of the component. Also, reorder things a bit so the component doesn't get an error when setting xml the first time. svn path=/trunk/; revision=9777
* the only problematic area - pass NULL for now in as the BonoboUIContainer.Chris Toshok2001-05-111-19/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): the only problematic area - pass NULL for now in as the BonoboUIContainer. how do we pass this container to the control? * e-storage-set-view.c (folder_context_menu_activate): un-#if 0 this function. (populate_folder_context_menu_with_common_items): build our popup using the new xml bonobo stuffs. (popup_folder_menu): convert to using the new xml bonobo stuffs. (right_click): only do the popup menu if we have a BonoboUIContainer. (e_storage_set_view_new): add BonoboUIContainer* arg. (e_storage_set_view_construct): same. * e-storage-set-view.h: add BonoboUIContainer* args to e_storage_set_view_new and e_storage_set_view_construct. * e-shell-folder-creation-dialog.c (add_storage_set_view): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): pass NULL for the BonoboUIContainer, since we shouldn't (?) have a popup in this dialog. * e-storage-set.h: add BonoboUIContainer* arg to e_storage_set_new_view. * e-storage-set.c (e_storage_set_new_view): add arg, and track change to e_storage_set_view_new. * e-shell-view.h: add prototype for e_shell_view_get_bonobo_ui_container. * e-shell-view.c (setup_storage_set_subwindow): track change to e_storage_set_view_new. (e_shell_view_construct): the BonoboUIContainer is now part of our private structure. (e_shell_view_get_bonobo_ui_container): new function. svn path=/trunk/; revision=9756
* take a physical_uri and pass it to the callback.Chris Toshok2001-05-051-0/+4
| | | | | | | | | | | | | | | | | | | | | 2001-05-04 Chris Toshok <toshok@ximian.com> * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): take a physical_uri and pass it to the callback. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): same. * evolution-shell-component-dnd.h: add physical_uri args to the destination folder HandleMotion and HandleDrop types. * Evolution-ShellComponentDnd.idl: add "in string physical_uri" to DestinationFolder::handleMotion and DestinationFolder::handleDrop. * e-storage-set-view.c (tree_drag_motion): pass the physical uri of the folder to handleMotion. svn path=/trunk/; revision=9678
* #include <glib.h> and move corresponding local includes to the top.Kjartan Maraas2001-04-251-2/+3
| | | | | | | | | | | | | | | | | 2001-04-25 Kjartan Maraas <kmaraas@gnome.org> * e-component-register.c, e-corba-storage.c, e-folder-tree.c, e-folder-tree.h, e-folder.c, e-local-folder.c, e-shell.c, e-shortcuts-view-model.c, e-shortcuts.c, e-splash.c, e-storage-set-view.c, e-storage-set.c, evolution-local-storage.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-storage.[ch], importer/evolution-importer-client.[ch], importer/evolution-importer-listener.[ch], importer/evolution-importer.[ch], importer/evolution-intelligent-importer.[ch], importer/intelligent.c: #include <glib.h> and move corresponding local includes to the top. svn path=/trunk/; revision=9556
* Implemented these.Christopher James Lahey2001-04-131-0/+18
| | | | | | | | | 2001-04-12 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_has_get_node_by_id, etree_get_node_by_id): Implemented these. svn path=/trunk/; revision=9291
* fix type. we want the destination interface, not source.Chris Toshok2001-04-081-1/+1
| | | | | | | | | 2001-04-08 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (tree_drag_motion): fix type. we want the destination interface, not source. svn path=/trunk/; revision=9204
* Here goes my additional simple include fixes.Gediminas Paulauskas2001-04-051-1/+2
| | | | svn path=/trunk/; revision=9191
* Fix headers. Same here. Same here. Same here. Same here.Kjartan Maraas2001-04-051-0/+2
| | | | | | | | | | | | 2001-04-04 Kjartan Maraas <kmaraas@gnome.org> * e-local-folder.c: Fix headers. * e-shell-view.c: Same here. * e-shortcuts-view.c: Same here. * e-shortcuts.c: Same here. * e-storage-set-view.c: Same here. svn path=/trunk/; revision=9184
* Remove/replace unneeded includes and move around stuff so that systemKjartan Maraas2001-03-301-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-29 Kjartan Maraas <kmaraas@gnome.org> * e-component-registry.c: Remove/replace unneeded includes and move around stuff so that system headers are included first. * e-corba-storage.c: Replace #include <bonobo.h> * e-folder-tree.c: Shuffle. * e-folder.c: Remove #include <gtk/gtkobject.h> * e-local-storage.c: Replace #include <gnome.h> and <bonobo.h> * e-setup.c: Replace #include <glib.h> and <gnome.h> * e-shell-folder-creation-dialog.c: Replace #include <gnome.h> * e-shell-folder-title-bar.c: Replace <gnome.h> * e-shell-utils.c: Same here. * e-shell-view-menu.c: Same here (and <bonobo.h>) * e-shell-view.c: Replace <gnome.h> and <bonobo.h> * e-shell.c: Replace <gnome.h> * e-shell.h: Shuffle. * e-shortcuts-view-model.c: Replace <gnome.h> * e-shortcuts-view.c: Remove #include <gnome.h> * e-shortcuts.c: Move <string.h> up. * e-splash.c: Replace <gnome.h> * e-storage-set-view.c: Replace <gnome.h> * e-storage-set.c: Shuffle * e-storage.c: Replace <gnome.h> * evolution-local-storage.c: Same here * evolution-local-storage.h: And here. * evolution-session.c: Same here too. * evolution-session.h: Replace <bonobo.h> * evolution-shell-client.c: Here too. * evolution-shell-component-client.c: Shuffle. * evolution-shell-component.c: Replace <bonobo.h> * evolution-shell-view.c: Remove #include <bonobo.h> * evolution-shell-view.h: Replace <gnome.h> * evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-listener.h: Replace <gnome.h> * evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h> * evolution-storage-set-view.c: Remove <gnome.h> * evolution-storage.c: Replace <bonobo.h> * main.c: Replace <gnome.h> and <bonobo.h> * importer/importer.c: Replace <gnome.h> * importer/intelligent.c: Replace <gnome.h>. Add prototype for svn path=/trunk/; revision=9019
* Use `g_strcasecmp()' instead of `strcasecmp()', just to be anal aboutEttore Perazzoli2001-03-291-2/+2
| | | | | | portability. svn path=/trunk/; revision=9005
* Use strcasecmp instead of strcmp.Christopher James Lahey2001-03-291-4/+4
| | | | | | | | | 2001-03-28 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (storage_sort_callback, folder_sort_callback): Use strcasecmp instead of strcmp. svn path=/trunk/; revision=9002
* Finish the DnD stuff by implementing move/copy on the shell side asEttore Perazzoli2001-03-271-3/+10
| | | | | | | well. Now we should just need to implement the corresponding bits in the components... svn path=/trunk/; revision=8949
* Leak plug: free the target list after starting the drag.Ettore Perazzoli2001-03-231-2/+2
| | | | svn path=/trunk/; revision=8904
* Changed the EStorageSet API to have a single `xfer()' method insteadEttore Perazzoli2001-03-221-17/+15
| | | | | | | | | | | | of separate copy/move (as in the IDL). Actually implement the `xfer()' operation for the case when source and destination are in the same storage. Fix the `EStorageSet' API by having a special `EStorageSetResultCallback' callback type for it (instead of using `EStorageResultCallback', which would never work). Also, removed some unused variables in `e-storage-set-view.c'. svn path=/trunk/; revision=8895
* More DnD work. Now we handle copying and moving of folders, althoughEttore Perazzoli2001-03-221-56/+141
| | | | | | | | | the hooks to actually make the physical operation happen are missing. Also, fix a stupid cut & paste error in Chris' commit (and re-indent the code a bit to make it match the surrounding style). svn path=/trunk/; revision=8890
* Changed get_save_id to just return a strdup of the path. (new_storage_cb,Christopher James Lahey2001-03-221-23/+33
| | | | | | | | | | | 2001-03-22 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Changed get_save_id to just return a strdup of the path. (new_storage_cb, new_folder_cb, insert_folders, insert_storages): Call e_tree_memory_sort_node. svn path=/trunk/; revision=8883
* Fix a stupid g_warning caused by calling EStorageSet functions on aEttore Perazzoli2001-03-211-8/+10
| | | | | | NULL pointer. svn path=/trunk/; revision=8865
* StudlyCapsify struct members to match the new IDL naming standards.Ettore Perazzoli2001-03-211-7/+7
| | | | svn path=/trunk/; revision=8862
* Handle the destination side of drag and drop too.Ettore Perazzoli2001-03-211-10/+138
| | | | svn path=/trunk/; revision=8861
* Bumped gal requirement to 0.5.99.8.Christopher James Lahey2001-03-201-241/+256
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-03-19 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped gal requirement to 0.5.99.8. From addressbook/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged branch: 2001-03-14 Christopher James Lahey <clahey@ximian.com> * gui/widgets/e-minicard-view.c: Call e_selection_model_simple_insert_rows and e_selection_model_simple_delete_rows instead of e_selection_model_simple_insert_row and e_selection_model_simple_delete_row. End of branch From mail/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-18 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added has_save_id and get_save_id methods. * subscribe-dialog.c: Added arguments for e_tree_memory_callbacks_new of get_save_id and has_save_id to NULL. 2001-03-16 Christopher James Lahey <clahey@ximian.com> * message-list.c: Added a call to e_tree_memory_set_expanded_default to TRUE. Removed all calls to set_expanded on nodes while the tree is frozen since this fails miserably now. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * message-list.c (message_list_get_layout): Turned off draw-grid. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * folder-browser-factory.c, folder-browser.c, message-list.c, message-list.h, subscribe-dialog.c, subscribe-dialog.h, mail-callbacks.c: Converted these all to use ETree instead of ETable. End of branch From shell/ChangeLog: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * Merged e-tree-rework-branch: 2001-03-19 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_save_id): Made "root" detection deal properly with removed nodes. 2001-03-18 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Added some unused code to implement saving of the expanded state. * e-storage-set-view.c: Added has_save_id and get_save_id methods. 2001-03-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false. 2001-03-09 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c, e-storage-set-view.h: Chaned this to use ETree instead of ETable. End of branch svn path=/trunk/; revision=8839
* Added a simple FIXME comment about possibly using theEttore Perazzoli2001-03-201-0/+3
| | | | | | | EvolutionShellComponentShell API for querying the SourceFolder DnD interface. svn path=/trunk/; revision=8836
* Sigh. Fix a few really stupid crashes in EStorageSetView.Ettore Perazzoli2001-03-201-17/+17
| | | | svn path=/trunk/; revision=8826
* Use the new DnD interfaces on the source side of DnD actions.Ettore Perazzoli2001-03-201-32/+216
| | | | svn path=/trunk/; revision=8825
* Initial step for refactoring of the DnD API for ShellComponents.Ettore Perazzoli2001-03-191-0/+2
| | | | svn path=/trunk/; revision=8820
* Added a ShellComponent method to retrieve the selection for drag andEttore Perazzoli2001-03-081-36/+84
| | | | | | drop and support for it in the shell. Untested. svn path=/trunk/; revision=8594
* Added the ability for components to specify drag/drop types, andEttore Perazzoli2001-03-081-1/+193
| | | | | | | started some work to get the EStorageSetView to use them. Still in progress, nothing really happens for the user yet. svn path=/trunk/; revision=8589
* Override cursor_activated signal instead of cursor_changed signal.Christopher James Lahey2001-03-051-4/+4
| | | | | | | | | 2001-03-05 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c: Override cursor_activated signal instead of cursor_changed signal. svn path=/trunk/; revision=8554
* Cast this fucntion pointer.Christopher James Lahey2001-02-171-1/+1
| | | | | | | | | | | | | | | | | | | | 2001-02-17 Christopher James Lahey <clahey@ximian.com> * e-shell-view-menu.c (file_verbs): Cast this fucntion pointer. * e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling here. * evolution-shell-component.c (impl_ShellComponent_async_copy_folder): Commented out this unused function. * evolution-storage.c (storage_gtk_to_corba_result): Removed an unused variable here. * importer/importer.c: Include gal/widets/e-gui-utils.h. svn path=/trunk/; revision=8269
* Change the folder selection dialog so that, when you click on "New"Ettore Perazzoli2001-02-091-0/+1
| | | | | | | and create a folder, that folder becomes the default folder when you go back to the selection dialog. svn path=/trunk/; revision=8119
* Update copyrights for files modified in year 2001.Ettore Perazzoli2001-01-281-1/+1
| | | | svn path=/trunk/; revision=7872
* Fix the folder tree so that the icons don't look blurry anymore. (ForEttore Perazzoli2001-01-271-13/+20
| | | | | | | some reason, the `gdk_pixbuf_scale()' function seems to give me a modified copy of the image even for a 1.0 scaling factor.) svn path=/trunk/; revision=7848
* Some little more DnD work.Ettore Perazzoli2001-01-171-31/+51
| | | | svn path=/trunk/; revision=7577
* Initial steps to support Drag 'n Drop in the tree view.Ettore Perazzoli2001-01-141-111/+218
| | | | svn path=/trunk/; revision=7484
* Added translation strings.Miguel de Icaza2001-01-121-1/+7
| | | | | | | | 2001-01-12 Miguel de Icaza <miguel@ximian.com> * e-storage-set-view.c: Added translation strings. svn path=/trunk/; revision=7446
* Start implementing a physical URI property for the toplevel nodes inEttore Perazzoli2000-12-051-3/+2
| | | | | | storages. Also add initial code in the shell to handle that. svn path=/trunk/; revision=6787
* Pass full_name, not folder_name to callback.Dan Winship2000-11-081-1/+1
| | | | | | | * e-storage-set-view.c (insert_folders): Pass full_name, not folder_name to callback. svn path=/trunk/; revision=6481
* Make this take "highlighted" as well.Dan Winship2000-11-021-1/+0
| | | | | | | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): Make this take "highlighted" as well. * e-local-storage.c (new_folder): * e-corba-storage.c (impl_StorageListener_new_folder): set highlighted on the new folder. * e-storage-set-view.c (updated_folder_cb): Remove an unused variable. svn path=/trunk/; revision=6338
* Add "highligted" field to Folder. Add update_folder method toDan Winship2000-11-021-15/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* update to new UI handlerMichael Meeks2000-10-211-3/+3
| | | | | | | | | | | | | | | | 2000-10-20 Michael Meeks <michael@helixcode.com> * evolution-shell-component-client.c (evolution_shell_component_client_populate_folder_context_menu), (evolution_shell_component_client_create_view): update to new UI handler * e-shell-view-menu.c (command_create_folder): ditto. * e-storage-set-view.c (popup_folder_menu): ditto. * evolution-shell-component-client.h: kill ui-compat include. svn path=/trunk/; revision=6082
* Add a typecast.Dan Winship2000-10-171-1/+3
| | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Add a typecast. * e-storage-set-view.c (popup_folder_menu): Move variable declarations into the #if 0 to kill warnings. (populate_folder_context_menu_with_common_items, folder_context_menu_activate_cb): Move these into #if 0 too. * e-shell.c: Add prototype. * e-shell-view.c (storage_set_view_box_map_cb): * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Remove unused variables. * e-setup.c: Fix warning caused by e-util -> gal migration. svn path=/trunk/; revision=5945
* Fixed the spec on this.Christopher James Lahey2000-10-111-2/+2
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Fixed the spec on this. svn path=/trunk/; revision=5848
* Changed this to use the built in cells.Christopher James Lahey2000-10-111-17/+3
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Changed this to use the built in cells. svn path=/trunk/; revision=5844
* Adapted this for the new ETable system.Christopher James Lahey2000-10-111-14/+12
| | | | | | | | 2000-10-11 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Adapted this for the new ETable system. svn path=/trunk/; revision=5840
* call _set_compare_function after inserting the storage.Chris Toshok2000-10-071-0/+1
| | | | | | | | | 2000-10-06 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (insert_storages): call _set_compare_function after inserting the storage. svn path=/trunk/; revision=5771
* if we're not displaying folders, the current folder is NULL. (class_init):Chris Toshok2000-10-031-1/+4
| | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (e_storage_set_view_get_current_folder): if we're not displaying folders, the current folder is NULL. (class_init): fix typo. * Makefile.am (libeshell_a_SOURCES): evolution-storage-set-view-listener.[ch] should be here, not evolution_SOURCES. svn path=/trunk/; revision=5687
* add storage_selected behavior - loop over the listeners callingChris Toshok2000-10-031-6/+20
| | | | | | | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * evolution-storage-set-view.c: add storage_selected behavior - loop over the listeners calling _storage_selected. * Evolution-StorageSetView.idl: add storage_selected to the Listener interface. * e-storage-set-view.c add storage_selected signal. (on_cursor_change): if the depth is less than 2, emit "storage_selected", otherwise emit "folder_selected". * e-storage-set-view.h: add storage_selected signal. * evolution-storage-set-view-listener.h: add storage_selected signal. * evolution-storage-set-view-listener.c: add storage_selected signal. svn path=/trunk/; revision=5686
* fix typo. (impl_StorageSetView_remove_listener): same.Chris Toshok2000-10-031-27/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * evolution-storage-set-view.c (impl_StorageSetView_add_listener): fix typo. (impl_StorageSetView_remove_listener): same. (impl_StorageSetView__get_show_folders): implementation of getter for show_folders. (impl_StorageSetView__set_show_folders): implementation of setter for show_folders. (corba_class_init): install _set_show_folders and _get_show_folders. * Evolution-StorageSetView.idl: add show_folders attribute to StorageSetView. * e-storage-set-view.h: add prototypes for e_storage_set_view_{get,set}_show_folders. * e-storage-set-view.c (insert_storages): split this code out from e_storage_set_view_construct so we can call it when "show_folders" has been changed. (e_storage_set_view_construct): remove the code to insert storages. (e_storage_set_view_set_show_folders): new function. tears down existing tree and node/path hashtable and calls insert_storages. (e_storage_set_view_get_show_folders): new function, retrieves current show_folders state. svn path=/trunk/; revision=5684
* set the new node's compare function. (insert_folders): same.Chris Toshok2000-10-031-1/+3
| | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (new_folder_cb): set the new node's compare function. (insert_folders): same. (new_storage_cb): remove uunecessary cast. svn path=/trunk/; revision=5676
* track e-tree sort api change. (treepath_compare): same. (new_folder_cb):Chris Toshok2000-10-031-10/+7
| | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (new_storage_cb): track e-tree sort api change. (treepath_compare): same. (new_folder_cb): same. svn path=/trunk/; revision=5675
* pass NULL for the open/closed pixbuf of the tree renderer. we'll let itChris Toshok2000-10-031-21/+9
| | | | | | | | | | | | | | | | 2000-10-02 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (e_storage_set_view_construct): pass NULL for the open/closed pixbuf of the tree renderer. we'll let it supply the default. (destroy): remove the expanded/unexpanded pixbuf references. (new_storage_cb): use e_tree_model_node_insert_id so we can (soon) save expanded/collapsed state. (new_folder_cb): same. (insert_folders): same. (e_storage_set_view_construct): same. svn path=/trunk/; revision=5666
* Added check for gnome-app-lib. Removed directories that have been moved toChristopher James Lahey2000-09-181-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added check for gnome-app-lib. Removed directories that have been moved to gal. From addressbook/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * backend/ebook/Makefile.am, contact-editor/Makefile.am, ename/Makefile.am, gui/component/Makefile.am, gui/widgets/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * backend/ebook/e-card.c, backend/pas/pas-backend-file.c, contact-editor/e-contact-editor-address.c, contact-editor/e-contact-editor-categories.c, contact-editor/e-contact-editor-categories.h, contact-editor/e-contact-editor-fullname.c, contact-editor/e-contact-editor.c, contact-editor/e-contact-save-as.c, ename/e-address-western.c, ename/test-ename-western-gtk.c, gui/component/addressbook-factory.c, gui/component/addressbook.c, gui/component/e-cardlist-model.h, gui/component/e-ldap-storage.c, gui/component/select-names/e-select-names-bonobo.c, gui/component/select-names/e-select-names-manager.c, gui/component/select-names/e-select-names-model.c, gui/component/select-names/e-select-names-table-model.c, gui/component/select-names/e-select-names-table-model.h, gui/component/select-names/e-select-names-text-model.h, gui/component/select-names/e-select-names.c, gui/component/select-names/e-select-names.h, gui/search/e-addressbook-search-dialog.c, gui/widgets/e-addressbook-model.h, gui/widgets/e-addressbook-view.c, gui/widgets/e-minicard-label.c, gui/widgets/e-minicard-view-widget.c, gui/widgets/e-minicard-view-widget.h, gui/widgets/e-minicard-view.c, gui/widgets/e-minicard-view.h, gui/widgets/e-minicard-widget.h, gui/widgets/e-minicard.c, gui/widgets/test-minicard-label.c, gui/widgets/test-reflow.c, printing/e-contact-print.c: Fixed the #include lines to deal properly with gal. From calendar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * gui/calendar-model.h, gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view-event-item.c, gui/e-week-view.c, gui/event-editor.c, gui/gncal-todo.c, gui/gnome-cal.c, gui/main.c, gui/print.c, gui/dialogs/task-editor.c: Fixed the #include lines to deal properly with gal. * gui/check-filled.xpm: New file since we can't include it from e-table anymore. From camel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * camel-folder-search.c, camel-folder-search.h, camel-remote-store.c, providers/imap/camel-imap-folder.c, providers/imap/camel-imap-store.c: Fixed the #include lines to deal properly with gal. From composer/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-msg-composer-address-dialog.c, e-msg-composer-address-entry.c, e-msg-composer-attachment.c, e-msg-composer-hdrs.c, e-msg-composer.c: Fixed the #include lines to deal properly with gal. From e-util/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed all the files moved to gal. * e-dialog-widgets.c: Fixed the #include lines to deal properly with gal. * e-gui-utils.c, e-gui-utils.h: Removed all of the functionality that was moved to gal. * e-canvas-utils.c, e-canvas-utils.h, e-canvas-vbox.c, e-canvas-vbox.h, e-canvas.c, e-canvas.h, e-cursors.c, e-cursors.h, e-font.c, e-font.h, e-popup-menu.c, e-popup-menu.h, e-printable.c, e-printable.h, e-unicode.c, e-unicode.h, e-util.c, e-util.h, e-xml-utils.c, e-xml-utils.h: Moved to gal. From filter/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * filter-editor.c, filter-filter.c, filter-folder.c, filter-input.c, filter-message-search.c, filter-option.c, filter-rule.c, score-editor.c, vfolder-editor.c, vfolder-rule.c: Fixed the #include lines to deal properly with gal. From mail/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * component-factory.c, folder-browser-factory.c, folder-browser.c, mail-callbacks.c, mail-config-gui.c, mail-display.c, mail-display.h, main.c, message-list.c, message-list.h: Fixed the #include lines to deal properly with gal. From po/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * POTFILES.in: Removed files that have been moved to gal. From shell/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-component-registry.c, e-corba-storage-registry.c, e-corba-storage.c, e-folder-type-registry.c, e-folder.c, e-local-folder.c, e-local-storage.c, e-shell-folder-creation-dialog.c, e-shell-folder-selection-dialog.c, e-shell-folder-title-bar.c, e-shell-view.c, e-shell.c, e-shortcuts-view.c, e-shortcuts.c, e-storage-set-view.c, e-storage-set-view.h, e-storage-set.c, e-storage.c, evolution-local-storage.c, evolution-session.c, evolution-shell-client.c, evolution-shell-component-client.c, evolution-shell-component.c, evolution-shell-view.c, evolution-storage-listener.c, evolution-storage.c, main.c: Fixed the #include lines to deal properly with gal. From widgets/meeting-time-sel/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-meeting-time-sel-list-item.c, e-meeting-time-sel.c, e-meeting-time-sel.h: Fixed the #include lines to deal properly with gal. If you've read this far, you deserve a prize. The first email in my mailbox with the subject "What a commit message!" (and your physical mailing address somewhere in the message) will receive a free Helix Code T-shirt mailed to anywhere within the continental United States. I cannot be held responsible for problems with email systems anywhere. This is supposed to be for fun, so please don't make a fuss if something goes wrong and your mail doesn't reach me. Find my email elsewhere in this message, and if it's been more than a few days, you're probably too late. From widgets/misc/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-calendar-item.c, e-calendar.c, e-calendar.h, e-title-bar.c: Fixed the #include lines to deal properly with gal. * e-scroll-frame.c, e-scroll-frame.h: Moved to gal. From widgets/shortcut-bar/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added $(EXTRA_GNOME_CFLAGS) and $(EXTRA_GNOME_LIBS). Removed unneeded libraries. * e-icon-bar.c, e-icon-bar.h, e-shortcut-bar.c, e-shortcut-model.c, test-shortcut-bar.c: Fixed the #include lines to deal properly with gal. From widgets/ChangeLog: 2000-09-18 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Removed directories that have been moved to gal. * e-paned/.cvsignore, e-paned/Makefile.am, e-paned/e-hpaned.c, e-paned/e-hpaned.h, e-paned/e-paned.c, e-paned/e-paned.h, e-paned/e-vpaned.c, e-paned/e-vpaned.h: Moved to gal. * e-reflow/.cvsignore, e-reflow/Makefile.am, e-reflow/e-reflow-sorted.c, e-reflow/e-reflow-sorted.h, e-reflow/e-reflow.c, e-reflow/e-reflow.h: Moved to gal. * e-table/.cvsignore, e-table/ChangeLog, e-table/LICENSE, e-table/Makefile.am, e-table/ROADMAP.e-table, e-table/TODO, e-table/add-col.xpm, e-table/arrow-down.xpm, e-table/arrow-up.xpm, e-table/check-empty.xpm, e-table/check-filled.xpm, e-table/clip.png, e-table/e-cell-checkbox.c, e-table/e-cell-checkbox.h, e-table/e-cell-string.c, e-table/e-cell-text.c, e-table/e-cell-text.h, e-table/e-cell-toggle.c, e-table/e-cell-toggle.h, e-table/e-cell-tree.c, e-table/e-cell-tree.h, e-table/e-cell.c, e-table/e-cell.h, e-table/e-table-click-to-add.c, e-table/e-table-click-to-add.h, e-table/e-table-col-dnd.h, e-table/e-table-col.c, e-table/e-table-col.h, e-table/e-table-column-model.h, e-table/e-table-column.c, e-table/e-table-config.c, e-table/e-table-config.glade, e-table/e-table-config.glade.h, e-table/e-table-config.h, e-table/e-table-defines.h, e-table/e-table-example-1.c, e-table/e-table-example-2.c, e-table/e-table-field-chooser-dialog.c, e-table/e-table-field-chooser-dialog.h, e-table/e-table-field-chooser-item.c, e-table/e-table-field-chooser-item.h, e-table/e-table-field-chooser.c, e-table/e-table-field-chooser.glade, e-table/e-table-field-chooser.glade.h, e-table/e-table-field-chooser.h, e-table/e-table-group-container.c, e-table/e-table-group-container.h, e-table/e-table-group-leaf.c, e-table/e-table-group-leaf.h, e-table/e-table-group.c, e-table/e-table-group.glade, e-table/e-table-group.glade.h, e-table/e-table-group.h, e-table/e-table-header-item.c, e-table/e-table-header-item.h, e-table/e-table-header.c, e-table/e-table-header.h, e-table/e-table-item.c, e-table/e-table-item.h, e-table/e-table-model.c, e-table/e-table-model.h, e-table/e-table-one.c, e-table/e-table-one.h, e-table/e-table-scrolled.c, e-table/e-table-scrolled.h, e-table/e-table-selection-model.c, e-table/e-table-selection-model.h, e-table/e-table-simple.c, e-table/e-table-simple.h, e-table/e-table-size-test.c, e-table/e-table-sort-info.c, e-table/e-table-sort-info.h, e-table/e-table-sorted-variable.c, e-table/e-table-sorted-variable.h, e-table/e-table-sorted.c, e-table/e-table-sorted.h, e-table/e-table-sorter.c, e-table/e-table-sorter.h, e-table/e-table-subset-variable.c, e-table/e-table-subset-variable.h, e-table/e-table-subset.c, e-table/e-table-subset.h, e-table/e-table-text-model.c, e-table/e-table-text-model.h, e-table/e-table-tooltip.h, e-table/e-table-tree.h, e-table/e-table.c, e-table/e-table.h, e-table/e-tree-example-1.c, e-table/e-tree-example-2.c, e-table/e-tree-model.c, e-table/e-tree-model.h, e-table/e-tree-simple.c, e-table/e-tree-simple.h, e-table/image1.png, e-table/image2.png, e-table/image3.png, e-table/remove-col.xpm, e-table/sample.table, e-table/table-test.c, e-table/table-test.h, e-table/test-check.c, e-table/test-cols.c, e-table/test-table.c: Moved to gal. * e-text/.cvsignore, e-text/Makefile.am, e-text/e-entry-test.c, e-text/e-entry.c, e-text/e-entry.h, e-text/e-text-event-processor-emacs-like.c, e-text/e-text-event-processor-emacs-like.h, e-text/e-text-event-processor-types.h, e-text/e-text-event-processor.c, e-text/e-text-event-processor.h, e-text/e-text-model.c, e-text/e-text-model.h, e-text/e-text-test.c, e-text/e-text.c, e-text/e-text.h: Moved to gal. i.e., ... changed evolution to work with gal. svn path=/trunk/; revision=5490
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-0/+2
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Fully support setting the display name in the tree. It seems to work.Ettore Perazzoli2000-09-111-38/+76
| | | | svn path=/trunk/; revision=5320
* Use the name of the storage or the folder in the storage set view,Ettore Perazzoli2000-09-101-5/+15
| | | | | | | instead of just the last segment of the path, so that we can support display names correctly. svn path=/trunk/; revision=5296
* Added base ETableModel functions.Christopher James Lahey2000-09-091-1/+51
| | | | | | | | | | | 2000-09-08 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Added base ETableModel functions. * evolution-storage-listener.c, evolution-storage.c: Fixed some warnings. svn path=/trunk/; revision=5267
* free node_data. (removed_storage_cb): same. (new_storage_cb): don't freeChris Toshok2000-09-021-12/+8
| | | | | | | | | | | | | 2000-09-01 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c (removed_folder_cb): free node_data. (removed_storage_cb): same. (new_storage_cb): don't free the path we put in the node's node_data. (e_storage_set_view_set_current_folder): remove calls to set_cursor_row (-1), and clean up a little bit. svn path=/trunk/; revision=5171
* Make the shell start up components through a OAF query forEttore Perazzoli2000-08-281-1/+1
| | | | | | | | `Evolution::ShellComponent' instead of hardcoding the OAFIIDs. Make a module-private variable static. svn path=/trunk/; revision=5080
* convert to use ETree instead of GtkCTree.Chris Toshok2000-08-261-396/+312
| | | | | | | | | | | | | | 2000-08-25 Chris Toshok <toshok@helixcode.com> * e-storage-set-view.c: convert to use ETree instead of GtkCTree. * e-storage-set-view.h: change superclass from GtkCTree to ETable. * main.c (main): call e_cursors_init. * Makefile.am (evolution_LDADD): add libetable.a svn path=/trunk/; revision=5043
* Add support for the folder right-click ("context") menu. No componentEttore Perazzoli2000-07-211-3/+115
| | | | | | uses this yet, though. svn path=/trunk/; revision=4252
* Implemented folder creation dialog (File -> New -> Folder). To makeEttore Perazzoli2000-06-111-0/+31
| | | | | | | | 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-14/+18
| | | | | | from an EStorage (although they are not implemented yet). svn path=/trunk/; revision=3460
* Added a g_return_if_fail check.Christopher James Lahey2000-06-021-0/+2
| | | | | | | | | 2000-06-01 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c (set_e_shortcut_selection): Added a g_return_if_fail check. svn path=/trunk/; revision=3350
* Make the tree view slightly larger and hidden by default. Also, setEttore Perazzoli2000-06-011-0/+1
| | | | | | | auto-resize mode for it so that its horizontal scrollbar does not behave in a weird way. svn path=/trunk/; revision=3324
* Fixed the buglet that caused unwanted bogus drag & drop operations toEttore Perazzoli2000-05-311-4/+19
| | | | | | | start, and added some initial resistance to the drag & drop operation itself. svn path=/trunk/; revision=3307
* Fix wrong order of the key/value parameters in the call toEttore Perazzoli2000-05-301-1/+1
| | | | | | | | `g_hash_table_insert()' when initializing the EStorageSetView. This was causing addition of new folders to a registered storage at runtime to fail. svn path=/trunk/; revision=3273
* Made the storage view update at changes in the storage, andEttore Perazzoli2000-05-261-63/+256
| | | | | | | | | | 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
* From shell/ChangeLog:Christopher James Lahey2000-05-261-1/+3
| | | | | | | | | | | | | | | 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * e-storage-set-view.c: Make this always look pretty, with Helix GNOME or without. From calendar/ChangeLog: 2000-05-25 Christopher James Lahey <clahey@helixcode.com> * gui/main.c: Make it so that warnings don't crash calendar. svn path=/trunk/; revision=3201
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-6/+10
| | | | | | | folder types, and changed all the components to work with the new setup. svn path=/trunk/; revision=3199
* Was using the wrong include here.Christopher James Lahey2000-05-251-0/+2
| | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Was using the wrong include here. * e-storage-set-view.c: Got rid of the lines in the tree view. svn path=/trunk/; revision=3195
* Use TigerT's new mini icons in the shell's folder tree view.Ettore Perazzoli2000-05-161-15/+16
| | | | svn path=/trunk/; revision=3091
* Fixed drag and drop so that it properly handles pointer grabbing inEttore Perazzoli2000-05-161-0/+6
| | | | | | | | the widget with `gtk_grab_add' and `gtk_grab_remove'. Removed leaks from Iain's patch. Moved shortcut view initialization from the model into the view. svn path=/trunk/; revision=3047
* Fix Drag & Drop behavior so that dragging a folder that is not theEttore Perazzoli2000-05-151-7/+25
| | | | | | current one does not switch to that folder. svn path=/trunk/; revision=3033
* Initial drag and drop support for the tree view: now you can dragEttore Perazzoli2000-05-151-14/+244
| | | | | | folders into the shortcut bar. svn path=/trunk/; revision=3032
* Sort folders in the storage view.Ettore Perazzoli2000-05-141-0/+19
| | | | svn path=/trunk/; revision=3023
* Add new files.Ettore Perazzoli2000-05-141-0/+363
svn path=/trunk/; revision=3021