aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-storage-set-view.c
Commit message (Collapse)AuthorAgeFilesLines
* Pass the @folder_type to ::handleDrop.Ettore Perazzoli2001-10-201-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (tree_drag_data_received): Pass the @folder_type to ::handleDrop. * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): New arg @folder_type. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): Likewise. * evolution-shell-component-dnd.h: Add @folder_type to `DndDestinationFolderHandleDropFn' and `DndDestinationFolderHandleMotionFn'. * e-storage-set-view.c (tree_drag_motion): Pass the folder type to `::handleMotion'. * Evolution-ShellComponentDnd.idl: Pass @folder_type in ::handleDrop and ::handleMotion. * component-factory.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. * gui/component/addressbook-component.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=13807
* Ooops, remove debugging message.Ettore Perazzoli2001-10-101-2/+0
| | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Ooops, remove debugging message. svn path=/trunk/; revision=13551
* Make this a no-op if the source and the destination path are the same.Ettore Perazzoli2001-10-101-4/+15
| | | | | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): Make this a no-op if the source and the destination path are the same. * e-local-storage.c (impl_async_xfer_folder): return after returning `E_STORAGE_CANTCHANGESTOCKFOLDER' to the callback. * e-storage-set-view.c (handle_evolution_path_drag_motion): Make the check for dragging a folder over itself a little bit more accurate. svn path=/trunk/; revision=13550
* [Don't allow dragging from a folder to one of its descendants orEttore Perazzoli2001-10-031-2/+26
| | | | | | | | | | | onto itself, when the operation is GDK_DRAG_MOVE. This fixes bugs like #8737.] * e-storage-set-view.c (handle_evolution_path_drag_motion): Don't highlight if the user is attempting to move a folder to one of its descendants. svn path=/trunk/; revision=13307
* New helper function. (folder_selected_cb): Call it.Ettore Perazzoli2001-09-271-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper function. (folder_selected_cb): Call it. (folder_context_menu_popping_up_cb): New callback for the "folder_context_menu_popping_up" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the right-clicked folder. (folder_context_menu_popped_down_cb): New, callback for the "folder_context_menu_popped_down" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the currently displayed folder. (e_shell_view_get_folder_bar_right_click_path): Add a cast to placate a warning. * e-storage-set-view.c (class_init): Set up the "folder_context_menu_popping_up" and "folder_context_menu_popped_down" signals. (right_click): Emit "folder_context_menu_popping_up" before popping up the menu, "folder_context_menu_popped_down" after the menu is gone. * e-storage-set-view.h: New signals "folder_context_menu_popping_up" and "folder_context_menu_popped_down". svn path=/trunk/; revision=13171
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-261-3/+12
| | | | | | | | | | | | | | | | | | | | | yet, as there seems to be something wrong still.] * e-storage.c (e_storage_async_xfer_folder): Ooops. Make the check for CANTMOVETODESCENDANT really work. * e-storage-set-view.c (tree_drag_data_received): Pass the EStorageSetView as the data for the async_xfer function. (folder_xfer_callback): Display an error dialog if something goes wrong. * e-shell-view-menu.c (command_rename_folder): Enable again. * e-shell-folder-commands.c (e_shell_command_rename_folder): Re-implemented. (delete_dialog): Use double quotes instead of single quotes around the folder name, for consistency with the other dialogs. svn path=/trunk/; revision=13131
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-261-41/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124
* Check for a component for the given row *after* trying to handleEttore Perazzoli2001-09-221-5/+5
| | | | | | | | | | | * e-storage-set-view.c (tree_drag_motion): Check for a component for the given row *after* trying to handle EVOLUTION_PATH_TARGET_TYPE. Otherwise, we always fail in the case of dnd between a folder and the toplevel node of its storage. (find_matching_target_for_drag_context): If not on a folder, always return EVOLUTION_PATH_TARGET_TYPE. svn path=/trunk/; revision=13050
* New arg @row. Highlight that row. (tree_drag_motion): Pass @row toEttore Perazzoli2001-09-191-1/+4
| | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): New arg @row. Highlight that row. (tree_drag_motion): Pass @row to `handle_evolution_path_drag_motion()'. svn path=/trunk/; revision=12961
* Updated required version of gal to 0.11.99.4.Christopher James Lahey2001-09-171-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-09-16 Christopher James Lahey <clahey@ximian.com> * configure.in: Updated required version of gal to 0.11.99.4. From calendar/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * gui/dialogs/meeting-page.c (build_etable): Updated this to match the new ETableSimple interface. From mail/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * message-list.c (ml_get_node_by_id): Made save_id const here. From shell/ChangeLog: 2001-09-16 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_get_node_by_id): Made save_id const here. svn path=/trunk/; revision=12870
* [Remove a bunch of debugging messages, as per #7741.]Ettore Perazzoli2001-09-141-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Removed debugging messages. * e-storage-set.c (storage_removed_folder_cb): Removed debugging message. * e-storage-set-view.c (tree_drag_begin): Removed debugging message. (tree_drag_data_received): Removed debugging messages. * e-shortcuts.c (idle_cb): Removed debugging message. * e-shortcuts-view-model.c (get_icon_for_item): Removed debugging message. * e-shell.c (setup_components): Removed debugging message. * e-shell-startup-wizard.c (druid_event_notify_cb): Removed debugging message. (e_shell_startup_wizard_create): Removed debugging message. * e-shell-offline-handler.c (finalize_offline_hash_foreach): Removed debugging message. * e-shell-importer.c (start_import): Removed debugging message. (item_selected): Same here. * e-local-storage.c (async_xfer_folder_step): Removed debugging message. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Changed the error from a g_print() into a g_warning(). Removed debugging message. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Removed debugging message. (impl_StorageRegistry_removeStorageByName): Likewise. * e-component-registry.c (component_free): Removed debugging message. (register_component): Don't printf() about the registered folder type. (register_component): Don't printf() about the registered schema type. svn path=/trunk/; revision=12811
* Disable DnD on the EStorageSetView to avoid strange behaviors.Ettore Perazzoli2001-09-141-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (pop_up_folder_bar): Disable DnD on the EStorageSetView to avoid strange behaviors. (reparent_storage_set_view_box_and_destroy_popup): Re-enable DnD here. (popdown_transient_folder_bar): And here as well. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Disable DnD on the EStorageSetView. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Disable DnD on the EStorageSetView. * e-shell-folder-creation-dialog.c (add_storage_set_view): Disable DnD on the EStorageSetView. * e-storage-set-view.c: New member `allow_dnd' in `EStorageSetViewPrivate'. (init): Init to `allow_dnd' %TRUE. (tree_start_drag): If `allow_dnd' is false, don't start the drag and return %FALSE. (tree_drag_motion): If `allow_dnd' is false, return %FALSE. (e_storage_set_view_get_allow_dnd): New. (e_storage_set_view_set_allow_dnd): New. svn path=/trunk/; revision=12810
* [Fix #4962, "Highlighting is left after a drag".]Ettore Perazzoli2001-09-131-2/+2
| | | | | | | * e-storage-set-view.c (tree_drag_motion): Only highlight when moving over allowed targets. svn path=/trunk/; revision=12789
* Purify run. All small leaks.Dan Winship2001-09-101-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Free the folder_command_data when destroying the dialog. * e-local-storage.c (remove_folder): Free physical_uri if we allocated it. * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref the popup menu, don't destroy it. (destroy_group_cb): Free the question string. (rename_group_cb): Free the new_name. * e-shell-importer.c (create_plugin_menu): Free the list of importers. (get_iid_for_filetype): Likewise. (import_druid_finish): #ifdef out some g_strdups that are only used by other #ifdef'ed-out code. * e-shell-view.c: Make sure the keys in the uri_to_view hash get freed. * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref the style after setting it on the widget. * e-shell-offline-handler.c (impl_destroy): free priv. * e-storage-set-view.c (tree_drag_data_received): Make sure target_type always gets freed. * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak the type names. svn path=/trunk/; revision=12715
* Changed this to use the new ETable/ETree drag stuff.Christopher James Lahey2001-09-081-84/+13
| | | | | | | | | 2001-09-07 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_start_drag): Changed this to use the new ETable/ETree drag stuff. svn path=/trunk/; revision=12686
* Remove debugging message. (tree_drag_motion): Likewise.Ettore Perazzoli2001-09-051-3/+0
| | | | | | | | * e-storage-set-view.c (tree_drag_motion): Remove debugging message. (tree_drag_motion): Likewise. svn path=/trunk/; revision=12598
* Add the root node to the hash. (e_storage_set_view_set_show_folders):Ettore Perazzoli2001-09-051-0/+2
| | | | | | | | * e-storage-set-view.c (e_storage_set_view_construct): Add the root node to the hash. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=12594
* Remove the folder from the EvolutionStorage as well as the EStorage.Peter Williams2001-09-041-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-30 Peter Williams <peterw@ximian.com> * e-local-storage.c (async_xfer_folder_complete): Remove the folder from the EvolutionStorage as well as the EStorage. 2001-08-29 Peter Williams <peterw@ximian.com> * e-storage-set-view.c (etree_node_destroy_func): Only call remove_node_from_hash if it's not the root node. (removed_storage_cb): Don't remove the node from the hash here, because it will be removed in the node_destroyed callback. (removed_folder_cb): Same. * e-shell-view.c (e_shell_view_remove_control_for_uri): Disconnect from the destroy signal so as not to confuse ourselves. Also, the page remove in the notebook destroys the control and the socket, so don't do that explicitly. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Remove the control for the source view if we're moving. svn path=/trunk/; revision=12578
* Don't convert folder name to UTF-8 manually... (setup_stock_folders): ...Chyla Zbigniew2001-09-011-4/+5
| | | | | | | | | | | | | | | | * e-local-storage.c (setup_folder_as_stock): Don't convert folder name to UTF-8 manually... (setup_stock_folders): ... just use U_() here. (impl_get_display_name): Marked string for translation (with U_). * e-storage-set-view.c (storage_sort_callback): s/strcasecmp/g_utf8_collate/ (folder_sort_callback): ditto * e-summary-storage.c (impl_get_display_name): Marked string for translation (with U_). svn path=/trunk/; revision=12546
* Change the `selected_row_path' to be non-const. (destroy): Free it.Ettore Perazzoli2001-08-251-5/+11
| | | | | | | | | | | | * e-storage-set-view.c: Change the `selected_row_path' to be non-const. (destroy): Free it. (e_storage_set_view_set_current_folder): Set the selected_row_path to be this path. (tree_drag_begin): Free the selected_row_path and strdup() the value we assign. svn path=/trunk/; revision=12463
* If we get no data, don't notify the receiving component at all.Ettore Perazzoli2001-08-241-0/+3
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): If we get no data, don't notify the receiving component at all. svn path=/trunk/; revision=12423
* [Fix #5736, crashing when copying a message with drag and drop.]Ettore Perazzoli2001-08-241-2/+10
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): Handle NULL data gracefully. svn path=/trunk/; revision=12422
* Use xmlMemStrdup() to override the type as it's expected to be allocatedEttore Perazzoli2001-08-201-18/+20
| | | | | | | | | | | | | | | | | | | * e-shortcuts.c (load_shortcuts): Use xmlMemStrdup() to override the type as it's expected to be allocated by libxml later on. Also, get the icon for the storage if the shortcut points to a storage. * e-storage-set-view.c (etree_icon_at): Don't special case the Summary storage. Rather, use `e_storage_get_toplevel_node_type()' for getting the type of the node. * e-shortcuts-view-model.c (get_icon_for_item): New helper function. (shortcuts_update_shortcut_cb): Use it. (shortcuts_new_shortcut_cb): Use it. (load_group_into_model): Use it. svn path=/trunk/; revision=12232
* Remove debugging message.Ettore Perazzoli2001-08-171-1/+0
| | | | | | * e-storage-set-view.c (etree_icon_at): Remove debugging message. svn path=/trunk/; revision=12104
* s/My Evolution/Summary/Iain Holmes2001-08-161-3/+4
| | | | svn path=/trunk/; revision=12058
* Remove debugging message.Ettore Perazzoli2001-08-121-2/+0
| | | | | | * e-storage-set-view.c (etree_value_at): Remove debugging message. svn path=/trunk/; revision=11934
* [Finally! Fix #413, "Support for stock folders", and #786, "i18n:Ettore Perazzoli2001-08-121-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [Fix #6787, Removing a storage with children and then re-adding itEttore Perazzoli2001-08-101-23/+16
| | | | | | | | | | | | causes a crash.] * e-storage-set-view.c (convert_corba_drag_action_set_to_gdk): Removed `#if 0'ed function. (etree_node_destroy_func): New destroy function. (e_storage_set_view_construct): Set this as the new destroy function on the ETreeMemory. svn path=/trunk/; revision=11869
* Set the icon for the folder tree correctly.Jason Leach2001-08-081-1/+1
| | | | | | | | | 2001-08-08 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (etree_icon_at): Set the icon for the folder tree correctly. svn path=/trunk/; revision=11775
* Don't use a leaky hash to get folder names with unread count, useJason Leach2001-08-081-32/+18
| | | | | | | | | | | | | 2001-08-07 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (etree_value_at): Don't use a leaky hash to get folder names with unread count, use gtk_object_set_data_full and gtk_object_get_data on the EFolder. (etree_icon_at): Give the "My Evolution" storage an icon through a non-generic way. Will be replaced by a generic method when other storages get icons too. svn path=/trunk/; revision=11735
* Turn on highlighting on a row by row basis.Christopher James Lahey2001-08-071-0/+15
| | | | | | | | | 2001-08-06 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_drag_motion): Turn on highlighting on a row by row basis. svn path=/trunk/; revision=11715
* Add some padding to the label so that the title doesn't move around whenEttore Perazzoli2001-08-051-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Add some padding to the label so that the title doesn't move around when you switch between pop-up and non-pop-up folder bar. Also, change all the GtkLabels to be GtkClippedLabels instead. (e_shell_folder_title_bar_set_title): Updated to use EClippedLabels instead of GtkLabels. (e_shell_folder_title_bar_set_folder_bar_label): Likewise. * e-shell.c (impl_Shell__get_displayName): New, implementation for the `displayName' attribute. * Evolution-Shell.idl: Added readonly attribute `displayName' to get the canonicalized X11 display name for the shell. * e-shell.c (e_shell_construct): Ooops. Return `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER' if the OAF registration fails, not `E_SHELL_CONSTRUCT_RESULT_GENERICERROR'. * e-shortcuts-view.c (rename_group_cb): Get the toplevel from the shortcuts view, not the widget. (rename_shortcut_cb): Likewise. (show_new_group_dialog): Changed to use `e_request_string()'. * evolution-test-component.c: Add the %FALSE value for the `user_creatable' field in the `folder_types' entry. * evolution-shell-client.c: New member `shortcuts_interface' in `EvolutionShellClientPrivate'. (destroy): Unref it if not CORBA_OBJECT_NIL. (init): Init to CORBA_OBJECT_NIL. (query_shell_interface): New helper function to query an interface on the shell and spit out warnings if it fails. (evolution_shell_client_construct): Use it to query the ::Activity interface. Also query the ::Shortcuts interface and set the `shortcuts_interface' member to point to it. * e-shell.c: New member `corba_shortcuts' in `EShellPrivate'. (init): Init to NULL. (setup_shortcuts_interface): Helper function to add the ::Shortcuts CORBA interface to the shell. (e_shell_construct): Call it. * e-corba-shortcuts.c, e-corba-shortcuts.h: New objects implementing the `Evolution::Shortcuts' CORBA interface. * Evolution-Shortcuts.idl: New interface for accessing the shortcuts in the shell. * e-shell.c (e_shell_get_config_db): Moved down. svn path=/trunk/; revision=11689
* Some paths here don't set handled properly so lets initialize it to FALSE.Christopher James Lahey2001-08-041-6/+7
| | | | | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_drag_data_received): Some paths here don't set handled properly so lets initialize it to FALSE. (update_folder_with_unread_hash, etree_value_at): constified folder_name here. (init): Initialize priv->drag_path here to NULL. svn path=/trunk/; revision=11648
* [Removing Evolution::LocalStorage interface, abstracting the unread countsJason Leach2001-08-041-2/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-08-03 Jason Leach <jleach@ximian.com> [Removing Evolution::LocalStorage interface, abstracting the unread counts from a folder's name, also abstract unread counts from a shortcut's name. Fixes #4489 and #5497] * e-shortcuts.c (shortcut_item_new): Take an unread_count argument now. (shortcut_item_update): Ditto. * e-shortcuts-view-model.c (get_name_with_unread): Get a string containing a shortcut name and it's unread, because these are abstracted now. (load_group_into_model): Use the above function to make shortcuts that have unread counts. * e-storage-set-view.c (update_folder_with_unread_hash): Keep a hash of folder names with unread counts, because the folder name and it's unread count are to be separated, only the ETree is supposed to present it as one string. * e-shell-view.c: Renamed EShellView::view_title_bar to folder_title_bar, to closer match the * e-shell-view-menu.c (new_shortcut_dialog_folder_selected_cb): Make a shortcut with the unread count. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Make a shortcut with the unread count. * e-local-storage.c: Updated for API changes. * e-folder.c (e_folder_get_unread_count): New function, does what it says. (e_folder_set_unread_count): Ditto. * e-corba-storage.c (impl_StorageListener_new_folder): Renamed to match the IDL function name. (impl_StorageListener_update_folder): Ditto. (impl_StorageListener_removed_folder): Ditto. * Evolution-Storage.idl (struct Folder): Replace the boolean highlighted with a long unread_count. (updateFolder): Brought in from the now dead Evolution::LocalStorage. * Evolution-Shell.idl (getLocalStorage): Return a Storage instead of a LocalStorage. * Evolution-LocalStorage.idl: Removed, no longer needed, only used function, updateFolder, has been moved into Evolution::Storage interface. * evolution-local-storage.[ch]: Ditto. * evolution-storage.c (impl_Storage_updateFolder): Implementation of the updateFolder taken from ::LocalStorage. (class_init): New "update_folder" signal, taken from evolution-local-storage.c too. (evolution_storage_update_folder): Take an @unread_count int instead of a @highlighted boolean. (evolution_storage_new_folder): Same for here. (evolution_storage_update_folder_by_uri): And here. * evolution-storage-listener.h: "update_folder" signal no longer sends a @highlighted boolean. 2001-08-03 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Use Jakub's new "Work Online" icon and fix a typo. svn path=/trunk/; revision=11633
* Make "My Evolution" a normal storage instead of being the toplevelEttore Perazzoli2001-08-031-11/+19
| | | | | | node that contains everything else. svn path=/trunk/; revision=11610
* Call `gtk_drag_finish()' here.Ettore Perazzoli2001-08-031-3/+8
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): Call `gtk_drag_finish()' here. svn path=/trunk/; revision=11608
* fix some warnings.Jacob Leach2001-07-251-3/+3
| | | | svn path=/trunk/; revision=11371
* Add the "/My Evolution" path to the path_to_etree_node hash so thatJason Leach2001-07-251-4/+12
| | | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (e_storage_set_view_construct): Add the "/My Evolution" path to the path_to_etree_node hash so that storage_set_view_set_current_folder() can select the My Evolution node when it's the current one. Fixes #5114 and #3956. svn path=/trunk/; revision=11348
* [This is a better way to have "Local Folders" be shown as the localJason Leach2001-07-211-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Display an icon for nodes at depth greater than 2 in the tree view asEttore Perazzoli2001-07-151-11/+5
| | | | | | well. svn path=/trunk/; revision=11113
* Don't assert that there is a handler, so we don't crash if user clicks onEttore Perazzoli2001-07-031-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Don't assert that there is a handler, so we don't crash if user clicks on a folder whose type we cannot handle for some reason [such as an uninstalled component]. * evolution-test-component.c (activity_client_cancel_callback): New callback for the "cancel" signal on the EvolutionActivityClient object. (activity_client_show_details_callback): New callback for the "show_details" signal. (timeout_callback_1): Connect these two signal handlers. * e-activity-handler.c (task_widget_button_press_event_callback): Ahem, right-click is button 3, not button 2. (show_cancellation_popup): Actually pop up the menu. (get_corba_null_value): New helper function to create a CORBA_any null value. (report_task_event): New helper function to report events to the listener. (task_widget_cancel_callback): Use it. Report "Cancel" instead of "Cancelled". (task_widget_show_details_callback): New, callback for the "Show Details" right-click menu item. * evolution-activity-client.c: Updated to dispatch the "Cancel" and "ShowDetails" events as "cancel" and "show_details" signals. (class_init): Install the signals. (listener_callback): Updated to update the signals corresponding to the "ShowDetails" and "Cancel" events. * Evolution-Activity.idl: Changed the docs about the events sent to the Bonobo::Listener. We now only have "ShowDetails" and "Cancelled". * evolution-test-component.c (timeout_callback_1): Make the activity cancellable so we can test the right-click cancel menu too. * main.c (idle_cb): Actually exit if we cannot reach to the shell. svn path=/trunk/; revision=10684
* Fix a crash that happened when dragging a folder that didn't have aEttore Perazzoli2001-07-011-1/+2
| | | | | | component associated with it. svn path=/trunk/; revision=10656
* Pass the event time to gtk_menu_popup() so that we can release the buttonFederico Mena Quintero2001-07-011-1/+1
| | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> * e-storage-set-view.c (popup_folder_menu): Pass the event time to gtk_menu_popup() so that we can release the button and have the menu stay up. svn path=/trunk/; revision=10633
* Plug a leak. Every time the ETable would query the model for theEttore Perazzoli2001-06-271-1/+1
| | | | | | | string at the top of the tree, a "My Evolution" string would be leaked. svn path=/trunk/; revision=10523
* Remove some spurious "\n"s from g_warnings.Ettore Perazzoli2001-06-251-4/+4
| | | | svn path=/trunk/; revision=10472
* Committing the new My Evolution.Iain Holmes2001-06-091-15/+37
| | | | svn path=/trunk/; revision=10163
* (Fix bug #418: Save state of folder tree view)Jason Leach2001-06-071-5/+3
| | | | | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jason Leach <jleach@ximian.com> (Fix bug #418: Save state of folder tree view) * e-shell-view.c (e_shell_view_save_settings): Changed the char * @prefix argument to an int @view_num. (e_shell_view_load_settings): Ditto. (get_local_prefix_for_view): New function that gets us a prefix from a view_num. * e-shell-view.c (e_shell_view_save_settings): Save the expanded/collapsed information for each storage-set-view here. (e_shell_view_load_settings): Load it here. * e-storage-set-view.c (e_storage_set_view_construct): Make it so new storage set views have their storages expanded by default, but will respsect the expanded state information that we load into it. (insert_storages): Minor change here too. (new_folder_cb): Ditto. svn path=/trunk/; revision=10135
* Call e_tree_node_set_expanded on the storage_set_view, not the storage_setDan Winship2001-05-291-1/+1
| | | | | | | | * e-storage-set-view.c (new_storage_cb): Call e_tree_node_set_expanded on the storage_set_view, not the storage_set (which is not an ETree). svn path=/trunk/; revision=10033
* Don't free the hash keys in priv->path_to_etree_node, because they'reDan Winship2001-05-271-10/+1
| | | | | | | | * e-storage-set-view.c (destroy): Don't free the hash keys in priv->path_to_etree_node, because they're owned by the ETree now. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=10012
* Added ETSPECDIR. Added e-storage-set-view.etspec to get installed.Christopher James Lahey2001-05-261-31/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-21 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added ETSPECDIR. Added e-storage-set-view.etspec to get installed. * e-local-storage.c (remove_folder_directory): Commented out this function since it is unused. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback), e-shell-view.c (update_offline_toggle_status): Fixed warnings here by adding a return; after the g_assert_not_reached();. * e-shell-importer.c (start_import): Got rid of real_folderpath here and just reused folderpath (It was causing uninitialized variable warnings.) * e-shell.c (impl_Shell_getLocalStorage): Use bonobo_object_dup_ref here. It makes things simpler. * e-storage-set-view.c: Removed ETREE_SPEC since it's no longer needed. (convert_corba_drag_action_set_to_gdk, folder_context_menu_activate_cb, remove_cb, folder_context_menu_remove_cb): Commented out these functions since they're unused. (new_storage_cb, new_folder_cb, insert_folders, insert_storages): Don't bother using insert_id here since it no longer does anything. (new_storage_cb, removed_storage_cb, removed_folder_cb): Don't free the data returned from e_tree_memory_node_remove. (e_storage_set_view_construct): Set the destroy func here so that memory will automatically get freed when nodes are destroyed. g_strdup the root node string here. Use e_tree_construct_from_spec_file here to use an external file. (e_storage_set_view_set_show_folders): g_strdup the root node string here. * e-storage-set-view.etspec: New etspec file. * evolution-shell-component-client.c (free_ShellComponentListener_servant): Added a prototype here. svn path=/trunk/; revision=9989
* Change the code to pop-up the folder context menu to use the stuffEttore Perazzoli2001-05-171-41/+1
| | | | | | already defined in the UI xml file for the shell views. svn path=/trunk/; revision=9867
* 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