aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
Commit message (Collapse)AuthorAgeFilesLines
* [Fix #9060, Shell crash after mailer crash.]Ettore Perazzoli2001-09-181-24/+13
| | | | | | | | | | | | | * e-shell-view.c (hash_foreach_destroy_view): Renamed from `hash_forall_destroy_view'. Don't free `name'. (socket_destroy_cb): Use `g_hash_table_lookup()' instead of `g_hash_table_lookup_extended()'. Don't free the URI. (e_shell_view_remove_control_for_uri): Likewise. (show_existing_view): Use view->uri as the key when inserting the view. Remove the old view from the hash when destroying it. (create_new_view_for_uri): Same here. svn path=/trunk/; revision=12913
* Hide the storage_set_view_box *before* getting the child1_size [otherwise,Ettore Perazzoli2001-09-181-4/+3
| | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): Hide the storage_set_view_box *before* getting the child1_size [otherwise, the latter will, um, always be zero]. svn path=/trunk/; revision=12902
* [Fix #5990, Remembering Evolution window geometry.]Ettore Perazzoli2001-09-141-7/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_createNewView): gtk_widget_show() the new view returned by `e_shell_create_view()'. (e_shell_restore_from_settings): Same here, after loading the settings. * e-shell-view.c (activate_shortcut_cb): gtk_widget_show() the new view returned by `e_shell_create_view()'. * e-shell-view-menu.c (command_open_folder_in_new_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): gtk_widget_show() the view returned by `e_shell_create_view()'. * e-shell.c (e_shell_create_view): Don't show the view automatically anymore. * e-shell-view.c (e_shell_view_save_settings): Save the width and height of the window. (e_shell_view_load_settings): Restore the width and the height and gtk_window_set_default_size() based on them. svn path=/trunk/; revision=12816
* Disable DnD on the EStorageSetView to avoid strange behaviors.Ettore Perazzoli2001-09-141-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Oops. Remove duplicate free.Dan Winship2001-09-111-2/+0
| | | | | | * e-shell-view.c (socket_destroy_cb): Oops. Remove duplicate free. svn path=/trunk/; revision=12732
* Purify run. All small leaks.Dan Winship2001-09-101-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Replace "Evolution" with "Ximian Evolution" in a bunch of user-visibleEttore Perazzoli2001-09-061-6/+6
| | | | | | places. svn path=/trunk/; revision=12625
* [Fix #6971, Default folder should be the Summary.]Ettore Perazzoli2001-09-051-3/+3
| | | | | | | | | | | | | | | | | | | | * main.c (idle_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell.c (e_shell_create_view): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.c (socket_destroy_cb): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. (e_shell_view_save_settings): Likewise. * e-shell-folder-commands.c (e_shell_command_delete_folder): s/DEFAULT_URI/E_SHELL_VIEW_DEFAULT_URI/. * e-shell-view.h (DEFAULT_URI): Rename to `E_SHELL_VIEW_DEFAULT_URI'. Change from "evolution:/local/Inbox" to be "evolution:/summary". svn path=/trunk/; revision=12618
* Remove the folder from the EvolutionStorage as well as the EStorage.Peter Williams2001-09-041-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* Ooops. Save the pointer to the control for use after the view struct isEttore Perazzoli2001-08-251-8/+9
| | | | | | | | * e-shell-view.c (e_shell_view_remove_control_for_uri): Ooops. Save the pointer to the control for use after the view struct is freed. svn path=/trunk/; revision=12458
* New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' withEttore Perazzoli2001-08-251-59/+92
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c: New struct `View'. Replace `uri_to_control' in `EShellViewPrivate' with `uri_to_view'. (view_new): New. (hash_forall_destroy_view): New, replacing `hash_forall_destroy_control'. (destroy): Updated to match the uri_to_control -> uri_to_view changes. (socket_destroy_cb): Likewise. (get_view_for_uri): Renamed from `get_control_for_uri'. Return a View instead of a GtkWidget. (show_existing_view): Updated to use `get_view_from_uri', get a @view instead of a @control. (e_shell_view_display_uri): Updated to use `uri_to_view' instead of `uri_to_control'. (e_shell_view_remove_control_for_uri): Likewise. svn path=/trunk/; revision=12457
* Changed to get a @title and a @type. (update_for_current_uri): UpdatedEttore Perazzoli2001-08-251-48/+47
| | | | | | | | | | * e-shell-view.c (update_folder_title_bar): Changed to get a @title and a @type. (update_for_current_uri): Updated accordingly. (update_window_icon): Get a @type instead of a @folder. (update_for_current_uri): Updated accordingly. svn path=/trunk/; revision=12452
* [Fix #5978, "If a component dies, it's toolbar buttons remain".]Ettore Perazzoli2001-08-251-6/+17
| | | | | | | | | * e-shell-view.c (socket_destroy_cb): If the view belongs to a toplevel storage node, get the right type information with `e_storage_get_toplevel_node_uri()' instead of trying to get the [non-existing] folder for it. svn path=/trunk/; revision=12451
* Don't set the paneds' positions if the respective left-hand elements [i.e.Ettore Perazzoli2001-08-211-2/+9
| | | | | | | | | | | * e-shell-view.c (e_shell_view_load_settings): Don't set the paneds' positions if the respective left-hand elements [i.e. the shortcut bar and the folder bar] are hidden. (e_shell_view_show_folder_bar): Set the paned position to zero when hiding. (e_shell_view_show_shortcut_bar): Likewise. svn path=/trunk/; revision=12321
* Make sure we display a pin when we are popped up.Ettore Perazzoli2001-08-201-0/+3
| | | | | | | * e-shell-view.c (pop_up_folder_bar): Make sure we display a pin when we are popped up. svn path=/trunk/; revision=12259
* Don't set the paned tree position.Ettore Perazzoli2001-08-201-1/+0
| | | | | | | * e-shell-view.c (setup_widgets): Don't set the paned tree position. svn path=/trunk/; revision=12250
* Don't show the vbox here. (setup_widgets): Don't show theEttore Perazzoli2001-08-201-2/+2
| | | | | | | | * e-shell-view.c (setup_storage_set_subwindow): Don't show the vbox here. (setup_widgets): Don't show the storage_set_view_box here. svn path=/trunk/; revision=12246
* New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure theEttore Perazzoli2001-08-191-2/+6
| | | | | | | | | | * e-shell-view.c: New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure the pop-up is always this size or more. (setup_widgets): Pass %FALSE for @shrink to `e_paned_pack1()'. (reparent_storage_set_view_box_and_destroy_popup): Likewise. svn path=/trunk/; revision=12211
* New, replacing `shortcut_bar_mode_changed_cb'.Ettore Perazzoli2001-08-191-114/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (shortcut_bar_visibility_changed_cb): New, replacing `shortcut_bar_mode_changed_cb'. (folder_bar_visibility_changed_cb): New, replacing `folder_bar_mode_changed_cb'. (command_toggle_folder_bar): Use `e_shell_view_show_folder_bar()' instead of `e_shell_view_set_folder_bar_mode()'. (command_toggle_shortcut_bar): Use `e_shell_view_show_shortcut_bar()' instead of `e_shell_view_set_shortcut_bar_mode()'. (e_shell_view_menu_setup): Updated for the "shortcut_bar_visibility_changed" and "folder_bar_visibility_changed" signals and the above changes. * e-shell-view.c: New member `folder_bar_popup' in `EShellViewPrivate'. Replaced `folder_bar_mode' and `shortcut_bar_mode' with `folder_bar_shown' and `shortcut_bar_shown', respectively. (init): Updated to initialize these correctly. (reparent): New helper function. (reparent_storage_set_view_box_and_destroy_popup): New helper function. (popdown_transient_folder_bar): Updated to use the `folder_bar_popup'. (folder_bar_popup_map_callback): Renamed from `storage_set_view_box_map_cb'. (e_shell_view_set_shortcut_bar_mode): Removed. (e_shell_view_set_folder_bar_mode): Removed. (e_shell_view_show_shortcut_bar): New. All the calls to `e_shell_view_set_shortcut_bar_mode()' replaced with calls to this one. (e_shell_view_show_folder_bar): New. All the calls to `e_shell_view_set_folder_bar_mode()' replaced with calls to this one. (e_shell_view_folder_bar_shown): New. All the calls to `e_shell_view_get_folder_bar_mode()' replaced with calls to this one. (e_shell_view_shortcut_bar_shown): New. All the calls to `e_shell_view_get_shortcut_bar_mode()' replaced with calls to this one. (class_init): Replace signal `folder_bar_mode_changed' with `folder_bar_visibility_changed' and `shortcut_bar_mode_changed' with `shortcut_visibility_changed'. (e_shell_view_save_settings): Use keys "ShortcutBarShown" and "FolderBarShown" instead of "ShortcutBarMode" and "FolderBarMode", respectively. (e_shell_view_load_settings): Likewise. * e-shell-view.h: Removed enum `EShellViewSubwindowMode'. Renamed signal `shortcut_bar_mode_changed' to `shortcut_bar_visibility_changed' and `folder_bar_mode_changed' to `folder_bar_visibility_changed'. svn path=/trunk/; revision=12203
* Desensitize the move/copy/delete/rename in the menus (including rightJason Leach2001-08-171-0/+29
| | | | | | | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * e-shell-view.c (folder_selected_cb): Desensitize the move/copy/delete/rename in the menus (including right click) for stock folders. * Evolution-Icon.idl: Actually remove this file from CVS (its contents are now in Evolution-common.idl). svn path=/trunk/; revision=12139
* Add some little padding to the title bar so it looks nicer.Ettore Perazzoli2001-08-141-1/+1
| | | | | | | * e-shell-view.c (setup_widgets): Add some little padding to the title bar so it looks nicer. svn path=/trunk/; revision=11970
* Put the folder title bar into an EGrayBar.Ettore Perazzoli2001-08-121-4/+10
| | | | | | | | | | * e-shell-view.c (setup_widgets): Put the folder title bar into an EGrayBar. * e-gray-bar.c: New. * e-gray-bar.h: New. svn path=/trunk/; revision=11932
* Updated to display the parent folder's URI and its type as well.Ettore Perazzoli2001-08-101-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (user_create_new_item_callback): Updated to display the parent folder's URI and its type as well. * evolution-shell-component.c (impl_userCreateNewItem): Updated to get the @parent_folder_physical_uri and the @parent_folder_type. (class_init): Update the "user_create_new_item" signal to have @parent_folder_physical_uri and @parent_folder_type args. * e-shell-view.c (get_type_for_folder): Don't bork on a NULL @physical_uri_return. (e_shell_view_get_current_physical_uri): New. (e_shell_view_get_current_folder_type): New. * e-shell-user-creatable-items-handler.c (e_shell_user_creatable_items_handler_setup_menus): Replace @ui_component arg with a @shell_view arg. Set it on the UIComponent using gtk_object_set_data(). (verb_fn): Pass the type and physical URI of the current folder; retrieve that from the shell_view got with gtk_object_get_data(). * Evolution-ShellComponent.idl (userCreateNewItem): New args @parent_folder_uri, @parent_folder_type. svn path=/trunk/; revision=11863
* Add the menu items using the EShellUserCreatableItemsHandler.Ettore Perazzoli2001-08-101-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Add the menu items using the EShellUserCreatableItemsHandler. * e-shell-user-creatable-items-handler.c: New. * e-shell-user-creatable-items-handler.h: New. * e-shell.c: New member `user_creatable_items_handler' in `EShellPrivate'. (init): Initialize to NULL. (destroy): Unref. (e_shell_construct): Create here. (e_shell_get_user_creatable_items_handler): New accessor. (setup_components): Add the registered components to the user_creatable_items_handler. * evolution-test-component.c (factory_fn): Add a couple sample user-creatable items. (user_create_new_item_callback): New callback for the "user_create_new_item" signal on the EvolutionShellComponent. (factory_fn): Connect. * e-shell.c (e_shell_get_component_registry): New. * evolution-shell-component.c: New enum value `USER_CREATE_NEW_ITEM'. New member `user_create_item_types' in `_EvolutionShellComponentPrivate'. (init): Init to NULL. (impl_destroy): Free it. (user_creatable_item_type_free): New helper function. (user_creatable_item_type_new): New helper function. (impl_userCreateNewItem): New, implementation for ::userCreateNewItem. (class_init): Install the "user_create_new_item" signal and the userCreateNewItem impl. (impl__get_external_uri_schemas): Renamed from `impl_ShellComponent__get_external_uri_schemas'. (impl___get_supported_types): Renamed from `impl_ShellComponent__get_supported_types'. (impl__get_user_creatable_item_types): New, implementation for the `user_creatable_item_types' attribute. (class_init): Install it. (evolution_shell_component_add_user_creatable_item): New. * evolution-shell-component.h: Added signal `user_create_new_item'. * Evolution-ShellComponent.idl: Added typedefs `UserCreatableItemType', `UserCreatableItemTypeList'. New attribute `user_creatable_item_types'. (userCreateNewItem): New. svn path=/trunk/; revision=11849
* [Removing Evolution::LocalStorage interface, abstracting the unread countsJason Leach2001-08-041-48/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-56/+27
| | | | | | node that contains everything else. svn path=/trunk/; revision=11610
* Set the `set_folder_uri' to NULL when freeing it.Ettore Perazzoli2001-08-031-0/+2
| | | | | | | | | | * e-shell-view.c (switch_on_folder_tree_click): Set the `set_folder_uri' to NULL when freeing it. * e-task-bar.c (e_task_bar_remove_task): Just destroy the widget. No need to `gtk_container_remove()' it. svn path=/trunk/; revision=11597
* $(BONOBO_CONF_CFLAGS) was here twice, took out one of them.Jason Leach2001-07-261-1/+2
| | | | | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * Makefile.am (INCLUDES): $(BONOBO_CONF_CFLAGS) was here twice, took out one of them. * e-shell-view.c (socket_destroy_cb): Mem leak fix. Thanks to the amazing Jacob B. Bug #5054. svn path=/trunk/; revision=11402
* Don't handle button events whose button number is not 1.Ettore Perazzoli2001-07-241-1/+2
| | | | | | | * e-shell-view.c (storage_set_view_box_button_release_event_cb): Don't handle button events whose button number is not 1. svn path=/trunk/; revision=11305
* [Fix a crash if you start evolution with a bad URI.]Jason Leach2001-07-211-1/+1
| | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [Fix a crash if you start evolution with a bad URI.] * e-shell.c (e_shell_create_view): If we can't display the URI, display the default uri. This is because it's necessary for e_shell_view_display_uri() to run all the way through so corba interfaces get setup. * e-shell-view.c (e_shell_view_display_uri): If we fail to create a new view for a URI (happens if you pass in an invalid URI), be sure to return FALSE. svn path=/trunk/; revision=11290
* Make the local storage name "Local Folders" instead of "local", looksJason Leach2001-07-201-2/+0
| | | | | | | | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * e-local-storage.h: Make the local storage name "Local Folders" instead of "local", looks better with "My Evolution", "VFolders", and "Other Contacts". * e-shell-view.h: Put the #define DEFAULT_URI here instead of in e-shell-view.c. * main.c: Remove the duplicated #define STARTUP_URI, actually make use of the nice defines. * e-shell-folder-commands.c (e_shell_command_delete_folder): Use the DEFAULT_URI here instead of a hard coded string. * e-shortcuts.c (e_shortcuts_add_default_group): Fix the URI's here to use "Local Folder". svn path=/trunk/; revision=11241
* Line up the padding for the folder title bar labels when you have theJason Leach2001-07-201-2/+1
| | | | | | | | | | | | | | | | 2001-07-19 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Line up the padding for the folder title bar labels when you have the folder bar enabled or disabled (previously when disabled it was padding ~8 pixels to the right while the other had 0). * e-shell-view.c (setup_widgets): Take out a 2 pixel padding around the vbox containing the title bar, folder bar, message list and mail display. Also remove 2 more extra pixels of padding on the bottom. svn path=/trunk/; revision=11238
* Fix a crash that could happen by closing one or more views, and thenEttore Perazzoli2001-07-151-2/+3
| | | | | | clicking on the off-line button. svn path=/trunk/; revision=11107
* Make sure to create ~/evolution/config/ if it doesn't exist. (ShellViewJason Leach2001-07-111-2/+12
| | | | | | | | | | | 2001-07-11 Jason Leach <jleach@ximian.com> * e-shell-view.c (e_shell_view_save_settings): Make sure to create ~/evolution/config/ if it doesn't exist. (ShellView settings get saved before component settings, so when the mailer comes around to saving ETree stuff, this dir will be there). Fixes bug #4279. svn path=/trunk/; revision=10991
* It's very possible that get_storage_set_path_from_uri() returns NULL (5 ofJason Leach2001-07-101-1/+1
| | | | | | | | | | | 2001-07-09 Jason Leach <jleach@ximian.com> * e-shell-view.c (updated_folder_cb): It's very possible that get_storage_set_path_from_uri() returns NULL (5 of the 6 return cases), so check that it's not NULL before trying to strcmp() it. Fixes a startup crash. svn path=/trunk/; revision=10935
* Return a gboolean saying whether or not the shortcut changed. Use strcmpDan Winship2001-07-091-0/+5
| | | | | | | | | | | | | | | | | | | * e-shortcuts.c (shortcut_item_update): Return a gboolean saying whether or not the shortcut changed. Use strcmp rather than pointer comparisons to determine this. (update_shortcut_and_emit_signal): propagate the gboolean from shortcut_item_update (and only emit the signal if it's TRUE). (update_shortcuts_by_path): Only call make_dirty if something changed. (storage_set_new_folder_callback, storage_set_updated_folder_callback): Don't call make_dirty: update_shortcuts_by_path will have called it if necessary. * e-shell-view.c (updated_folder_cb): Don't call update_for_current_uri if the folder that was updated isn't the one being displayed. svn path=/trunk/; revision=10912
* use bonobo-conf everywhereDietmar Maurer2001-07-041-96/+92
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* [Fixed #3643, Shell crash when component crashed]Ettore Perazzoli2001-07-031-1/+10
| | | | | | | | | * e-shell-view.c (socket_destroy_cb): Fix Jason's broken fix for #3205 that was causing #3643. It is not safe to strcmp() the return value from `e_shell_view_get_current_uri()' as it might be NULL already. svn path=/trunk/; revision=10739
* Get the "Open in a New Window" shortcut right-click menu to actuallyEttore Perazzoli2001-07-021-11/+26
| | | | | | | | work (I had removed a line by mistake), and fix a crash that would happen if user opened a new view, closed it and then created a new folder. svn path=/trunk/; revision=10657
* Change the internal structure for shortucts, so that it contains aEttore Perazzoli2001-07-011-1/+5
| | | | | | | | | | | | | | | | | | | type and a name too. The name will allow renaming shortcuts (thus decoupling the name of the folder the shortcuts points to from the name of the shortcut); the type member is used to cache the type of the folder we point to so that we can still display the right icon even if the folder is currently not in the storage (e.g. this happens for IMAP folders when you haven't opened the corresponding IMAP node yet). I don't like the way this is designed at all (mainly, the responsibility for saving the values should be moved elsewhere), but I'll fix it later. Also, I added an "Open in New Window" right-click menu item for shortcuts. svn path=/trunk/; revision=10649
* This is a first shoot at making shortcuts renameable [#3719];Ettore Perazzoli2001-06-301-2/+3
| | | | | | | | unfinished. Also, it causes the shortcut bar to stop displaying message unread count, but this is unfixable until we get rid of the ::LocalStorage interface, which should hopefully happen soon. svn path=/trunk/; revision=10621
* Rename `e_shell_new_view()' into `e_shell_create_view()' to avoidEttore Perazzoli2001-06-281-1/+1
| | | | | | confusion with `e_shell_view_new()'. svn path=/trunk/; revision=10556
* display a selected uri in a timeout rather than right away, so the UIjacob berkman2001-06-261-3/+57
| | | | | | | | | | | | | | | 2001-06-25 jacob berkman <jacob@ximian.com> * e-shell-view.c: (set_folder_timeout): display a selected uri in a timeout rather than right away, so the UI feels a bit more responsive, and the tree is more navigable via keyboard (switch_on_folder_tree_click): use the timeout rather than setting the URI right away (destroy): remove the timeout if it still exists (update_for_current_uri): if there is a timeout set, don't update (e_shell_view_display_uri): remove the timeout if it exists svn path=/trunk/; revision=10490
* (Implemented deleting folders in the shell. Files changed that aren'tJason Leach2001-06-241-7/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (Implemented deleting folders in the shell. Files changed that aren't noted below were simply small indentation/space changes. To play with deleting folders, right click on a selected folder in the folder tree, then choose Delete.) 2001-06-23 Jason Leach <jleach@ximian.com> * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Make the folder tree have a similar expanded state as the shell's folder tree. * e-local-storage.c (remove_folder): New function that does the meat of actual deletion stuff. (remove_folder_directory): A helper function that remove_folder() uses. (component_async_remove_folder_callback): A new callback to do the removing stuff from shell (if there weren't errors from the component). (impl_async_remove_folder): Implemented this. * evolution-shell-component-client.c (evolution_shell_component_client_async_remove_folder): Implemented this. * e-shell-view.c (e_shell_view_remove_control_for_uri): New function. svn path=/trunk/; revision=10446
* Stylistical changes: moveEttore Perazzoli2001-06-241-30/+36
| | | | | | | | e_shell_view_{get,set}_current_shortcuts_group_num() at the bottom of the file, add pre-conditions to them, and reindent the header file slightly. svn path=/trunk/; revision=10444
* Remove some useless `#if 0'ed code.Ettore Perazzoli2001-06-231-68/+0
| | | | svn path=/trunk/; revision=10442
* Get rid of the tons of ugly Bonobo Warnings by removing the code thatEttore Perazzoli2001-06-231-40/+4
| | | | | | tried to put messages in the status bar which doesn't exist anymore. svn path=/trunk/; revision=10441
* Update the copyrights, replacing Helix Code with Ximian andEttore Perazzoli2001-06-231-3/+3
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Get the menu hints to work with the new status bar.Ettore Perazzoli2001-06-231-6/+41
| | | | svn path=/trunk/; revision=10437
* Implemented an Evolution::Activity interface for keeping track ofEttore Perazzoli2001-06-231-52/+96
| | | | | | | | | | background tasks. The Activity interface is added to the shell, and the status of the various tasks is now displayed in a task bar widget at the bottom of the EShellView. I also implemented a simple test component to test all this stuff. svn path=/trunk/; revision=10434
* Check priv->uri isn't null before strcmp'ing it here too.Not Zed2001-06-131-1/+1
| | | | | | | | | 2001-06-13 Not Zed <NotZed@Ximian.com> * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri isn't null before strcmp'ing it here too. svn path=/trunk/; revision=10206
* Don't destroy the offline_toggle_pixmap: the offline_toggle 0wnz it.Dan Winship2001-06-121-2/+1
| | | | | | | | | * e-shell-view.c (destroy): Don't destroy the offline_toggle_pixmap: the offline_toggle 0wnz it. (update_for_current_uri): Check priv->uri isn't NULL before strcmp()ing it. svn path=/trunk/; revision=10187
* Committing the new My Evolution.Iain Holmes2001-06-091-31/+61
| | | | svn path=/trunk/; revision=10163
* (Fix bug #3205: Component crash causes folder switch even when not needed)Jason Leach2001-06-071-4/+11
| | | | | | | | | | | | | 2001-06-06 Jason Leach <jleach@ximian.com> (Fix bug #3205: Component crash causes folder switch even when not needed) * e-shell-view.c (socket_destroy_cb): Only flip around the ShellView to different folders when we're currently viewing the URI that's being closed/crashed. svn path=/trunk/; revision=10137
* (Fix bug #418: Save state of folder tree view)Jason Leach2001-06-071-11/+52
| | | | | | | | | | | | | | | | | | | | | | | | 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
* (Fixing bug #1299: Shell saves shortcuts when display name changes)Jason Leach2001-06-061-6/+6
| | | | | | | | | | | | | | | | | | | | 2001-06-04 Jason Leach <jleach@ximian.com> (Fixing bug #1299: Shell saves shortcuts when display name changes) * e-shortcuts.c (class_init): New signal: "update_shortcut". * e-shortcuts-view-model.c (e_shortcuts_view_model_construct): Connect thew new signal here. * e-shortcuts-view-model.c (shortcuts_update_shortcut_cb): New function, uses the new e_shortcut_model_update_item(). * e-shell-view.c (corba_interface_set_folder_bar_label): Fix a warning here. svn path=/trunk/; revision=10116
* New function (probably should just be static).Jason Leach2001-05-311-0/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view.c (e_shell_view_set_current_shortcuts_group_num): New function (probably should just be static). (e_shell_view_load_settings): Load the current shortcut group here using the above new function. (e_shell_view_save_settings): Save current shortcut group in here. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-folder-title-bar.c: New 'folder_bar_label' member for EShellFolderTitleBar, it's for information that's shown to the left of the icon like the dates in the calendar (or, potentially total and unread numbers for mailer). (e_shell_folder_title_bar_set_folder_bar_label): New function, lets others set the title bar extra label. * Evolution-ShellView.idl: New method 'setFolderBarLabel' for our exposed ShellView interface. * evolution-shell-view.c (class_init): New signal "set_folder_bar_label" for EvolutionShellViewClass. * evolution-shell-view.c (impl_ShellView_set_folder_bar_label): Emit the new signal here. * e-shell-view.c (setup_corba_interface): Connect the signal here. * e-shell-view.c (corba_interface_set_folder_bar_label): New function, callback for the above signals, does the actual extra label setting for the folder title bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Fix a warning here. svn path=/trunk/; revision=10059
* Removed an unecessary sleep(2) call, so evolution will start up 2 secondsJason Leach2001-05-311-0/+16
| | | | | | | | | | | | | | | | | | | | | 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Removed an unecessary sleep(2) call, so evolution will start up 2 seconds faster now. 2001-05-30 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to their implementation functions. * e-shell-view.c (e_shell_view_get_current_shortcuts_group_num): New function, use it to find out which shourtcut group is currently open on the shortcut bar. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Implement this using new function described above. svn path=/trunk/; revision=10052
* Added missing castt. (setup_offline_toggle): Likewise.Federico Mena Quintero2001-05-301-3/+3
| | | | | | | | | 2001-05-29 Federico Mena Quintero <federico@ximian.com> * e-shell-view.c (setup_progress_bar): Added missing castt. (setup_offline_toggle): Likewise. svn path=/trunk/; revision=10048
* unref the control when finished with it (setup_offline_toggle): dittoJP Rosevear2001-05-301-3/+9
| | | | | | | | | | | 2001-05-29 JP Rosevear <jpr@ximian.com> * e-shell-view.c (setup_progress_bar): unref the control when finished with it (setup_offline_toggle): ditto (destroy): destroy offline and progress widgets svn path=/trunk/; revision=10043
* place the shortcut bar in a framejacob berkman2001-05-261-6/+12
| | | | | | | | | 2001-05-25 jacob berkman <jacob@ximian.com> * e-shell-view.c (setup_widgets): place the shortcut bar in a frame svn path=/trunk/; revision=10006
* Added ETSPECDIR. Added e-storage-set-view.etspec to get installed.Christopher James Lahey2001-05-261-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add a button and an icon to toggle between online and offlineEttore Perazzoli2001-05-211-23/+178
| | | | | | operation. svn path=/trunk/; revision=9900
* Implemented the "Copy Folder" and "Move Folder" menu items. Untested.Ettore Perazzoli2001-05-201-0/+34
| | | | svn path=/trunk/; revision=9899
* Change the code to pop-up the folder context menu to use the stuffEttore Perazzoli2001-05-171-1/+0
| | | | | | already defined in the UI xml file for the shell views. svn path=/trunk/; revision=9867
* the only problematic area - pass NULL for now in as the BonoboUIContainer.Chris Toshok2001-05-111-7/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Initial implementation for the "warning, some connections are stillEttore Perazzoli2001-05-041-1/+20
| | | | | | active" dialog. svn path=/trunk/; revision=9661
* Proxy events to the tooltip object properly.Christopher James Lahey2001-04-181-0/+50
| | | | | | | | | 2001-04-17 Christopher James Lahey <clahey@ximian.com> * e-shell-view.c (storage_set_view_box_event_cb): Proxy events to the tooltip object properly. svn path=/trunk/; revision=9428
* Don't get into an infinite loop when clicking on an IMAP storage. MightDan Winship2001-04-121-0/+5
| | | | | | | | * e-shell-view.c (switch_on_folder_tree_click): Don't get into an infinite loop when clicking on an IMAP storage. Might not be the best fix? svn path=/trunk/; revision=9258
* Fix headers. Same here. Same here. Same here. Same here.Kjartan Maraas2001-04-051-0/+3
| | | | | | | | | | | | 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
* Merge fix for #1117 (g-warning being emitted when clicking on storageEttore Perazzoli2001-04-041-1/+1
| | | | | | nodes) from evolution-0-10-branch. svn path=/trunk/; revision=9135
* Pulled up fixes from evolution-0-10-branch.Ettore Perazzoli2001-04-041-3/+6
| | | | svn path=/trunk/; revision=9133
* Remove/replace unneeded includes and move around stuff so that systemKjartan Maraas2001-03-301-4/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Bumped gal requirement to 0.5.99.8.Christopher James Lahey2001-03-201-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Update copyrights for files modified in year 2001.Ettore Perazzoli2001-01-281-1/+1
| | | | svn path=/trunk/; revision=7872
* Woooho. Fixed resize of popped-up folder bars.Ettore Perazzoli2001-01-281-2/+9
| | | | | | | Thanks to clahey for discovering a stupid mistake in the signal handler signatures. svn path=/trunk/; revision=7868
* Remove all instances of non-portable macro `__FUNCTION__' from theEttore Perazzoli2001-01-271-5/+1
| | | | | | shell. svn path=/trunk/; revision=7841
* Fix a bug that could happen when a shell view would be destroyed andEttore Perazzoli2001-01-251-2/+2
| | | | | | the unread message count would change in some folder. svn path=/trunk/; revision=7803
* Fix the logic for updating the shortuct labels when the display namesEttore Perazzoli2001-01-241-27/+10
| | | | | | | | | | of the corresponding folders change, so that it doesn't crash. I have removed the redundant "folder_updated" signal on `ELocalStorage' and changed EStorage so that it emits "updated_folder" automatically when any of the folders changes its properties. svn path=/trunk/; revision=7770
* (Bug #883: Shortcut bar does not update when a folders display nameJason Leach2001-01-191-0/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-01-17 Jason Leach <jasonleach@usa.net> (Bug #883: Shortcut bar does not update when a folders display name changes) * e-local-storage.c (class_init): Define a new "folder_updated" signal here. (bonobo_interface_update_folder_cb): Emit the new folder_updated signal here. * e-shell-view.c (e_shell_view_construct): Connect the EShell::ELocalStorage folder_updated signal here. Also connect the updated_folder signal coming from EShell::EStorageSet to the new callback. * e-shell-view.c (folder_updated_cb): Callback that actually initiates the shell updating. * e-shortcuts.c (e_shortcuts_update_shortcut_by_uri): New function. Given a uri for a shortcut bar item, we'll update it. * e-shortcuts.c (e_shortcuts_remove_shortcut_by_uri): New function. Given a uri for a shortcut bar item, we'll remove it. * e-shortcuts.c (removed_folder_cb): Connect this callback that will remove a renamed vfolder from the shortcut bar. Temporary fix to the problem of renaming vfolders and having the shortcut bar think the old vfolder still exists. (Bug #1168: Shortcut bar and icon size persistence) * e-shell-view.c (save_shortcut_bar_icon_modes): New static function, save the icon modes (for all shortcut bar groups, even though we only have one group now). (load_shortcut_bar_icon_modes): New static function, load the saved shortcut bar group icon modes and apply them to our shortcut bar. svn path=/trunk/; revision=7639
* Replace `--with-x-mailer' with a more generic `--with-sub-version'.Ettore Perazzoli2001-01-181-1/+5
| | | | | | | | | The value you provide is now also displayed in the shell title bar. And while I was at it, I changed the title bar so that it displays the name of the folder first (instead of "Evolution - Inbox" it says "Inbox - Evolution 0.8 [yaddayadda]"). svn path=/trunk/; revision=7585
* set config path on window.Michael Meeks2001-01-171-0/+4
| | | | | | | | | 2001-01-16 Michael Meeks <michael@helixcode.com> * e-shell-view.c (e_shell_view_construct): set config path on window. svn path=/trunk/; revision=7556
* (Fix bug #934: Add Right-click item to hide the shortcut bar)Jason Leach2001-01-141-0/+16
| | | | | | | | | | | | | | | | | | 2001-01-13 Jason Leach <jasonleach@usa.net> (Fix bug #934: Add Right-click item to hide the shortcut bar) * e-shortcuts-view.c (class_init): Create a new hide_requested signal. (hide_shortcut_bar_cb): New function that gets called from the right click menu items, it emits the hide_requested signal. * e-shell-view.c (setup_widgets): Connect the hide_requested from the shortcut bar. (hide_requested_cb): New function. svn path=/trunk/; revision=7485
* Remove the "Already have view for..." message. People keep assuming it'sDan Winship2001-01-121-2/+0
| | | | | | | * e-shell-view.c (show_existing_view): Remove the "Already have view for..." message. People keep assuming it's an error. svn path=/trunk/; revision=7411
* Pass path+1 rather than path to get_type_for_storage, to match theDan Winship2000-12-131-1/+1
| | | | | | | | * e-shell-view.c (get_control_for_uri): Pass path+1 rather than path to get_type_for_storage, to match the convention used by its other callers. svn path=/trunk/; revision=6942
* return NULL if no {folder,storage} is found. (get_control_for_uri): returnDan Winship2000-12-121-1/+7
| | | | | | | | * e-shell-view.c (get_type_for_{folder,storage}): return NULL if no {folder,storage} is found. (get_control_for_uri): return NULL if no folder_type is found. svn path=/trunk/; revision=6914
* Complete the code to associate a URI and a folder type to the toplevelEttore Perazzoli2000-12-091-47/+95
| | | | | | | node in a storage. It sucks a bit and needs a little more refactoring. svn path=/trunk/; revision=6878
* Start implementing a physical URI property for the toplevel nodes inEttore Perazzoli2000-12-051-0/+23
| | | | | | storages. Also add initial code in the shell to handle that. svn path=/trunk/; revision=6787
* return NULL if we can't create a view.Michael Meeks2000-12-051-1/+6
| | | | | | | | | | | | | | 2000-12-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (get_control_for_uri): return NULL if we can't create a view. (setup_evolution_shell_view_interface): add precondition. + lots of cleans. svn path=/trunk/; revision=6778
* New `createNewView' method in `Evolution::Shell'. Register the shellEttore Perazzoli2000-12-051-18/+45
| | | | | | | | | at startup; if a shell is already registered, use this CORBA method to make it open a new view and exit. Also, fixed a missing ref problem with EShortcut (it used to crash on exit when more than one view was open). svn path=/trunk/; revision=6774
* add (e_shell_view_construct): hook up to system_exception on ui_container.Michael Meeks2000-11-141-0/+16
| | | | | | | | | | 2000-11-14 Michael Meeks <michael@helixcode.com> * e-shell-view.c (unmerge_on_error): add (e_shell_view_construct): hook up to system_exception on ui_container. svn path=/trunk/; revision=6571
* A very, long, very tedious IDL API rename and re-scoping;Michael Meeks2000-11-111-17/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | this script + some grunt approximates the work: s/Evolution_MessageList/GNOME_Evolution_MessageList/g; s/GNOME_Evolution_MessageList_select_message/GNOME_Evolution_MessageList_selectMessage/g; s/GNOME_Evolution_MessageList_open_message/GNOME_Evolution_MessageList_openMessage/g; s/Evolution_Folder([ \t])/GNOME_Evolution_Folder$1/g; s/Evolution_FolderTypeList/GNOME_Evolution_FolderTypeList/g; s/Evolution_FolderBrowser/GNOME_Evolution_FolderBrowser/g; s/GNOME_Evolution_FolderBrowser_get_message_list/GNOME_Evolution_FolderBrowser_getMessageList/g; s/Evolution_LocalStorage/GNOME_Evolution_LocalStorage/g; s/GNOME_Evolution_LocalStorage_update_folder/GNOME_Evolution_LocalStorage_updateFolder/g; s/Evolution_ShellView/GNOME_Evolution_ShellView/g; s/GNOME_Evolution_ShellView_set_message/GNOME_Evolution_ShellView_setMessage/g; s/GNOME_Evolution_ShellView_unset_message/GNOME_Evolution_ShellView_unsetMessage/g; s/GNOME_Evolution_ShellView_change_current_view/GNOME_Evolution_ShellView_changeCurrentView/g; s/Evolution_StorageSetViewListener/GNOME_Evolution_StorageSetViewListener/g; s/GNOME_Evolution_StorageSetViewListener_folder_selected/GNOME_Evolution_StorageSetViewListener_notifyFolderSelected/g; s/GNOME_Evolution_StorageSetViewListener_storage_selected/GNOME_Evolution_StorageSetViewListener_notifyStorageSelected/g; s/Evolution_StorageSetView/GNOME_Evolution_StorageSetView/g; s/GNOME_Evolution_StorageSetView_add_listener/GNOME_Evolution_StorageSetView_addListener/g; s/GNOME_Evolution_StorageSetView_remove_listener/GNOME_Evolution_StorageSetView_removeListener/g; s/Evolution_Shell/GNOME_Evolution_Shell/g; s/GNOME_Evolution_Shell_get_component_for_type/GNOME_Evolution_Shell_getComponentByType/g; s/GNOME_Evolution_Shell_user_select_folder/GNOME_Evolution_Shell_selectUserFolder/g; s/GNOME_Evolution_Shell_get_local_storage/GNOME_Evolution_Shell_getLocalStorage/g; s/GNOME_Evolution_Shell_create_storage_set_view/GNOME_Evolution_Shell_createStorageSetView/g; s/Evolution_FolderSelectionListener/GNOME_Evolution_FolderSelectionListener/g; s/GNOME_Evolution_FolderSelectionListener_selected/GNOME_Evolution_FolderSelectionListener_notifySelected/g; s/GNOME_Evolution_FolderSelectionListener_cancel/GNOME_Evolution_FolderSelectionListener_notifyCanceled/g; s/Evolution_Storage/GNOME_Evolution_Storage/g; s/GNOME_Evolution_Storage_add_listener/GNOME_Evolution_Storage_addListener/g; s/GNOME_Evolution_Storage_remove_listener/GNOME_Evolution_Storage_removeListener/g; s/GNOME_Evolution_StorageListener_destroyed/GNOME_Evolution_StorageListener_notifyDestroyed/g; s/GNOME_Evolution_StorageListener_new_folder/GNOME_Evolution_StorageListener_notifyFolderCreated/g; s/GNOME_Evolution_StorageListener_update_folder/GNOME_Evolution_StorageListener_notifyFolderUpdated/g; s/GNOME_Evolution_StorageListener_removed_folder/GNOME_Evolution_StorageListener_notifyFolderRemoved/g; s/GNOME_Evolution_StorageRegistry_register_storage/GNOME_Evolution_StorageRegistry_addStorage/g; s/GNOME_Evolution_StorageRegistry_unregister_storage/GNOME_Evolution_StorageRegistry_removeStorageByName/g; s/Evolution_ShellComponent/GNOME_Evolution_ShellComponent/g; s/GNOME_Evolution_ShellComponent_set_owner/GNOME_Evolution_ShellComponent_setOwner/g; s/GNOME_Evolution_ShellComponent_unset_owner/GNOME_Evolution_ShellComponent_unsetOwner/g; s/GNOME_Evolution_ShellComponent_create_view/GNOME_Evolution_ShellComponent_createView/g; s/GNOME_Evolution_ShellComponent_async_create_folder/GNOME_Evolution_ShellComponent_addFolderAsync/g; s/GNOME_Evolution_ShellComponent_async_remove_folder/GNOME_Evolution_ShellComponent_removeFolderAsync/g; s/GNOME_Evolution_ShellComponent_populate_folder_context_menu/GNOME_Evolution_ShellComponent_populateFolderContextMenu/g; s/GNOME_Evolution_ShellComponentListener_report_result/GNOME_Evolution_ShellComponentListener_notifyResult/g; s/Evolution_Session/GNOME_Evolution_Session/g; s/GNOME_Evolution_Session_save_configuration/GNOME_Evolution_Session_saveConfiguration/g; s/GNOME_Evolution_Session_load_configuration/GNOME_Evolution_Session_loadConfiguration/g; s/Evolution_Calendar_Cal/GNOME_Evolution_Calendar_Cal/g; s/GNOME_Evolution_Calendar_Cal_get_n_objects/GNOME_Evolution_Calendar_Cal_countObjects/g; s/GNOME_Evolution_Calendar_Cal_get_object/GNOME_Evolution_Calendar_Cal_getObject/g; s/GNOME_Evolution_Calendar_Cal_get_uids/GNOME_Evolution_Calendar_Cal_getUIds/g; s/GNOME_Evolution_Calendar_Cal_get_changed_uids/GNOME_Evolution_Calendar_Cal_getChangedUIds/g; s/GNOME_Evolution_Calendar_Cal_get_objects_in_range/GNOME_Evolution_Calendar_Cal_getObjectsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_in_range/GNOME_Evolution_Calendar_Cal_getAlarmsInRange/g; s/GNOME_Evolution_Calendar_Cal_get_alarms_for_object/GNOME_Evolution_Calendar_Cal_getAlarmsForObject/g; s/GNOME_Evolution_Calendar_Cal_update_object/GNOME_Evolution_Calendar_Cal_updateObject/g; s/GNOME_Evolution_Calendar_Cal_remove_object/GNOME_Evolution_Calendar_Cal_removeObject/g; s/Evolution_Calendar_Listener/GNOME_Evolution_Calendar_Listener/g; s/GNOME_Evolution_Calendar_Listener_cal_loaded/GNOME_Evolution_Calendar_Listener_notifyCalLoaded/g; s/GNOME_Evolution_Calendar_Listener_obj_updated/GNOME_Evolution_Calendar_Listener_notifyObjUpdated/g; s/GNOME_Evolution_Calendar_Listener_obj_removed/GNOME_Evolution_Calendar_Listener_notifyObjRemoved/g; s/Evolution_Calendar_CalFactory/GNOME_Evolution_Calendar_CalFactory/g; s/GNOME_Evolution_Calendar_CalFactory_load/GNOME_Evolution_Calendar_CalFactory_load/g; s/GNOME_Evolution_Calendar_CalFactory_create/GNOME_Evolution_Calendar_CalFactory_create/g; s/Evolution_Composer/GNOME_Evolution_Composer/g; s/GNOME_Evolution_Composer_set_headers/GNOME_Evolution_Composer_setHeaders/g; s/GNOME_Evolution_Composer_set_body_text/GNOME_Evolution_Composer_setBodyText/g; s/GNOME_Evolution_Composer_attach_MIME/GNOME_Evolution_Composer_attachMIME/g; s/GNOME_Evolution_Composer_attach_data/GNOME_Evolution_Composer_attachData/g; s/GNOME_Evolution_Composer_show/GNOME_Evolution_Composer_show/g; s/Evolution_Addressbook_SelectNames/GNOME_Evolution_Addressbook_SelectNames/g; s/GNOME_Evolution_Addressbook_SelectNames_add_section/GNOME_Evolution_Addressbook_SelectNames_addSection/g; s/GNOME_Evolution_Addressbook_SelectNames_get_entry_for_section/GNOME_Evolution_Addressbook_SelectNames_getEntryBySection/g; s/GNOME_Evolution_Addressbook_SelectNames_activate_dialog/GNOME_Evolution_Addressbook_SelectNames_activateDialog/g; s/Evolution_CardCursor/GNOME_Evolution_Addressbook_CardCursor/g; s/GNOME_Evolution_Addressbook_CardCursor_get_length/GNOME_Evolution_Addressbook_CardCursor_getLength/g; s/GNOME_Evolution_Addressbook_CardCursor_get_nth/GNOME_Evolution_Addressbook_CardCursor_getNth/g; s/Evolution_BookViewListener/GNOME_Evolution_Addressbook_BookViewListener/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_added/GNOME_Evolution_Addressbook_BookViewListener_notifyCardAdded/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_removed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_card_changed/GNOME_Evolution_Addressbook_BookViewListener_notifyCardChanged/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_sequence_complete/GNOME_Evolution_Addressbook_BookViewListener_notifySequenceComplete/g; s/GNOME_Evolution_Addressbook_BookViewListener_signal_status_message/GNOME_Evolution_Addressbook_BookViewListener_notifyStatusMessage/g; s/Evolution_BookView/GNOME_Evolution_Addressbook_BookView/g; s/Evolution_Book/GNOME_Evolution_Addressbook_Book/g; s/GNOME_Evolution_Addressbook_Book_get_vcard/GNOME_Evolution_Addressbook_Book_getVCard/g; s/GNOME_Evolution_Addressbook_Book_can_write/GNOME_Evolution_Addressbook_Book_isWriteable/g; s/GNOME_Evolution_Addressbook_Book_can_write_card/GNOME_Evolution_Addressbook_Book_isCardWriteable/g; s/GNOME_Evolution_Addressbook_Book_create_card/GNOME_Evolution_Addressbook_Book_addCard/g; s/GNOME_Evolution_Addressbook_Book_remove_card/GNOME_Evolution_Addressbook_Book_removeCard/g; s/GNOME_Evolution_Addressbook_Book_modify_card/GNOME_Evolution_Addressbook_Book_modifyCard/g; s/GNOME_Evolution_Addressbook_Book_get_cursor/GNOME_Evolution_Addressbook_Book_getCursor/g; s/GNOME_Evolution_Addressbook_Book_get_book_view/GNOME_Evolution_Addressbook_Book_getBookView/g; s/GNOME_Evolution_Addressbook_Book_get_changes/GNOME_Evolution_Addressbook_Book_getChanges/g; s/GNOME_Evolution_Addressbook_Book_check_connection/GNOME_Evolution_Addressbook_Book_checkConnection/g; s/GNOME_Evolution_Addressbook_Book_get_static_capabilities/GNOME_Evolution_Addressbook_Book_getStaticCapabilities/g; s/GNOME_Evolution_Addressbook_Book_get_name/GNOME_Evolution_Addressbook_Book_getName/g; s/Evolution_BookListener/GNOME_Evolution_Addressbook_BookListener/g; s/GNOME_Evolution_Addressbook_BookListener_respond_create_card/GNOME_Evolution_Addressbook_BookListener_notifyCardCreated/g; s/GNOME_Evolution_Addressbook_BookListener_respond_remove_card/GNOME_Evolution_Addressbook_BookListener_notifyCardRemoved/g; s/GNOME_Evolution_Addressbook_BookListener_respond_modify_card/GNOME_Evolution_Addressbook_BookListener_notifyCardModified/g; s/GNOME_Evolution_Addressbook_BookListener_report_open_book_progress/GNOME_Evolution_Addressbook_BookListener_notifyOpenBookProgress/g; s/GNOME_Evolution_Addressbook_BookListener_respond_open_book/GNOME_Evolution_Addressbook_BookListener_notifyBookOpened/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_cursor/GNOME_Evolution_Addressbook_BookListener_notifyCursorRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_view/GNOME_Evolution_Addressbook_BookListener_notifyViewRequested/g; s/GNOME_Evolution_Addressbook_BookListener_respond_get_changes/GNOME_Evolution_Addressbook_BookListener_notifyChangesRequested/g; s/GNOME_Evolution_Addressbook_BookListener_report_connection_status/GNOME_Evolution_Addressbook_BookListener_notifyConnectionStatus/g; s/Evolution_BookFactory/GNOME_Evolution_Addressbook_BookFactory/g; s/GNOME_Evolution_Addressbook_BookFactory_open_book/GNOME_Evolution_Addressbook_BookFactory_openBook/g; s/Evolution_SummaryComponent/GNOME_Evolution_Summary_Component/g; s/GNOME_Evolution_Summary_SummaryComponent_set_owner/GNOME_Evolution_Summary_Component_setOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_unset_owner/GNOME_Evolution_Summary_Component_unsetOwner/g; s/GNOME_Evolution_Summary_SummaryComponent_create_view/GNOME_Evolution_Summary_Component_createView/g; s/GNOME_Evolution_Summary_SummaryComponent_destroy_view/GNOME_Evolution_Summary_Component_destroyView/g; s/Evolution_Summary([ \t])/GNOME_Evolution_Summary_ViewFrame$1/g; s/Evolution_Summary_set_title/GNOME_Evolution_Summary_ViewFrame_setTitle/g; s/Evolution_Summary_set_icon/GNOME_Evolution_Summary_ViewFrame_setIcon/g; s/Evolution_Summary_update_component/GNOME_Evolution_Summary_ViewFrame_updateComponent/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; s/GNOME_GNOME/GNOME/g; svn path=/trunk/; revision=6535
* Make the panes of the EPaned not shrinkable beyond their minimum size.Christopher James Lahey2000-11-091-4/+4
| | | | | | | | | 2000-11-09 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Make the panes of the EPaned not shrinkable beyond their minimum size. svn path=/trunk/; revision=6519
* Make the shell pop-up a warning dialog per component when a componentEttore Perazzoli2000-11-071-4/+4
| | | | | | crashes, instead of a warning dialog for each of the crashed views. svn path=/trunk/; revision=6458
* The big api rename ...Michael Meeks2000-11-021-8/+8
| | | | | | | | 2000-11-02 Michael Meeks <michael@helixcode.com> * The big api rename ... svn path=/trunk/; revision=6346
* Moving the executive summarys now :)Iain Holmes2000-11-021-0/+34
| | | | | | | | | Added a way to change the window title and the current view from Components mail-summary now has clickable names to change to that view executive summary remembers what components are running when you close. Selections are not cleared by ES updates. svn path=/trunk/; revision=6329
* If there is no view save the default uri instead. (socket_destroy_cb):Iain Holmes2000-10-201-1/+3
| | | | | | | | | | | 2000-10-19 Iain Holmes <iain@helixcode.com> * e-shell-view.c (e_shell_view_save_settings): If there is no view save the default uri instead. (socket_destroy_cb): When a view crashes, change the view to the default one. svn path=/trunk/; revision=6036
* If the widget is not realized don't do anything, to prevent BadGC's atIain Holmes2000-10-191-2/+8
| | | | | | | | | | | | | | | | 2000-10-18 Iain Holmes <iain@helixcode.com> * e-shell-view.c (start_progress_bar): If the widget is not realized don't do anything, to prevent BadGC's at shut down. (stop_progress_bar): Don't draw anything if the widget is not realized. Same reason. * e-shell-folder-selection-dialog.c (dbl_click_cb): Emit the folder-selected signal. (e_shell_folder_selection_dialog_construct): Connect to the e-table's double-click signal. svn path=/trunk/; revision=5995
* Add a typecast.Dan Winship2000-10-171-2/+0
| | | | | | | | | | | | | | | | | | | | * 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
* Check if there are any files in default_user that are not in ~/evolutionIain Holmes2000-10-161-2/+2
| | | | | | | | | | | | | | | | | | 2000-10-11 Iain Holmes <iain@helixcode.com> * e-setup.c (check_evolution_directory): Check if there are any files in default_user that are not in ~/evolution and if so copy them over. (check_dir_recur): Recursive function to check the directory. * e-shell-view-menu.c: Look Maw! I'm an Evolution hacker too. * e-shell-view.c: Don't quit on when a view is destroyed. * e-shell.c: Save the settings for the remaining views whenever a view is destroyed. svn path=/trunk/; revision=5929
* Use an EScrollFrame instead of a GtkScrolledWindow for the folderEttore Perazzoli2000-10-151-41/+34
| | | | | | tree. This fixes #535 on Bugzilla. svn path=/trunk/; revision=5928
* initialize priv->sockets to NULL, fixes startup crash on non-ia32Matt Wilson2000-10-081-0/+1
| | | | | | | | | 2000-10-07 Matt Wilson <msw@redhat.com> * e-shell-view.c (init): initialize priv->sockets to NULL, fixes startup crash on non-ia32 platforms svn path=/trunk/; revision=5779
* Backported (from EVOLUTION_0_5_1) the code that allowed the shell toEttore Perazzoli2000-10-071-3/+98
| | | | | | display a warning message when a component's view died. svn path=/trunk/; revision=5772
* add a freeze / thaw pair to reduce flicker on switching controls.Michael Meeks2000-10-061-0/+5
| | | | | | | | | | | | | 2000-10-06 Michael Meeks <michael@helixcode.com> * e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw pair to reduce flicker on switching controls. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (command_xml_dump): fix. svn path=/trunk/; revision=5757
* Disable summary stuff, it appears to be badly broken.Michael Meeks2000-10-051-32/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-05 Michael Meeks <michael@helixcode.com> * component-factory.c (summary_fn, component_factory_init): Disable summary stuff, it appears to be badly broken. * Makefile.am (evolution_mail_SOURCES): add mail-summary.[ch] * subscribe-dialog.c (update_pixmaps): upd. (set_pixmap): upd. (subscribe_dialog_gui_init): upd. remove redundant and annoying forward definitions. * folder-browser-factory.c (control_deactivate): upd. (control_activate_cb): upd. (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (register_ondemand): upd. (create_ondemand_hooks): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (shortcut_bar_mode_changed_cb): upd. (folder_bar_mode_changed_cb): upd. (command_xml_dump): clobber. (e_shell_view_menu_setup): upd. * e-shell-view.c (shell_view_interface_set_message_cb): upd. (shell_view_interface_unset_message_cb): upd. (e_shell_view_construct): upd. (get_control_for_uri): upd. (e_shell_view_get_bonobo_ui_component): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * contact-editor/e-contact-editor.c (create_ui): upd. (e_contact_editor_init): upd. * gui/component/addressbook.c (control_activate_cb): upd. (control_deactivate): kill. (control_activate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * gui/calendar-commands.c: upd. (calendar_control_activate): upd. (calendar_control_deactivate): upd. 2000-10-05 Michael Meeks <michael@helixcode.com> * component/e-summary-factory.c (control_activate): upd. (set_pixmap): upd. (update_pixmaps): upd. (control_activate_cb): upd. (control_deactivate): upd. svn path=/trunk/; revision=5742
* remove evil usize set.Michael Meeks2000-10-041-1/+0
| | | | | | | | 2000-10-04 Michael Meeks <michael@helixcode.com> * e-shell-view.c (setup_progress_bar): remove evil usize set. svn path=/trunk/; revision=5698
* kill.Michael Meeks2000-10-031-54/+56
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-10-03 Michael Meeks <michael@helixcode.com> * e-shell-view.c (setup_bonobo_ui_handler): kill. * e-shell-view-menu.c (e_shell_view_menu_setup): strip out the XML UI merge; move it to * e-shell-view.c (e_shell_view_construct): here, + freeze / thaw pair. * e-shell-view.c (setup_progress_bar): impl. (setup_widgets): hook in. (progress_bar_timeout_cb): fix. (start_progress_bar): fix. (stop_progress_bar): fix. (e_shell_view_construct): setup ui handler first. 2000-09-22 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (e_shell_view_menu_setup): upd. + upd ChangeLogs svn path=/trunk/; revision=5678
* Get the title bar for the folder view to use TigerT's pin icon for theEttore Perazzoli2000-09-291-10/+16
| | | | | | button when appropriate. svn path=/trunk/; revision=5636
* If the startup folder cannot be open, default to the local Inbox.Ettore Perazzoli2000-09-281-5/+6
| | | | svn path=/trunk/; revision=5619
* Updates for the Bonobo changes from Michael who is having someEttore Perazzoli2000-09-231-7/+7
| | | | | | troubles with CVS at home (so I commit this on his behalf). svn path=/trunk/; revision=5560
* s/Bonobo_UIHandler/Bonobo_UIContainer/Michael Meeks2000-09-211-1/+1
| | | | | | s/include "bonobo-ui-handler.h"/include "bonobo-ui-compat.h"/ svn path=/trunk/; revision=5539
* 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
* Move a couple of helpers into Bonobo before more people start the re-buildMichael Meeks2000-09-141-18/+0
| | | | | | treadmill. svn path=/trunk/; revision=5426
* Get the status bar playing ball.Michael Meeks2000-09-141-31/+44
| | | | | | | | | | 2000-09-14 Michael Meeks <michael@helixcode.com> * e-shell-view.c (e_shell_view_construct): prune cruft. (shell_view_interface_unset_message_cb), (shell_view_interface_set_message_cb): impl. svn path=/trunk/; revision=5419
* The Commit from hell that breaks all UI related stuff;Michael Meeks2000-09-141-36/+65
| | | | | | Anything UI related that breaks is now my fault; apologies in advance. svn path=/trunk/; revision=5415
* Make the pop-up folder bar pop down after a folder is selected.Ettore Perazzoli2000-09-131-5/+16
| | | | svn path=/trunk/; revision=5397
* Little UTF-8 fixLauris Kaplinski2000-09-131-2/+6
| | | | svn path=/trunk/; revision=5383
* Make `EvolutionStorage' and `ELocalstorage' actually update the CORBAEttore Perazzoli2000-09-121-2/+4
| | | | | | | listeners and fix a bug with the creation of the `EvolutionStorageListener' servant. svn path=/trunk/; revision=5334
* Fixed some warnings.Christopher James Lahey2000-09-101-1/+2
| | | | | | | | 2000-09-09 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Fixed some warnings. svn path=/trunk/; revision=5294
* Fix a possible crash when viewing no folder.Ettore Perazzoli2000-09-101-1/+1
| | | | svn path=/trunk/; revision=5292
* Some UTF-8 fixes and experimental 16-bit unicode font supportLauris Kaplinski2000-09-091-1/+2
| | | | svn path=/trunk/; revision=5279
* initialize delayed_selection = NULL;Chris Toshok2000-09-011-0/+1
| | | | | | | | 2000-08-31 Chris Toshok <toshok@helixcode.com> * e-shell-view.c (init): initialize delayed_selection = NULL; svn path=/trunk/; revision=5160
* add delayed_selection to _EShellViewPrivate. (new_folder_cb): newChris Toshok2000-09-011-0/+49
| | | | | | | | | | | | | | 2000-08-31 Chris Toshok <toshok@helixcode.com> * e-shell-view.c: add delayed_selection to _EShellViewPrivate. (new_folder_cb): new function. check if the path is our delayed_selection and if so, select it. (folder_selected_cb): if the user selects something using a UI gesture, clear out a pending delayed selection. (e_shell_view_display_uri): if the uri isn't available, save it in the delayed_selection field, and set up the new_folder signal. svn path=/trunk/; revision=5157
* Strip off newlines when setting the messages in the statusbar, so thatEttore Perazzoli2000-08-291-3/+15
| | | | | | | | the statusbar's size doesn't change in a bad way if the component gives us a message including a newline. (The latter shouldn't happen anyway, but this is a different issue.) svn path=/trunk/; revision=5094
* Ref a few things that need it. Avoid triggering some assertions.Peter Williams2000-08-261-2/+4
| | | | svn path=/trunk/; revision=5039
* Fixed a warning.Christopher James Lahey2000-08-201-0/+2
| | | | | | | | 2000-08-19 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Fixed a warning. svn path=/trunk/; revision=4883
* Make the close button on the ShellView quit Evolution. (Yeah, this isEttore Perazzoli2000-08-141-1/+15
| | | | | | | not correct, but at least it prevents some nasty GC errors and prevents evolution-mail from being left in a messy state.) svn path=/trunk/; revision=4828
* Get rid of some annoying debugging messages.Ettore Perazzoli2000-08-141-4/+0
| | | | svn path=/trunk/; revision=4815
* Add a kludgy and simple interface to the shell views to access theEttore Perazzoli2000-08-131-18/+170
| | | | | | status bar, to report messages and progress. svn path=/trunk/; revision=4796
* Fixed a warning.Christopher James Lahey2000-08-091-1/+0
| | | | | | | | 2000-08-09 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Fixed a warning. svn path=/trunk/; revision=4639
* Actually commit this - I though it went in already.JP Rosevear2000-08-041-58/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-08-03 JP Rosevear <jpr@helixcode.com> * configure.in: Remove gconf check 2000-08-03 JP Rosevear <jpr@helixcode.com> * mail-config.glade: Increase window size slightly, rename "Transport" to "Mail Transport" * mail-config.c (init_config): Remove gconf references (clear_config): ditto (read_config): ditto (write_config): ditto (mail_config): Null provider lists before filling them (mail_config_druid): ditto (identity_page_new): Increase spacing of vbox (service_page_new): ditto * Makefile.am: Remove gconf references. 2000-08-03 JP Rosevear <jpr@helixcode.com> * e-shell.h: Remove gconf references * e-shell-view.h: Remove gconf references * main.c (idle_cb): Remove gconf references * Makefile.am: Remove gconf cflags and libs * e-shell-view.c (e_shell_view_load_settings): Change to use gnome-config (e_shell_view_save_settings): ditto * e-shell.c (e_shell_restore_from_settings): Change to use gnome_config (save_settings_for_views): ditto svn path=/trunk/; revision=4530
* Everywhere unref the remote_uih having done a set_container.Michael Meeks2000-08-041-1/+1
| | | | svn path=/trunk/; revision=4524
* Remove erroneous refs on folder_type_registry, storage_set.Michael Meeks2000-08-041-2/+5
| | | | | | | | | | | | 2000-08-04 Michael Meeks <michael@helixcode.com> * e-shell.c (e_shell_construct): Remove erroneous refs on folder_type_registry, storage_set. * e-shortcuts-view.c (destroy): unref the shortcuts, causing a massive ripple chain ref-count reaction. svn path=/trunk/; revision=4522
* Get rid of some debugging messages that were not supposed to beEttore Perazzoli2000-07-271-6/+0
| | | | | | committed. svn path=/trunk/; revision=4350
* Fix the pop-up tree so that it does not set up the grab when shownEttore Perazzoli2000-07-271-18/+27
| | | | | | through the menu item. svn path=/trunk/; revision=4349
* Some changes to the pop-up folder tree, so that it makes more visualEttore Perazzoli2000-07-221-0/+13
| | | | | | sense. svn path=/trunk/; revision=4271
* Improve the title bar pop-up button: use a toggle button instead of aEttore Perazzoli2000-07-211-4/+46
| | | | | | | regular one and allow sticking the pop-up with the close button (we'll need to have it change the icon). svn path=/trunk/; revision=4259
* First shot at the "click on the folder title, get the folder tree"Ettore Perazzoli2000-07-211-21/+114
| | | | | | thingie. Needs love, but it's a start. svn path=/trunk/; revision=4257
* Add support for the folder right-click ("context") menu. No componentEttore Perazzoli2000-07-211-1/+1
| | | | | | uses this yet, though. svn path=/trunk/; revision=4252
* Implement saving of pane positions.Ettore Perazzoli2000-07-201-3/+17
| | | | svn path=/trunk/; revision=4238
* As a quasi-hack, do a gdk_flush() when the shell view is unrealized soFederico Mena Quintero2000-07-101-1/+22
| | | | | | | | | | | | | | 2000-07-10 Federico Mena Quintero <federico@helixcode.com> * e-shell-view.c (unrealize): As a quasi-hack, do a gdk_flush() when the shell view is unrealized so that the DeleteEvent gets sent to the remote plugs as soon as possible before we start making other CORBA calls. The problem is that our CORBA pipe is synchronous while our X pipe is asynch. We have to ensure ordering for certain operations. This is NOT the correct and complete fix, which should go in Bonobo. svn path=/trunk/; revision=4030
* Don't display the annoying "Cannot display..." view in the shell whenEttore Perazzoli2000-07-091-39/+9
| | | | | | | | | an error occurs while opening a view. Instead, avoid moving the selection to it. Not the ideal solution, but a definite improvement. svn path=/trunk/; revision=3995
* Don't make EShellViews ::ref the EShell.Ettore Perazzoli2000-06-291-4/+0
| | | | svn path=/trunk/; revision=3788
* Implement saving of configuration information. Now when you runEttore Perazzoli2000-06-291-0/+114
| | | | | | | | | Evolution it will display the same folder as the last time, and will hide/show the shortcut/folder bars as the last time. This uses GConf so I also put a GConf check into configure.in. svn path=/trunk/; revision=3787
* Initial support for creating/removing folders. This implies some newEttore Perazzoli2000-06-101-2/+12
| | | | | | | | IDL methods and new functions to implement on the component side. I have also added a simple folder creation dialog in the shell. It's quite unfinished and untested. svn path=/trunk/; revision=3491
* Restore the toolbar. I committed a line of code that shouldn't haveEttore Perazzoli2000-06-081-1/+1
| | | | | | been committed. svn path=/trunk/; revision=3469
* Fixed a refcount leak and added interfaces to add/remove foldersEttore Perazzoli2000-06-081-1/+5
| | | | | | from an EStorage (although they are not implemented yet). svn path=/trunk/; revision=3460
* Free the uri variable.Christopher James Lahey2000-06-021-0/+2
| | | | | | | | | | 2000-06-02 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Free the uri variable. * e-shell.c: Free the local_directory variable. svn path=/trunk/; revision=3385
* 5 more pixels in the default width to make the welcome message happy.Ettore Perazzoli2000-06-011-1/+1
| | | | svn path=/trunk/; revision=3330
* Reduce the size of the window by a bit and add some padding to makeEttore Perazzoli2000-06-011-2/+3
| | | | | | the view look nicer. svn path=/trunk/; revision=3327
* Make the tree view slightly larger and hidden by default. Also, setEttore Perazzoli2000-06-011-2/+4
| | | | | | | auto-resize mode for it so that its horizontal scrollbar does not behave in a weird way. svn path=/trunk/; revision=3324
* Implemented right-click menus for the shell's shortcut bar (the userEttore Perazzoli2000-06-011-3/+20
| | | | | | | | can remove shortcuts now) and added status bar to the shell view. Also, added an API call to EShortcutBar to get the view type for a specified group. svn path=/trunk/; revision=3318
* Initialize the toggle items in the View menu when creating them, soEttore Perazzoli2000-05-311-1/+20
| | | | | | | | that they start up in the correct state. Deactivate the current control when displaying an empty error page. Removed some crufty debugging messages. svn path=/trunk/; revision=3310
* Make quit work again by implementing a CORBA method to unregisterEttore Perazzoli2000-05-311-39/+100
| | | | | | | | | | components in ShellComponent. Implemented toggle menu items to hide/show the shortcut bar and the folder bar (but they don't work, apparently because of some BonoboUIHandler bogosity). Implemented a CORBA method in Shell to allow a client to get the component that handles a certain folder type. svn path=/trunk/; revision=3303
* Added a title bar for the folder view. Removed title bar from theEttore Perazzoli2000-05-301-101/+140
| | | | | | | | shortcut view. Made shortcuts behave correctly when moved around. Also, implemented automatic re-saving of the shortcuts when they change. svn path=/trunk/; revision=3276
* Reorganized the shell to allow dynamic registration of storages andEttore Perazzoli2000-05-251-28/+41
| | | | | | | 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-1/+1
| | | | | | | | | | 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
* Added widgets/e-paned/Makefile.Christopher James Lahey2000-05-251-14/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * configure.in: Added widgets/e-paned/Makefile. * tests/ui-tests/message-browser.c: Switched from GtkPaned to EPaned. * widgets/Makefile.am: Added e-paned directory. * widgets/e-paned/, widgets/e-paned/.cvsignore, widgets/e-paned/Makefile.am, widgets/e-paned/e-hpaned.c, widgets/e-paned/e-hpaned.h, widgets/e-paned/e-paned.c, widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c, widgets/e-paned/e-vpaned.h: New widget based completely on GtkPaned from 1.4. This will be more advanced soon. From calendar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * gui/Makefile.am: Added libepaned.a. * gui/gnome-cal.c: Switched from GtkPaned to EPaned. From mail/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * folder-browser.c: Switched from GtkPaned to EPaned. From shell/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * e-shell-view.c: Switched from GtkPaned to EPaned. From widgets/shortcut-bar/ChangeLog: 2000-05-24 Christopher James Lahey <clahey@helixcode.com> * Makefile.am: Added libepaned.a. * test-shortcut-bar.c: Switched from GtkPaned to EPaned. svn path=/trunk/; revision=3191
* Use TigerT's new mini icons in the shell's folder tree view.Ettore Perazzoli2000-05-161-1/+1
| | | | svn path=/trunk/; revision=3091
* Use the new ETitleBar widget in the shell, thus allowing the user toEttore Perazzoli2000-05-161-25/+148
| | | | | | | hide the shortcut bar or the folder tree. This is not completely working right yet, partly because of GtkPaned's limitations. svn path=/trunk/; revision=3070
* Initial implementation of the tree view for the folders.Ettore Perazzoli2000-05-141-90/+179
| | | | svn path=/trunk/; revision=3020
* Set the icons when changing between components.Christopher James Lahey2000-05-101-0/+69
| | | | | | | | | | | 2000-05-10 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Set the icons when changing between components. * main.c: Set the default icon. (The change in e-shell-view.c doesn't work unless we do this.) svn path=/trunk/; revision=2964
* Display the default inbox at startup, instead of an empty view.Ettore Perazzoli2000-05-091-9/+3
| | | | svn path=/trunk/; revision=2944
* Machinery for quitting and handling the relationship between a shellEttore Perazzoli2000-05-071-0/+12
| | | | | | and its views. svn path=/trunk/; revision=2862
* Big shell reorganization.Ettore Perazzoli2000-05-071-357/+423
| | | | svn path=/trunk/; revision=2848
* turned the notebook border off. The calendar looks better without it. IfDamon Chaplin2000-05-051-0/+3
| | | | | | | | | | 2000-05-03 Damon Chaplin <damon@helixcode.com> * e-shell-view.c (e_shell_view_new): turned the notebook border off. The calendar looks better without it. If any of the views want a border they should create it themselves, shouldn't they? svn path=/trunk/; revision=2801
* Removing more cruft.Ettore Perazzoli2000-05-031-0/+1
| | | | svn path=/trunk/; revision=2766
* Turn off control frame autoactivation, so the toolbars work correctly.Dan Winship2000-05-021-0/+1
| | | | | | | | * e-shell-view.c (e_shell_view_set_view): Turn off control frame autoactivation, so the toolbars work correctly. This may actually be a bug in Bonobo, but we'll kludge around it here for now. svn path=/trunk/; revision=2721
* Made Evolution OAF-compatible.Ettore Perazzoli2000-04-281-8/+22
| | | | svn path=/trunk/; revision=2673
* + * widgets/e-text/e-text.c (e_text_destroy): Kill text->timer andMatthew Loper2000-04-271-18/+74
| | | | | | | | | | | + text->timeout on destroy. + + * e-shell-view.c (bonobo_widget_is_dead): Helper function to see + whether a bonobo widget is a zombie (ie the remote bonobo control + died). + (e_shell_view_set_view): Try to respawn dead bonobo widgets. svn path=/trunk/; revision=2638
* + * widgets/Makefile.am: Added e-paned directory.Matthew Loper2000-04-241-17/+39
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | + + * default_user/Makefile.am: new file. + + * default_user/Main_Shortcuts.xml: New file; is used to fill the + shortcut bar's "main shortcuts" pane. + + * default_user/Other_Shortcuts.xml: New file, used to fill the + shortcut bar's "other shortcuts" pane. + + * default_user/Inbox.mbox: New file. This is the first message a + new user will see when they fire up Evolution. Needs work. + + * Makefile.am: added default_user directory. + * configure.in: same. + + * e-paned.c: New file. Makes a GtkPaned with more than two + children. + * e-paned.h: same. + + * Makefile.am: added e-paned.[ch]. + + * e-shell-view.h: Added hpaned and treeview widgets to + EShellView. Added e_shell_view_toggle_shortcut_bar() and + e_shell_view_toggle_treeview(). + + * e-shell-view.c (e_shell_view_setup_shortcut_display): Use EPaned + widget to house our shortcut bar. + (e_shell_view_toggle_shortcut_bar): New function; toggles whether + the shortcut bar is showing. + (e_shell_view_toggle_treeview): Same, for the treeview (NYI). + (e_shell_view_new): Put the notebook view in our EPaned widget. + + * e-shell-view-menu.c (esv_cmd_toggle_shortcut_bar): New function; + toggles whether the shortcut bar is viewed. + (esv_cmd_toggle_treeview): Same, but with the treeview. Added + menuitems in the "view" menu to allow access to the above. + svn path=/trunk/; revision=2575
* set calendar's uri with a property bagSeth Alves2000-04-191-1/+17
| | | | | | | | | | | | | | | * e-shell-view.c (get_view): set calendar's uri with a property bag * gui/evolution-calendar-control.c (calendar_properties_init): create a property bag for this control (set_prop): callback for property sets (get_prop): callback for proprety gets * gui/calendar-commands.c (calendar_set_uri): new function, called when the "calendar_uri" property is set on the calendar- control's property bag. svn path=/trunk/; revision=2501
* Added a note field.Christopher James Lahey2000-04-151-2/+2
| | | | | | | | | | | | | | | | | | | 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * addressbook/backend/ebook/e-card.c, addressbook/backend/ebook/e-card.h, addressbook/backend/pas/pas-backend-file.c, addressbook/backend/pas/pas-backend-ldap.c, addressbook/contact-editor/e-contact-editor.c: Added a note field. From shell/ChangeLog: 2000-04-14 Christopher James Lahey <clahey@helixcode.com> * e-shell-view.c: Made the left pane of the shell view not autoresize. svn path=/trunk/; revision=2444
* + * addressbook/gui/component/addressbook.c (control_activate): MakeMatthew Loper2000-04-101-1/+1
| | | | | | | | | + "New Contact" menuitem add a card with new_contact_cb(). + + * e-shell-view.c (e_shell_view_setup): Set the default height + bigger, to 600, so that everything in the shortcut-bar shows up. svn path=/trunk/; revision=2353
* + * folder-browser.c (folder_browser_destroy): Unref the shellMatthew Loper2000-04-081-4/+43
| | | | | | | | | | | | | | | | | | + interface that we have a handle to. + + * folder-browser-factory.c (control_destroy_cb): New function; + destroys a folder-browser when its control is destroyed. + (folder_browser_factory): Hook up to the above. + + * e-shell-view.c (destroy_folder_view): New function; + Bonobo_Unknown_unref's the controls that have the views in them. + (esv_destroy): Calls the above for each folder_view in the + hashtable. + (get_view): unref the ServiceRepository interface of the control + when we're done with it. + svn path=/trunk/; revision=2333
* hook up control:calendarSeth Alves2000-04-061-0/+3
| | | | | | * shell/e-shell-view.c (get_view): hook up control:calendar svn path=/trunk/; revision=2295
* Hold off on deactivating the "outgoing" control until after setting up theDan Winship2000-03-311-25/+32
| | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Hold off on deactivating the "outgoing" control until after setting up the "incoming" control. That way if the new control takes a few seconds to load, there won't be an ugly empty spot where the toolbar used to be while the new control loads. svn path=/trunk/; revision=2262
* Call bonobo_control_frame_activate on the folder_view every time it isDan Winship2000-03-301-12/+18
| | | | | | | | | | | | * shell/e-shell-view.c (e_shell_view_set_view): Call bonobo_control_frame_activate on the folder_view every time it is displayed, and bonobo_control_frame_deactivate every time it is hidden. * folder-browser-factory.c (control_activate): build a toolbar. (control_deactivate): and hide it. svn path=/trunk/; revision=2250
* + * shell/e-shell-view.c (get_view): Move CORBA_Environment toMatthew Loper2000-03-261-5/+6
| | | | | | | | | | | | | | + different scope. + + * ebook/e-book.c, + ebook/e-book.h, + ebook/e-book.h, + ebook/e-card-fields.h, + ebook/e-card.h, + ebook/e-commerce.h: old, removed. Up-to-date EBook stuff is kept + in addressbook/backend/ebook. svn path=/trunk/; revision=2162
* Added some assertions.Matthew Loper2000-03-231-3/+5
| | | | | | | * e-table-text-model.c (e_table_text_model_destroy): Added some assertions. svn path=/trunk/; revision=2146
* + * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"Matthew Loper2000-03-231-60/+59
| | | | | | | | | | | | | + to gtk_main_quit, so that the shell dies when you want it to. + + * shell/e-shell-view.c (get_view): Reorganized, and added + assertions. + (e_shell_view_set_view): Added assertions. + + * camel/camel-formatter.c (debug): Disabled some useless debug + messaging. svn path=/trunk/; revision=2141
* New private field in EShellView added, which contains the notebook and aMatthew Loper2000-03-211-19/+73
| | | | | | | | | | | | | | * shell/e-shell-view.h: New private field in EShellView added, which contains the notebook and a hashtable of folders to views. * shell/e-shell-view.c (e_shell_view_set_view): Instead of creating a new control every time we set the view, we now keep our controls in a notebook. This function now switches to the correct notebook page, or creates a new page/control as necessary. (e_shell_view_new): Creates and inserts the notebook into the shell. svn path=/trunk/; revision=2122
* Added an E_FOLDER_CONTACTS section to the get_view function.Christopher James Lahey2000-03-141-0/+25
| | | | | | | | | | | | | | | | | | | | | 2000-03-13 Christopher James Lahey <clahey@helixcode.com> * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the get_view function. * addressbook/demo/Makefile.am: Added files for addressbook bonobo component. Changed non bonobo version to compile as test-addressbook. * addressbook/demo/addressbook.c, addressbook/demo/addressbook.gnorba, addressbook/demo/addressbook.h, addressbook/demo/addressbook-factory.c, addressbook/demo/addressbook-widget.c, addressbook/demo/addressbook-widget.h: New factory to create an addressbook bonobo component. svn path=/trunk/; revision=2114
* (get_view): added a parameter to have a reference to the EShellView.bertrand2000-03-131-12/+37
| | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> (get_view): added a parameter to have a reference to the EShellView. (get_view): In the case of the mail component use the Evolution_ServiceRepository to give the component a reference to the Shell server. The Mail component now has a reference to the shell corba server. It is gonna make it possible to register new services in the shell. svn path=/trunk/; revision=2111
* once we have the bonobo control widget, disable the autoactivation andbertrand2000-03-131-5/+16
| | | | | | | | | | | | | | | | | | | | | | | 2000-03-13 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): once we have the bonobo control widget, disable the autoactivation and activate the control frame. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. (control_activate_cb): when the control is activated, it merges its own UI with the remote UIHandler. (control_add_menu): sample menu merging. (folder_browser_factory): connect the control "activate" signal. (Bonobo control / shell view) UIMenu merging. svn path=/trunk/; revision=2110
* name changebertrand2000-03-131-1/+1
| | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-shell-view.c (get_view): name change 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser-factory.c (folder_browser_factory_init): name change. * evolution-mail.gnorba: name changes svn path=/trunk/; revision=2109
* added the get_e_folder_type function.bertrand2000-03-131-9/+28
| | | | | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/e-folder.c (e_folder_get_folder_type): added the get_e_folder_type function. 2000-03-12 bertrand <bertrand@helixcode.com> * folder-browser.h: added a reference to an Evolution::Shell object. * folder-browser-factory.c (folder_browser_set_shell): (folder_browser_control_add_service_repository_interface): (folder_browser_factory): the folder-browser control now implements the Evolution/ServiceRepository interface. Sync for matt svn path=/trunk/; revision=2108
* Implementation of the service repository interface as a bonobo object.bertrand2000-03-121-0/+2
| | | | | | | | | | | | | | | | | | 2000-03-12 bertrand <bertrand@helixcode.com> * shell/evolution-service-repository.c: * shell/evolution-service-repository.h: Implementation of the service repository interface as a bonobo object. * shell/evolution-service-repository.idl: new file. Contains the definition for the service repository interface. * shell/Shell.idl: move the shell related stuff here svn path=/trunk/; revision=2103
* More changes than a man can remember.Bertrand Guiheneuf2000-03-061-2/+9
| | | | | | The UI works now. svn path=/trunk/; revision=2074
* More work on the code. Added more for the framework.Arturo Espinosa2000-01-191-19/+39
| | | | | | | | More work on the code. Added more for the framework. Miguel. svn path=/trunk/; revision=1593
* More work; Model view for the shortcut bar is better; More menus; More ↵Arturo Espinosa2000-01-181-72/+4
| | | | | | features -migu svn path=/trunk/; revision=1587
* Shaping up; Model/view is still not fully setup, but coming, comingArturo Espinosa2000-01-171-9/+72
| | | | svn path=/trunk/; revision=1580
* Use e_bar_set_item_data.Miguel de Icaza2000-01-161-1/+68
| | | | | | | | | | | | | | | | 2000-01-10 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item): Use e_bar_set_item_data. Drop item_url; Require image argument; Require user data argument. 2000-01-09 Miguel de Icaza <miguel@gnu.org> * widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_init): Turn on anti-aliasing. svn path=/trunk/; revision=1573
* MoreArturo Espinosa2000-01-121-0/+66
More svn path=/trunk/; revision=1561