aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* New constant `MIN_POPUP_TREE_WIDTH'. (pop_up_folder_bar): Make sure theEttore Perazzoli2001-08-192-2/+14
| | | | | | | | | | * 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-194-167/+221
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Build fixIain Holmes2001-08-182-0/+5
| | | | svn path=/trunk/; revision=12176
* Add a warning for EttoreIain Holmes2001-08-181-0/+1
| | | | svn path=/trunk/; revision=12174
* Changelog I forgotIain Holmes2001-08-181-0/+5
| | | | svn path=/trunk/; revision=12173
* Compile fixesIain Holmes2001-08-183-3/+8
| | | | svn path=/trunk/; revision=12172
* g_return_if_fail(), not g_return_val_if_fail().Ettore Perazzoli2001-08-182-2/+8
| | | | | | | | * evolution-shell-client.c (evolution_shell_client_set_line_status): g_return_if_fail(), not g_return_val_if_fail(). svn path=/trunk/; revision=12167
* Added some g_warnings for when we return CORBA_OBJECT_NIL; this might helpEttore Perazzoli2001-08-182-3/+16
| | | | | | | | | | * evolution-shell-client.c (evolution_shell_client_get_local_storage): Added some g_warnings for when we return CORBA_OBJECT_NIL; this might help to figure out what is wrong with bug #6625. Also, added a missing CORBA_exception_free(). svn path=/trunk/; revision=12165
* tedfast <fejj@ximian.com>Jeffrey Stedfast2001-08-181-0/+2
| | | | | | | | tedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12161
* Don't destroy the splash twice.Jeffrey Stedfast2001-08-181-29/+26
| | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-shell.c (e_shell_construct): Don't destroy the splash twice. svn path=/trunk/; revision=12160
* utf_name should not be const as e_utf8_from_locale_string() returns anJeffrey Stedfast2001-08-182-3/+10
| | | | | | | | | | 2001-08-17 Jeffrey Stedfast <fejj@ximian.com> * e-local-storage.c (setup_folder_as_stock): utf_name should not be const as e_utf8_from_locale_string() returns an allocated buffer. svn path=/trunk/; revision=12158
* Startup assistant stuffIain Holmes2001-08-1711-6/+1656
| | | | svn path=/trunk/; revision=12145
* I know what you did last summer!Jason Leach2001-08-172-0/+3
| | | | | | | | 2001-08-16 Jason Leach <jleach@ximian.com> * AUTHORS: I know what you did last summer! svn path=/trunk/; revision=12140
* Desensitize the move/copy/delete/rename in the menus (including rightJason Leach2001-08-173-23/+38
| | | | | | | | | | | | | 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
* Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help):Ettore Perazzoli2001-08-172-12/+12
| | | | | | | | | * e-shell-view-menu.c: Remove the Help menu verbs and add a "HelpFAQ" verb. (command_help): Removed. (command_help_faq): New, implementation for the "HelpFAQ" verb. svn path=/trunk/; revision=12127
* New callback for the realize signal. (make_bold): New. Hooks up theEttore Perazzoli2001-08-172-1/+44
| | | | | | | | | | * e-shell-folder-title-bar.c (label_realize_callback): New callback for the realize signal. (make_bold): New. Hooks up the label_realize_callback. (e_shell_folder_title_bar_construct): Make the name of the folder bold using it. svn path=/trunk/; revision=12114
* Evil GTK+ hackery. Of course if GTK+ made things easier, I wouldn'tEttore Perazzoli2001-08-173-28/+36
| | | | | | | | | | | | have to do this. * e-gray-bar.c (endarken_style): Just hardcode the colors. * e-shell-folder-title-bar.c (set_title_bar_label_style): New. (e_shell_folder_title_bar_construct): Call it on the labels here, so we get nice white labels. svn path=/trunk/; revision=12110
* s/the view for `%s' have/the views for `%s' have/.Ettore Perazzoli2001-08-172-1/+6
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): s/the view for `%s' have/the views for `%s' have/. svn path=/trunk/; revision=12107
* Remove debugging message.Ettore Perazzoli2001-08-172-1/+5
| | | | | | * e-storage-set-view.c (etree_icon_at): Remove debugging message. svn path=/trunk/; revision=12104
* Don't hardcode/build a help URI here, use gnome_help_display() instead,Jason Leach2001-08-162-9/+15
| | | | | | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_help): Don't hardcode/build a help URI here, use gnome_help_display() instead, which will figure out what language the user needs, etc. (help_verbs): Adapt these menu items to above changes, they don't need to pass "evolution/foo.html" to command_help, just "foo.html". svn path=/trunk/; revision=12072
* forgot to commit thisJacob Leach2001-08-161-3/+10
| | | | svn path=/trunk/; revision=12064
* Emit a "changed" signal at the end of this function. Bug #7232.Jason Leach2001-08-162-2/+7
| | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * e-folder.c (e_folder_set_child_highlight): Emit a "changed" signal at the end of this function. Bug #7232. svn path=/trunk/; revision=12063
* Changed help menus to point to evolution/ and not evolution-guide/.Aaron Weber2001-08-162-5/+10
| | | | | | | | | 2001-08-15 Aaron Weber <aaron@ximian.com> * e-shell-view-menu.c (command_about_box): Changed help menus to point to evolution/ and not evolution-guide/. svn path=/trunk/; revision=12062
* s/My Evolution/Summary/Iain Holmes2001-08-163-5/+12
| | | | svn path=/trunk/; revision=12058
* Add a new IDL function, Evolution::Shell::setLineStatus (in boolean). BugJason Leach2001-08-164-3/+58
| | | | | | | | | | | | | | | | | 2001-08-15 Jason Leach <jleach@ximian.com> * Evolution-Shell.idl: Add a new IDL function, Evolution::Shell::setLineStatus (in boolean). Bug #3030. * e-shell.c (impl_Shell_setLineStatus): Implementation of the above. * evolution-shell-client.c (evolution_shell_client_set_line_status): A wrapper function for the above, this is what a component can call to set the shell on/offline. svn path=/trunk/; revision=12057
* Use the passed-in unread_count.Dan Winship2001-08-153-1/+10
| | | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): Use the passed-in unread_count. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Pass the passed-in unread_count to e_storage_new_folder. svn path=/trunk/; revision=12018
* Add missing entry for `endarken_style()'.Ettore Perazzoli2001-08-141-0/+1
| | | | svn path=/trunk/; revision=11979
* Chain to the parent class.Ettore Perazzoli2001-08-142-7/+12
| | | | | | * e-gray-bar.c (impl_style_set): Chain to the parent class. svn path=/trunk/; revision=11977
* Changed the "Evolution has found the following data sources" text in theAnna Marie Dirks2001-08-142-2/+10
| | | | | | | | | | | 2001-08-13 Anna Marie Dirks <anna@ximian.com> * importer/intelligent.c : Changed the "Evolution has found the following data sources" text in the import dialog to "Evolution can import data from the following files" in an attempt to increase user-friendliness. svn path=/trunk/; revision=11976
* Revert the previous e-gray-bar patch as it was, um, wrong.Ettore Perazzoli2001-08-142-13/+19
| | | | svn path=/trunk/; revision=11974
* Add some little padding to the title bar so it looks nicer.Ettore Perazzoli2001-08-142-1/+6
| | | | | | | * e-shell-view.c (setup_widgets): Add some little padding to the title bar so it looks nicer. svn path=/trunk/; revision=11970
* Removed. (class_init): Don't override that method anymore.Ettore Perazzoli2001-08-142-19/+13
| | | | | | | | * e-gray-bar.c (impl_style_set): Removed. (class_init): Don't override that method anymore. (e_gray_bar_new): Call `endarken_style()' here instead. svn path=/trunk/; revision=11967
* [Fix #7109, Evolution crashes when the splash screen dialog isEttore Perazzoli2001-08-142-1/+11
| | | | | | | | | killed by clicking the "X" button.] * e-shell.c (e_shell_construct): Connect `gtk_widget_hide_on_delete()' correctly. svn path=/trunk/; revision=11962
* Changed all instances of "druid" and "wizard" to "assistant".Anna Marie Dirks2001-08-142-18/+22
| | | | | | | | 2001-08-13 Anna Marie Dirks <anna@ximian.com> * importer/import.glade : Changed all instances of "druid" and "wizard" to "assistant". svn path=/trunk/; revision=11958
* Replaced the chained `if' statements with a `switch' statement forEttore Perazzoli2001-08-142-19/+35
| | | | | | | | * main.c (idle_cb): Replaced the chained `if' statements with a `switch' statement for clarity. Also, don't ref the created shell, and release the object reference properly. svn path=/trunk/; revision=11956
* set_release on the sequence, not the buffer.Ettore Perazzoli2001-08-142-2/+4
| | | | | | | * e-corba-shortcuts.c (shortcut_list_to_corba): set_release on the sequence, not the buffer. svn path=/trunk/; revision=11955
* Restore the shell reffing/unreffing here.Ettore Perazzoli2001-08-142-2/+4
| | | | | | | * e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing here. svn path=/trunk/; revision=11954
* Restore the shell reffing/unreffing here.Ettore Perazzoli2001-08-141-0/+5
| | | | | | | * e-shell.c (view_destroy_cb): Restore the shell reffing/unreffing here. svn path=/trunk/; revision=11953
* Don't cause an abort if the shortcut group is empty.Peter Williams2001-08-142-1/+7
| | | | | | | | | 2001-08-13 Peter Williams <peterw@ximian.com> * e-corba-shortcuts.c (shortcut_list_to_corba): Don't cause an abort if the shortcut group is empty. svn path=/trunk/; revision=11952
* Add `Evolution-common.idl'.Ettore Perazzoli2001-08-142-1/+6
| | | | | | * Makefile.am (IDLS): Add `Evolution-common.idl'. svn path=/trunk/; revision=11947
* Initialize priv->user_creatable_item_types. (Score: g_new: 0, g_new0: 2)Dan Winship2001-08-142-0/+6
| | | | | | | * evolution-shell-component.c (init): Initialize priv->user_creatable_item_types. (Score: g_new: 0, g_new0: 2) svn path=/trunk/; revision=11946
* Remove unused variable @folder.Jason Leach2001-08-143-3/+15
| | | | | | | | | | | | | 2001-08-13 Jason Leach <jleach@ximian.com> * e-local-storage.c (remove_folder_directory): Remove unused variable @folder. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): Give icons to shortcuts added via Right-click->Add to Shortcut Bar. svn path=/trunk/; revision=11944
* Grab focus on the storage set view.Ettore Perazzoli2001-08-132-1/+9
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Grab focus on the storage set view. svn path=/trunk/; revision=11937
* Use utf 8 to set the name.Ettore Perazzoli2001-08-132-1/+10
| | | | | | | * e-local-storage.c (setup_folder_as_stock): Use utf 8 to set the name. svn path=/trunk/; revision=11936
* Remove debugging message.Ettore Perazzoli2001-08-122-2/+4
| | | | | | * e-storage-set-view.c (etree_value_at): Remove debugging message. svn path=/trunk/; revision=11934
* *** empty log message ***Ettore Perazzoli2001-08-121-3/+3
| | | | svn path=/trunk/; revision=11933
* Put the folder title bar into an EGrayBar.Ettore Perazzoli2001-08-125-4/+201
| | | | | | | | | | * 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
* [Finally! Fix #413, "Support for stock folders", and #786, "i18n:Ettore Perazzoli2001-08-1214-18/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | default folder names are not translated".] * e-local-storage.c (setup_folder_as_stock): New helper function. (setup_stock_folders): Use it to set the default folders as "stock" folders. This will give them a translated name and also make them unmodifiable. (load_all_folders): Call `setup_stock_folders()' here. * e-shell-folder-commands.c (delete_cb): Display an error dialog if the deletion fails. (e_shell_command_delete_folder): Pass the shell view to the delete callback. * e-storage.c (e_storage_result_to_string): Add a string for `E_STORAGE_CANTCHANGESTOCKFOLDER' as well. * e-local-storage.c (remove_folder): Don't allow a stock folder to be removed. (impl_async_xfer_folder): Don't allow a stock folder to be moved. * e-corba-storage.c (async_remove_folder): Don't allow a stock folder to be removed. * e-storage.h: New enum value `E_STORAGE_CANTCHANGESTOCKFOLDER' in `EStorageResult'. * e-folder.c: Make member `self_highlight' a :1 int. New :1 int member `is_stock'. (init): Init `is_stock' to %FALSE. (e_folder_set_is_stock): New. (e_folder_get_is_stock): New. * e-local-storage.c (bonobo_interface_update_folder_cb): For now, don't set the display name. svn path=/trunk/; revision=11931
* `#if 0'ed out. (rename_cb): Likewise.Ettore Perazzoli2001-08-103-2/+15
| | | | | | | | | | * e-shell-folder-commands.c (rename_clicked): `#if 0'ed out. (rename_cb): Likewise. * evolution-shell-component.c (destroy): Fixed a confusion between GList and GSList. svn path=/trunk/; revision=11876
* Only free the `type_list' if not NULL. (setup_menu_xml): Deal with theEttore Perazzoli2001-08-102-16/+35
| | | | | | | | | | | * e-shell-user-creatable-items-handler.c (component_free): Only free the `type_list' if not NULL. (setup_menu_xml): Deal with the case of `type_list' being NULL gracefully. (verb_fn): Same here. (add_verbs_to_ui_component): Likewise. svn path=/trunk/; revision=11873
* [Fix #6787, Removing a storage with children and then re-adding itEttore Perazzoli2001-08-102-23/+27
| | | | | | | | | | | | causes a crash.] * e-storage-set-view.c (convert_corba_drag_action_set_to_gdk): Removed `#if 0'ed function. (etree_node_destroy_func): New destroy function. (e_storage_set_view_construct): Set this as the new destroy function on the ETreeMemory. svn path=/trunk/; revision=11869
* Updated to display the parent folder's URI and its type as well.Ettore Perazzoli2001-08-109-20/+111
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Cast the toplevel to be passed to `e_request_string()' to GtkWindow, notEttore Perazzoli2001-08-103-32/+14
| | | | | | | | | | | | | * e-shortcuts-view.c (show_new_group_dialog): Cast the toplevel to be passed to `e_request_string()' to GtkWindow, not GtkWidget. Also, remove unused variables. (get_efolder_from_shortcut): Constify @item_url. (get_storage_set_path_from_uri): Removed. * evolution-shell-component.c (destroy): `p' shall be a GList, not a GSList. svn path=/trunk/; revision=11857
* Add the menu items using the EShellUserCreatableItemsHandler.Ettore Perazzoli2001-08-1012-38/+804
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Chain to the destroy handler in the parent class!Federico Mena Quintero2001-08-093-0/+13
| | | | | | | | | | | 2001-08-09 Federico Mena Quintero <federico@ximian.com> * e-component-registry.c (destroy): Chain to the destroy handler in the parent class! * e-shortcuts-view-model.c (impl_destroy): Likewise. Sigh. svn path=/trunk/; revision=11818
* [Fixes, among other things, #5705, "Ampersands not handledEttore Perazzoli2001-08-083-3/+16
| | | | | | | | | | | | | correctly in drag + drop". Thanks to Nat for actually discovering the problem.] * e-shortcuts.c (save_shortcuts): Use `xmlNewTextChild()' instead of `xmlNewChild()'. * e-local-folder.c (save_metadata): Use `xmlNewTextChild' instead of `xmlNewChild()'. svn path=/trunk/; revision=11783
* Set the release flag on the sequence, and CORBA_string_dup() the stringsEttore Perazzoli2001-08-082-4/+9
| | | | | | | | | * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set the release flag on the sequence, and CORBA_string_dup() the strings anyway. svn path=/trunk/; revision=11781
* Set the release flag on the returned folder type list too.Ettore Perazzoli2001-08-083-1/+12
| | | | | | | | | | | * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Set the release flag on the returned folder type list too. * evolution-activity-client.c (create_icon_from_pixbuf): Set the release flag on the sequence, not the struct that contains it. svn path=/trunk/; revision=11779
* Set the release flag for the newly allocated sequence.Ettore Perazzoli2001-08-084-0/+16
| | | | | | | | | | | | * e-corba-shortcuts.c (shortcut_list_to_corba): Set the release flag for the newly allocated sequence. * e-activity-handler.c (impl_operationStarted): Unref the icon_pixbuf. * e-task-widget.c (impl_destroy): g_free the private struct. svn path=/trunk/; revision=11778
* clarify last entryJacob Leach2001-08-081-2/+2
| | | | svn path=/trunk/; revision=11776
* Set the icon for the folder tree correctly.Jason Leach2001-08-082-1/+6
| | | | | | | | | 2001-08-08 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (etree_icon_at): Set the icon for the folder tree correctly. svn path=/trunk/; revision=11775
* Fill the CORBA sequence once.Ettore Perazzoli2001-08-083-2/+9
| | | | | | | | | | * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Fill the CORBA sequence once. * e-activity-handler.c (activity_info_free): Unref the icon. svn path=/trunk/; revision=11773
* Sigh. If the function says "prepend", of course the function to call isEttore Perazzoli2001-08-082-1/+7
| | | | | | | | * e-task-bar.c (e_task_bar_prepend_task): Sigh. If the function says "prepend", of course the function to call is `g_list_prepend()', not `g_list_append()'. You dumbass. svn path=/trunk/; revision=11771
* Small stylistical/aesthetical fix.Ettore Perazzoli2001-08-081-2/+2
| | | | svn path=/trunk/; revision=11770
* Set the sensitivity for the OK button when a storage is selected too. BugJason Leach2001-08-082-0/+21
| | | | | | | | | | 2001-08-08 Jason Leach <jleach@ximian.com> * e-shell-folder-creation-dialog.c (storage_set_view_storage_selected_cb): Set the sensitivity for the OK button when a storage is selected too. Bug #6473. svn path=/trunk/; revision=11765
* Set the release flag on the returned icon to %TRUE.Ettore Perazzoli2001-08-082-0/+7
| | | | | | | * evolution-activity-client.c (create_icon_from_pixbuf): Set the release flag on the returned icon to %TRUE. svn path=/trunk/; revision=11764
* If the shortcut points to some folder in the storage set, get the typeEttore Perazzoli2001-08-083-3/+65
| | | | | | | | | | | | | | | * e-shortcuts.c (load_shortcuts): If the shortcut points to some folder in the storage set, get the type from it. * e-storage-set.c (signal_new_folder_for_all_folders_under_paths): New helper function. (signal_new_folder_for_all_folders_in_storage): New helper function. (e_storage_set_add_storage): Call the latter to emit a "new_folder" signal for all the folders contained in the newly added storage. svn path=/trunk/; revision=11750
* [This should fix #5407, application crash on re-opening.]Ettore Perazzoli2001-08-083-8/+17
| | | | | | | | | | | | * e-shell.c (e_shell_construct): Call `gtk_widget_hide_on_delete()' on the splash. * e-splash.c (e_splash_add_icon): Don't check for destruction here. (e_splash_set_icon_highlight): Not even here. (button_press_event): Use a GTK+ cast. svn path=/trunk/; revision=11743
* [Updated the shortcuts view implementation to set the icons on aEttore Perazzoli2001-08-083-43/+37
| | | | | | | | | | | | | | | per-shortcut basis (instead of a per-URL basis) according to the changes in the EShortcutBar API.] * e-shortcuts-view-model.c (load_group_into_model): Get the icon from the folder type registry. (shortcuts_new_shortcut_cb): Likewise. (shortcuts_update_shortcut_cb): Likewise. * e-shortcuts-view.c (icon_callback): Removed. (e_shortcuts_view_construct): Don't set the icon callback anymore. svn path=/trunk/; revision=11741
* Don't use a leaky hash to get folder names with unread count, useJason Leach2001-08-082-32/+27
| | | | | | | | | | | | | 2001-08-07 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (etree_value_at): Don't use a leaky hash to get folder names with unread count, use gtk_object_set_data_full and gtk_object_get_data on the EFolder. (etree_icon_at): Give the "My Evolution" storage an icon through a non-generic way. Will be replaced by a generic method when other storages get icons too. svn path=/trunk/; revision=11735
* Free the CORBA version of the animated icon.Ettore Perazzoli2001-08-082-1/+13
| | | | | | | | * evolution-activity-client.c (evolution_activity_client_construct): Free the CORBA version of the animated icon. svn path=/trunk/; revision=11731
* Unref the listener when done.Not Zed2001-08-072-0/+8
| | | | | | | | | 2001-08-07 Not Zed <NotZed@Ximian.com> * evolution-activity-client.c (impl_destroy): Unref the listener when done. svn path=/trunk/; revision=11725
* Remove member `hbox' from `struct _EShellFolderTitleBarPrivate'.Ettore Perazzoli2001-08-073-163/+227
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c: Remove member `hbox' from `struct _EShellFolderTitleBarPrivate'. (make_icon_pixmap): Removed. (rgb_from_gdk_color): Removed. (endarken_style): Removed. (set_style_cb): Removed. (create_arrow_pixmap): Renamed from `create_icon_pixmap'. (get_max_clipped_label_width): New helper function. (size_allocate_icon): New helper function. (size_allocate_button): New helper function. (size_allocate_label): New helper function. (add_icon_widget): New helper function. (realize): Changed to use `add_icon_widget()'. (size_allocate): New function, handler for the ::size_allocate method. (class_init): Install it. (e_shell_folder_title_bar_construct): Changed so that the widget get added to this widget instead of adding an hbox to it and adding the widgets to the hbox. (e_shell_folder_title_bar_set_icon): Changed to use `add_icon_widget()'. * e-shell-folder-title-bar.h, e-shell-folder-title-bar.c: Changed to derive from GtkHBox, not GtkEventBox. svn path=/trunk/; revision=11718
* Turn on highlighting on a row by row basis.Christopher James Lahey2001-08-072-0/+20
| | | | | | | | | 2001-08-06 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_drag_motion): Turn on highlighting on a row by row basis. svn path=/trunk/; revision=11715
* Add some padding to the label so that the title doesn't move around whenEttore Perazzoli2001-08-0515-94/+734
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-title-bar.c (e_shell_folder_title_bar_construct): Add some padding to the label so that the title doesn't move around when you switch between pop-up and non-pop-up folder bar. Also, change all the GtkLabels to be GtkClippedLabels instead. (e_shell_folder_title_bar_set_title): Updated to use EClippedLabels instead of GtkLabels. (e_shell_folder_title_bar_set_folder_bar_label): Likewise. * e-shell.c (impl_Shell__get_displayName): New, implementation for the `displayName' attribute. * Evolution-Shell.idl: Added readonly attribute `displayName' to get the canonicalized X11 display name for the shell. * e-shell.c (e_shell_construct): Ooops. Return `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER' if the OAF registration fails, not `E_SHELL_CONSTRUCT_RESULT_GENERICERROR'. * e-shortcuts-view.c (rename_group_cb): Get the toplevel from the shortcuts view, not the widget. (rename_shortcut_cb): Likewise. (show_new_group_dialog): Changed to use `e_request_string()'. * evolution-test-component.c: Add the %FALSE value for the `user_creatable' field in the `folder_types' entry. * evolution-shell-client.c: New member `shortcuts_interface' in `EvolutionShellClientPrivate'. (destroy): Unref it if not CORBA_OBJECT_NIL. (init): Init to CORBA_OBJECT_NIL. (query_shell_interface): New helper function to query an interface on the shell and spit out warnings if it fails. (evolution_shell_client_construct): Use it to query the ::Activity interface. Also query the ::Shortcuts interface and set the `shortcuts_interface' member to point to it. * e-shell.c: New member `corba_shortcuts' in `EShellPrivate'. (init): Init to NULL. (setup_shortcuts_interface): Helper function to add the ::Shortcuts CORBA interface to the shell. (e_shell_construct): Call it. * e-corba-shortcuts.c, e-corba-shortcuts.h: New objects implementing the `Evolution::Shortcuts' CORBA interface. * Evolution-Shortcuts.idl: New interface for accessing the shortcuts in the shell. * e-shell.c (e_shell_get_config_db): Moved down. svn path=/trunk/; revision=11689
* Some paths here don't set handled properly so lets initialize it to FALSE.Christopher James Lahey2001-08-042-6/+15
| | | | | | | | | | | | 2001-08-03 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (tree_drag_data_received): Some paths here don't set handled properly so lets initialize it to FALSE. (update_folder_with_unread_hash, etree_value_at): constified folder_name here. (init): Initialize priv->drag_path here to NULL. svn path=/trunk/; revision=11648
* yeah, and that last fix to :-)Jacob Leach2001-08-041-3/+3
| | | | svn path=/trunk/; revision=11640
* oops, should have tested that warning fix.Jacob Leach2001-08-041-1/+1
| | | | svn path=/trunk/; revision=11639
* warning fix.Jacob Leach2001-08-041-1/+0
| | | | svn path=/trunk/; revision=11638
* build fixJacob Leach2001-08-041-0/+2
| | | | svn path=/trunk/; revision=11637
* [Removing Evolution::LocalStorage interface, abstracting the unread countsJason Leach2001-08-0431-493/+560
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* [Fix #6232, the thirty-four-splash-screens-at-startup bug.]Ettore Perazzoli2001-08-035-37/+119
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (setup_local_storage): Add an E_STORAGE() cast to prevent a warning. * main.c (idle_cb): Only try to activate from the shell ID if the result is `E_SHELL_CONSTRUCT_RESULT_CANNOTREGISTER'; if there is a different error, spit out a dialog box with a description of it and exit instead. * e-shell.c (e_shell_construct): Return an `EShellConstructResult' describing what kind of result we had. Show the splash after the DB has been reached, not before. (e_shell_construct_result_to_string): New function to get a descriptive string out of an `EShellConstructResult'. (e_shell_new): New arg @construct_result_return to return a description of the result of the operation. * e-shell.h: New enum `EShellConstructResult'. * e-shell.c (impl_Shell_createNewView): Raise `InternalError' instead of crashing if the shell_view returns a CORBA_OBJECT_NIL. * Evolution-Shell.idl: New exception `InternalError'. `createNewView' and `handleURI' can raise it. svn path=/trunk/; revision=11611
* Make "My Evolution" a normal storage instead of being the toplevelEttore Perazzoli2001-08-038-79/+285
| | | | | | node that contains everything else. svn path=/trunk/; revision=11610
* Call `gtk_drag_finish()' here.Ettore Perazzoli2001-08-032-3/+13
| | | | | | | * e-storage-set-view.c (tree_drag_data_received): Call `gtk_drag_finish()' here. svn path=/trunk/; revision=11608
* Actually __fini the servant and deactivate the object too.Ettore Perazzoli2001-08-032-8/+20
| | | | | | | | | * e-shell-offline-handler.c (progress_listener_servant_free): Actually __fini the servant and deactivate the object too. (component_info_free): Updated accordingly [i.e. don't do the deactivation stuff here]. svn path=/trunk/; revision=11607
* [Fixes #4663, startup crash.]Ettore Perazzoli2001-08-032-0/+16
| | | | | | | | * e-shell.c (e_shell_construct): Make sure the pointer to the db object is CORBA_OBJECT_NIL if `bonobo_get_object()' raises an exception. svn path=/trunk/; revision=11606
* Also call `PortableServer_POA_deactivate_object()' on the progressEttore Perazzoli2001-08-032-1/+12
| | | | | | | | * e-shell-offline-handler.c (component_info_free): Also call `PortableServer_POA_deactivate_object()' on the progress listener object so it gets deactivated. svn path=/trunk/; revision=11605
* Spit out a warning if we cannot resolve "Bonobo/ConfigDatabase" onEttore Perazzoli2001-08-032-6/+18
| | | | | | | | * e-shell.c (e_shell_construct): Spit out a warning if we cannot resolve "Bonobo/ConfigDatabase" on "wombat:". Also, register on OAF only after we are sure we are not going to return FALSE. svn path=/trunk/; revision=11603
* Set the `set_folder_uri' to NULL when freeing it.Ettore Perazzoli2001-08-033-2/+11
| | | | | | | | | | * 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
* Do a NULL-check on current_uri - socket is being closed? (as per theJeffrey Stedfast2001-08-022-4/+10
| | | | | | | | | | 2001-08-01 Jeffrey Stedfast <fejj@ximian.com> * e-shell-view-menu.c (command_new_folder): Do a NULL-check on current_uri - socket is being closed? (as per the comments for the NULL-check in e-shell-view.c:socket_destroy_cb). svn path=/trunk/; revision=11557
* Removed debugging messages.Ettore Perazzoli2001-07-311-0/+4
| | | | | | * evolution-activity-client.c: Removed debugging messages. svn path=/trunk/; revision=11501
* Added some comments about the possible race condition issues with theEttore Perazzoli2001-07-311-26/+9
| | | | | | | invocation of the CORBA call in `evolution_activity_client_update()' and killed some debugging messages. svn path=/trunk/; revision=11500
* Also update have_pending_update before calling corba, as below.Not Zed2001-07-312-2/+6
| | | | | | | | | 2001-07-31 Not Zed <NotZed@Ximian.com> * evolution-activity-client.c (evolution_activity_client_update): Also update have_pending_update before calling corba, as below. svn path=/trunk/; revision=11499
* [This should fix #5110, shell crash when switching folders.]Ettore Perazzoli2001-07-312-5/+14
| | | | | | | | | * evolution-activity-client.c (update_timeout_callback): Set the `have_pending_update' flag before doing the CORBA call. (evolution_activity_client_update): Set the timeout before doing the CORBA call. svn path=/trunk/; revision=11498
* Remember the current group so after renaming a group it doesn't flip toJason Leach2001-07-314-3/+23
| | | | | | | | | | | | | 2001-07-30 Jason Leach <jleach@ximian.com> * e-shortcuts-view.c (rename_group_cb): Remember the current group so after renaming a group it doesn't flip to the next group. Bug #3857. * e-shortcuts.c (e_shortcuts_rename_group): Comparing two separately allocated strings, use strcmp() instead of !=. svn path=/trunk/; revision=11483
* If we can't create a folder because it already exists, select that folderJason Leach2001-07-312-0/+18
| | | | | | | | | | 2001-07-30 Jason Leach <jleach@ximian.com> * e-shell-folder-creation-dialog.c (async_create_cb): If we can't create a folder because it already exists, select that folder that exists. Bug #1716. svn path=/trunk/; revision=11482
* Fix support for gtkhtml when compiled with gconf supportFrédéric Crozat2001-07-303-0/+18
| | | | svn path=/trunk/; revision=11473
* Remove the source for the timeout *before* invoking the CORBA method, asEttore Perazzoli2001-07-283-53/+98
| | | | | | | | | | | | | | | * evolution-activity-client.c (impl_destroy): Remove the source for the timeout *before* invoking the CORBA method, as we might get the timeout callback while invoking the CORBA method, thus screwing things up. * evolution-shell-component-client.c (destroy_listener_interface): New helper function. (dispatch_callback): Use it. (impl_destroy): Call it when destroying the listener interface instead of just freeing the servant. svn path=/trunk/; revision=11452
* Little UI nit: capitalize the words Offline/Online for the File menu.Jason Leach2001-07-272-3/+8
| | | | | | | | | 2001-07-26 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (update_offline_menu_item): Little UI nit: capitalize the words Offline/Online for the File menu. svn path=/trunk/; revision=11428
* New function. When a folder is selected set the OK button to be sensitiveJason Leach2001-07-262-2/+23
| | | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * e-shell-folder-selection-dialog.c (folder_selected_cb): New function. When a folder is selected set the OK button to be sensitive (but before that have it desensitized). Bug #5483. svn path=/trunk/; revision=11414
* A warning fix from Jacob. Bug #5057.Jason Leach2001-07-262-4/+7
| | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * e-shortcuts-view.c (icon_callback): A warning fix from Jacob. Bug #5057. svn path=/trunk/; revision=11403
* $(BONOBO_CONF_CFLAGS) was here twice, took out one of them.Jason Leach2001-07-263-2/+10
| | | | | | | | | | | | 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
* #include <libgnome/gnome-defs.h> and <libgnome/gnome-i18n.h> instead ofJason Leach2001-07-252-4/+9
| | | | | | | | | | 2001-07-25 Jason Leach <jleach@ximian.com> * e-task-widget.c: #include <libgnome/gnome-defs.h> and <libgnome/gnome-i18n.h> instead of the full <libgnome/libgnome.h>, as noted by a comment here. svn path=/trunk/; revision=11397
* fix some warnings.Jacob Leach2001-07-251-3/+3
| | | | svn path=/trunk/; revision=11371
* Add the "/My Evolution" path to the path_to_etree_node hash so thatJason Leach2001-07-252-4/+19
| | | | | | | | | | | 2001-07-24 Jason Leach <jleach@ximian.com> * e-storage-set-view.c (e_storage_set_view_construct): Add the "/My Evolution" path to the path_to_etree_node hash so that storage_set_view_set_current_folder() can select the My Evolution node when it's the current one. Fixes #5114 and #3956. svn path=/trunk/; revision=11348
* Only show the warning dialog instead of using `gnome_dialog_run()' so itEttore Perazzoli2001-07-241-2/+10
| | | | | | | | | | * main.c (development_warning): Only show the warning dialog instead of using `gnome_dialog_run()' so it is not modal. Modal would be nice, but unfortunately it works bad with Bonobo. Plus Sawfish doesn't like to keep the modal dialog on top, so it gets very confusing for users. svn path=/trunk/; revision=11334
* Only show the warning dialog instead of using `gnome_dialog_run()' so itEttore Perazzoli2001-07-242-7/+13
| | | | | | | | | | * main.c (development_warning): Only show the warning dialog instead of using `gnome_dialog_run()' so it is not modal. Modal would be nice, but unfortunately it works bad with Bonobo. Plus Sawfish doesn't like to keep the modal dialog on top, so it gets very confusing for users. svn path=/trunk/; revision=11331
* Uhm, set the usize to `1, -1' instead.Ettore Perazzoli2001-07-242-1/+6
| | | | | | | * e-task-widget.c (e_task_widget_construct): Uhm, set the usize to `1, -1' instead. svn path=/trunk/; revision=11318
* Set the usize for the contained hbox to 0x0.Ettore Perazzoli2001-07-242-0/+7
| | | | | | | * e-task-widget.c (e_task_widget_construct): Set the usize for the contained hbox to 0x0. svn path=/trunk/; revision=11311
* Get the manuals from the `evolution-guide' dir as that's where they getEttore Perazzoli2001-07-242-5/+10
| | | | | | | * e-shell-view-menu.c: Get the manuals from the `evolution-guide' dir as that's where they get installed. svn path=/trunk/; revision=11309
* Don't handle button events whose button number is not 1.Ettore Perazzoli2001-07-242-1/+7
| | | | | | | * 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
* Add an extra @type arg to the xferFolder and removeFolder methods inEttore Perazzoli2001-07-237-2/+42
| | | | | | | | the ShellComponent interface. Updated the EvolutionShellComponent GTK+ wrapper and all the component accordingly. Get the calendar to use this so it can delete both tasks and calendar folders. svn path=/trunk/; revision=11300
* Add a `user_creatable' property to folder types and make componentsEttore Perazzoli2001-07-228-8/+71
| | | | | | | use it, so that e.g. you cannot create a folder of type "mailstorage" or "vtrash". svn path=/trunk/; revision=11298
* Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we areEttore Perazzoli2001-07-222-1/+13
| | | | | | | | | | | | * evolution-activity-client.c (impl_destroy): Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we are using `g_timeout_add()' and not `gtk_timeout_add()' to set up the timeout callback. (update_timeout_callback): Reset `have_pending_update' when returning %TRUE. Set the timeout id to zero when returning %FALSE. svn path=/trunk/; revision=11295
* [Fix a crash if you start evolution with a bad URI.]Jason Leach2001-07-213-2/+16
| | | | | | | | | | | | | | | | | 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
* [This is a better way to have "Local Folders" be shown as the localJason Leach2001-07-219-8/+77
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-20 Jason Leach <jleach@ximian.com> [This is a better way to have "Local Folders" be shown as the local storage name without breaking current user's shortcuts.] * e-corba-storage.c (get_display_name): Implement this, but it's only returning the real name now. Need to change the IDL soon to let corba storages have separated display names. * e-shortcuts.c (e_shortcuts_add_default_group): Set these default shortcut URI's back to evolution:/local/ * e-shell-view.h (DEFAULT_URI): Set this back to "evolution:/local/Inbox" * e-storage-set-view.c (etree_value_at): Get the display name for a storage rather than it's true name. * e-local-storage.c (impl_get_display_name): Implemented for the local folder (to return a translated "Local Folders"). * e-storage.c (e_storage_get_display_name): New virtual function for retrieving the display name. svn path=/trunk/; revision=11274
* Make the local storage name "Local Folders" instead of "local", looksJason Leach2001-07-207-12/+27
| | | | | | | | | | | | | | | | | | | | | | 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-203-3/+15
| | | | | | | | | | | | | | | | 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
* Removed. (load_shortcuts): Don't call it.Ettore Perazzoli2001-07-162-29/+6
| | | | | | | | * e-shortcuts.c (override_shortcut_name_and_type_from_storage_set): Removed. (load_shortcuts): Don't call it. svn path=/trunk/; revision=11120
* [Fix #4387, Shortcut bar items don't keep the name after rename.]Ettore Perazzoli2001-07-152-1/+8
| | | | | | | * e-shortcuts.c (update_shortcuts_by_path): Do not change the name of the shortcut if the folder's name changes. svn path=/trunk/; revision=11115
* Display an icon for nodes at depth greater than 2 in the tree view asEttore Perazzoli2001-07-152-11/+10
| | | | | | well. svn path=/trunk/; revision=11113
* Fix a crash that could happen by closing one or more views, and thenEttore Perazzoli2001-07-153-4/+14
| | | | | | clicking on the off-line button. svn path=/trunk/; revision=11107
* Because bugzilla.ximian does have a mail gateway now, we can haveJason Leach2001-07-132-22/+13
| | | | | | | | | | 2001-07-12 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c (command_submit_bug): Because bugzilla.ximian does have a mail gateway now, we can have Help->Submit Bug Report open up bug-buddy. svn path=/trunk/; revision=11075
* Remove warningIain Holmes2001-07-132-1/+4
| | | | svn path=/trunk/; revision=11072
* Initialize priv->db and priv->iid so that destroy() won't crash ifDan Winship2001-07-132-0/+8
| | | | | | | | * e-shell.c (init): Initialize priv->db and priv->iid so that destroy() won't crash if e_shell_construct bails out before setting them. Reduces bug #4173 to #4169. svn path=/trunk/; revision=11044
* DONT ASK ME AGAIN!Iain Holmes2001-07-122-0/+7
| | | | svn path=/trunk/; revision=11012
* Mark a string for translation.Kjartan Maraas2001-07-112-1/+5
| | | | | | | | 2001-07-11 Kjartan Maraas <kmaraas@gnome.org> * importers/intelligent.c: Mark a string for translation. svn path=/trunk/; revision=11001
* Make sure to create ~/evolution/config/ if it doesn't exist. (ShellViewJason Leach2001-07-112-2/+19
| | | | | | | | | | | 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
* Add a temporary block of code to not use theJason Leach2001-07-112-0/+16
| | | | | | | | | | | 2001-07-10 Jason Leach <jleach@ximian.com> * e-setup.c (copy_default_stuff): Add a temporary block of code to not use the $GNOME/share/evolution/default_user/shortcuts.xml for users who might be upgrading, so they'll get the shell-generated default set of shortcuts. See notes on #4394. svn path=/trunk/; revision=10981
* convert the folder name from utf8 before displaying them in the dialog andLarry Ewing2001-07-102-3/+14
| | | | | | | | | | 2001-07-09 Larry Ewing <lewing@ximian.com> * e-shell-folder-commands.c (delete_dialog): convert the folder name from utf8 before displaying them in the dialog and set the dialog parent. svn path=/trunk/; revision=10943
* Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have aFederico Mena Quintero2001-07-102-7/+15
| | | | | | | | | | | | 2001-07-09 Federico Mena Quintero <federico@ximian.com> * e-shortcuts-view.c: Make the "Rename" item be a GNOMEUIINFO_ITEM_NONE() since we don't have a stock icon; likewise for the "Open in New Window". This gets rid of warnings from gnome-libs. Use a better stock icon for the "Remove" command, and add a stock icon to the "Open" command. svn path=/trunk/; revision=10938
* It's very possible that get_storage_set_path_from_uri() returns NULL (5 ofJason Leach2001-07-102-1/+8
| | | | | | | | | | | 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-093-17/+52
| | | | | | | | | | | | | | | | | | | * 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
* Little UI tweak for right click menu, pronouns shouldn't be capitalizedJason Leach2001-07-072-2/+5
| | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> * e-shortcuts-view.c: Little UI tweak for right click menu, pronouns shouldn't be capitalized ("This" in this case). svn path=/trunk/; revision=10871
* [Misc fixes and part of #2228, There should be no dialog boxes duringJason Leach2001-07-072-7/+17
| | | | | | | | | | | | | | | | | | | 2001-07-06 Jason Leach <jleach@ximian.com> [Misc fixes and part of #2228, There should be no dialog boxes during startup.] * e-setup.c (e_setup): Check for searches.xml instead of shortcuts.xml, since shortcuts.xml doesn't really need to exist (and thus wouldn't be a necessary test whether ~/evolution was invalid) because shell can generate shortcuts. (copy_default_stuff): For first time users, only present a dialog if a problem occurred. We've already clicked "Ok" on a dialog about copying files. (check_evolution_directory): Take out the "successfully installed" dialog on updates too. svn path=/trunk/; revision=10864
* [This should fix #3873, Bizzarre crash after deleting a fewEttore Perazzoli2001-07-062-5/+9
| | | | | | | | | | folders.] * e-local-storage.c (remove_folder): Don't free the `physical_path' on error, as it gets freed when freeing the callback data. svn path=/trunk/; revision=10842
* Added error dialogs for when the user tries to copy/move a folder overEttore Perazzoli2001-07-062-0/+36
| | | | | | | itself, or move it under one of its descendants. [Fixes #3959, copying a folder over itself crashes Evolution.] svn path=/trunk/; revision=10841
* Special case the My Evolution uri so that the correct icon appears in theIain Holmes2001-07-062-9/+19
| | | | | | shortcut bar. svn path=/trunk/; revision=10822
* Get the File -> Folder -> Properties menu item work again for theEttore Perazzoli2001-07-054-28/+15
| | | | | | mailer. svn path=/trunk/; revision=10793
* set "pixname" value only if pixbuf was loaded successfully. OtherwiseGediminas Paulauskas2001-07-052-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-shell-component-utils.c (e_pixmaps_update): set "pixname" value only if pixbuf was loaded successfully. Otherwise component crashes if image is not found. Should be checked for sanity in bonobo_ui_component_set_prop IMHO. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * Makefile.am: install apply-filters-16.xpm 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * evolution-mail-message.xml: MessageApplyFilters now has an icon. 2001-07-04 Gediminas Paulauskas <menesis@delfi.lt> * folder-browser-ui.c (message_pixcache): set icon for ApplyFilters command. svn path=/trunk/; revision=10783
* Revised to make it less scary.Aaron Weber2001-07-042-10/+10
| | | | | | | | 2001-07-03 Aaron Weber <aaron@ximian.com> * main.c (development_warning): Revised to make it less scary. svn path=/trunk/; revision=10775
* [Fix a problem with not being able to save a newly createdEttore Perazzoli2001-07-042-1/+15
| | | | | | | | | | | | `shortcuts.xml' file, and another bug that caused the default group to be added at every start-up, even there were groups already.] * e-shortcuts.c (e_shortcuts_new): If loading the shortcuts fails, set the file_name. (load_shortcuts): Update `num_groups'. svn path=/trunk/; revision=10763
* use bonobo-conf everywhereDietmar Maurer2001-07-044-109/+135
| | | | | | | | 2001-07-03 Dietmar Maurer <dietmar@ximian.com> * *: use bonobo-conf everywhere svn path=/trunk/; revision=10760
* More BonoboConf workIain Holmes2001-07-042-0/+5
| | | | svn path=/trunk/; revision=10752
* [The following makes the shell able to create the `shortcuts.xml'Ettore Perazzoli2001-07-034-21/+72
| | | | | | | | | | | | | | | | | | | | | file by itself when the file is not present or corrupted. Fixes #3668, failure to handle malformed shortcuts.xml file.] * e-shell.c (e_shell_construct): If the `e_shortcuts_new()' returns an object with no shortcuts in it, fill it in with `e_shortcuts_add_default_group()'. * e-shortcuts.c: New member `num_groups' in EShortcutsPrivate. (init): Init to zero. (e_shortcuts_add_group): Increment. (e_shortcuts_remove_group): Decrement. (e_shortcuts_get_num_groups): New. (e_shortcuts_add_default_group): New function to set up the default shortcuts. (e_shortcuts_new): Return an empty EShortcuts object if loading the file files, instead of returning NULL. svn path=/trunk/; revision=10744
* Ref/unref the handler so the signal handlers can unref it safely. Also, ifEttore Perazzoli2001-07-033-2/+25
| | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Ref/unref the handler so the signal handlers can unref it safely. Also, if `prepare_for_offline()' fails, don't say that there was an internal error, as that's confusing. Just say we couldn't put the components off-line. [Fix #3758, clicking on the online/offline button crashed Evolution.] * Evolution-Offline.idl: Don't derive OfflineProgressListener from Bonobo::Unknown. svn path=/trunk/; revision=10742
* [Fixed #3643, Shell crash when component crashed]Ettore Perazzoli2001-07-032-1/+19
| | | | | | | | | * 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
* Made evolution depend on bonobo-conf 0.2.Christopher James Lahey2001-07-032-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-07-02 Christopher James Lahey <clahey@ximian.com> * configure.in: Made evolution depend on bonobo-conf 0.2. From calendar/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * gui/Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_calendar_LDADD): Added $(BONOBO_CONF_LIBS). From composer/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). From shell/ChangeLog: 2001-07-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Added $(BONOBO_CONF_CFLAGS). (evolution_LDADD): Added $(BONOBO_CONF_LIBS). svn path=/trunk/; revision=10718
* Don't assert that there is a handler, so we don't crash if user clicks onEttore Perazzoli2001-07-038-44/+132
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Don't assert that there is a handler, so we don't crash if user clicks on a folder whose type we cannot handle for some reason [such as an uninstalled component]. * evolution-test-component.c (activity_client_cancel_callback): New callback for the "cancel" signal on the EvolutionActivityClient object. (activity_client_show_details_callback): New callback for the "show_details" signal. (timeout_callback_1): Connect these two signal handlers. * e-activity-handler.c (task_widget_button_press_event_callback): Ahem, right-click is button 3, not button 2. (show_cancellation_popup): Actually pop up the menu. (get_corba_null_value): New helper function to create a CORBA_any null value. (report_task_event): New helper function to report events to the listener. (task_widget_cancel_callback): Use it. Report "Cancel" instead of "Cancelled". (task_widget_show_details_callback): New, callback for the "Show Details" right-click menu item. * evolution-activity-client.c: Updated to dispatch the "Cancel" and "ShowDetails" events as "cancel" and "show_details" signals. (class_init): Install the signals. (listener_callback): Updated to update the signals corresponding to the "ShowDetails" and "Cancel" events. * Evolution-Activity.idl: Changed the docs about the events sent to the Bonobo::Listener. We now only have "ShowDetails" and "Cancelled". * evolution-test-component.c (timeout_callback_1): Make the activity cancellable so we can test the right-click cancel menu too. * main.c (idle_cb): Actually exit if we cannot reach to the shell. svn path=/trunk/; revision=10684
* Make the EUriSchemaRegistry object non-floating at construction time.Ettore Perazzoli2001-07-023-1/+8
| | | | svn path=/trunk/; revision=10658
* Get the "Open in a New Window" shortcut right-click menu to actuallyEttore Perazzoli2001-07-023-12/+49
| | | | | | | | 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
* Fix a crash that happened when dragging a folder that didn't have aEttore Perazzoli2001-07-012-1/+8
| | | | | | component associated with it. svn path=/trunk/; revision=10656
* Implemented the `File -> New -> Shortcut' command.Ettore Perazzoli2001-07-014-14/+150
| | | | | | | I have also implemented a "no-new-button" mode for the folder selection dialog widget. svn path=/trunk/; revision=10655
* Missing ChangeLog entries for the previous commit.Ettore Perazzoli2001-07-011-1/+14
| | | | svn path=/trunk/; revision=10654
* Implemented a "Rename Group" command. Unfortunately, it doesn't workEttore Perazzoli2001-07-015-1/+97
| | | | | | very well due to EShortcutBar breakage. But we'll fix that later. svn path=/trunk/; revision=10653
* Change EShortcuts to not use group titles to access specific groups.Ettore Perazzoli2001-07-014-32/+33
| | | | | | Also, allow more than one group with the same title. svn path=/trunk/; revision=10652
* Implemented a "Rename Shortcut" command.Ettore Perazzoli2001-07-013-31/+88
| | | | svn path=/trunk/; revision=10651
* Change the internal structure for shortucts, so that it contains aEttore Perazzoli2001-07-015-36/+242
| | | | | | | | | | | | | | | | | | | 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
* Pass the event time to gtk_menu_popup() so that we can release the buttonFederico Mena Quintero2001-07-012-1/+7
| | | | | | | | | | 2001-06-30 Federico Mena Quintero <federico@ximian.com> * e-storage-set-view.c (popup_folder_menu): Pass the event time to gtk_menu_popup() so that we can release the button and have the menu stay up. svn path=/trunk/; revision=10633
* This is a first shoot at making shortcuts renameable [#3719];Ettore Perazzoli2001-06-307-297/+263
| | | | | | | | 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
* Replaced GList with GSList here to fix a type mismatch.Christopher James Lahey2001-06-302-1/+6
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * e-shortcuts-view-model.c (load_all_shortcuts_into_model): Replaced GList with GSList here to fix a type mismatch. svn path=/trunk/; revision=10619
* Changed $(datadir)/evolution/etspec to "$(etspecdir)" here.Christopher James Lahey2001-06-302-2/+7
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * Makefile.am (INCLUDES): Changed $(datadir)/evolution/etspec to "$(etspecdir)" here. svn path=/trunk/; revision=10618
* Replaced GList with GSList here to fix a type mismatch.Christopher James Lahey2001-06-302-1/+6
| | | | | | | | | 2001-06-29 Christopher James Lahey <clahey@ximian.com> * e-shortcuts-view-model.c (load_group_into_model): Replaced GList with GSList here to fix a type mismatch. svn path=/trunk/; revision=10617
* Change EShortcuts to use GSLists instead of GLists.Ettore Perazzoli2001-06-304-60/+75
| | | | svn path=/trunk/; revision=10615
* Fix the fix.Ettore Perazzoli2001-06-291-1/+1
| | | | svn path=/trunk/; revision=10589
* Ooops. Update ChangeLog entry correctly.Ettore Perazzoli2001-06-291-1/+2
| | | | svn path=/trunk/; revision=10588
* Fix #3756, `--debug' option not working anymore.Ettore Perazzoli2001-06-292-5/+18
| | | | svn path=/trunk/; revision=10586
* Fix #3382, shortcut bar crashes when checking mail, and all theEttore Perazzoli2001-06-292-6/+22
| | | | | | | | | | different incarnations involving updates to an shortcut bar having shortcuts to non-existent folders. Also, this fixes #1643, shortcuts not visible until you enable an IMAP account, and #2436, i.e. misbehavior of shortcut groups when IMAP or invalid shortcuts are involved. svn path=/trunk/; revision=10583
* (e_storage_new_folder): Move the folder_changed_cb() call to avoidDan Winship2001-06-292-1/+4
| | | | | | a g_warning. svn path=/trunk/; revision=10570
* Call folder_changed_cb after adding the new folder so that if it was addedDan Winship2001-06-292-0/+7
| | | | | | | | * e-storage.c (e_storage_new_folder): Call folder_changed_cb after adding the new folder so that if it was added highlighted, its parent will get its child_highlight set. svn path=/trunk/; revision=10569
* Rename `e_shell_new_view()' into `e_shell_create_view()' to avoidEttore Perazzoli2001-06-286-11/+16
| | | | | | confusion with `e_shell_view_new()'. svn path=/trunk/; revision=10556
* Make the shell to be able to display URIs that the user specified onEttore Perazzoli2001-06-289-47/+159
| | | | | | the command-line. svn path=/trunk/; revision=10554
* Added a URI schema registry to the shell, and changed the bootstrapEttore Perazzoli2001-06-289-5/+440
| | | | | | | sequence to get the schema lists from the components and register them into it. svn path=/trunk/; revision=10553
* Remove redundant declaration for `free_ShellComponentListener_servant()'.Ettore Perazzoli2001-06-282-3/+5
| | | | svn path=/trunk/; revision=10551
* Get EvolutionShellComponent to emit a "handle_external_uri" when itEttore Perazzoli2001-06-282-0/+20
| | | | | | gets an handleExternalURI CORBA invokation. svn path=/trunk/; revision=10550
* Rename the method implementation functions to match the CORBA names.Ettore Perazzoli2001-06-282-41/+58
| | | | svn path=/trunk/; revision=10549
* Add method `ShellComponent::handleExternalURI' and anEttore Perazzoli2001-06-285-2/+108
| | | | | | | | | `external_uri_schemas' attribute. Update the EvolutionShellComponent GTK+ wrapper accordingly. Update all the components to pass a NULL `external_uri_schemas' list when initializing themselves as EvolutionShellComponents. svn path=/trunk/; revision=10548
* Remove a ChangeLog entry that referred to code that I haven'tEttore Perazzoli2001-06-271-11/+0
| | | | | | committed yet. Ooops. :-) svn path=/trunk/; revision=10528
* Plug a leak. Every time the ETable would query the model for theEttore Perazzoli2001-06-272-1/+7
| | | | | | | string at the top of the tree, a "My Evolution" string would be leaked. svn path=/trunk/; revision=10523
* Avoid calling the listener directly in `e-local-folder.c'; instead,Ettore Perazzoli2001-06-272-67/+38
| | | | | | | just return appropriate values from the signal handlers, as expected by the API. svn path=/trunk/; revision=10522
* display a selected uri in a timeout rather than right away, so the UIjacob berkman2001-06-262-3/+68
| | | | | | | | | | | | | | | 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
* Get the shell to unregister the components on exit again.Ettore Perazzoli2001-06-254-1/+25
| | | | svn path=/trunk/; revision=10475
* Break the build so the current shell breakage doesn't get into theEttore Perazzoli2001-06-251-0/+13
| | | | | | builds. svn path=/trunk/; revision=10474
* Remove some spurious "\n"s from g_warnings.Ettore Perazzoli2001-06-253-6/+16
| | | | svn path=/trunk/; revision=10472
* Ooops. I missed one ChangeLog entry in the previous commit.Ettore Perazzoli2001-06-251-0/+2
| | | | svn path=/trunk/; revision=10471
* Fixed a nasty chain of broken fixes to broken fixes to broken fixes,Ettore Perazzoli2001-06-255-21/+28
| | | | | | | | | | thus getting the shell refcounting in better shape. The quit sequence is still not quite right, but we are getting there. Also fixed a nasty bug in destroying the EStorageSet due to a very old commit by the Meekster. svn path=/trunk/; revision=10470
* Remove the ugliness that was `e_shell_quit()'; implement anEttore Perazzoli2001-06-255-44/+25
| | | | | | | `e_shell_destroy_all_views()' function instead, and get the "Exit" menu item to use that instead. svn path=/trunk/; revision=10467
* Rename `GNOME_Evolution_TestComponent.oafinfo' intoEttore Perazzoli2001-06-253-2/+9
| | | | | | `GNOME_Evolution_TestComponent.oaf'. svn path=/trunk/; revision=10466
* Change EShell to derive from BonoboXObject for sake of simplicity.Ettore Perazzoli2001-06-253-100/+55
| | | | | | Also change it so that it cleanly unregisters from OAF on ::destroy. svn path=/trunk/; revision=10465
* Actually implement the "clicked" signal for the EActivityHandler, andEttore Perazzoli2001-06-253-12/+41
| | | | | | add some small testing code for it in the test component. svn path=/trunk/; revision=10464
* Fix a gazillion warnings.Ettore Perazzoli2001-06-242-4/+14
| | | | svn path=/trunk/; revision=10451
* Derive ETaskWidget from GtkEventBox instead of GtkFrame so that we canEttore Perazzoli2001-06-244-7/+57
| | | | | | | | get button_press events from it. Also, get the EActivtyHandler to properly dispatch "Clicked" events when the user clicks on an ETaskWidget. svn path=/trunk/; revision=10450
* Added an EvolutionActivityClient object to libeshell, to handleEttore Perazzoli2001-06-247-158/+628
| | | | | | | | | | | | updating of progress information from the component's side. This object allows to automatically set a lower limit to the delay between CORBA calls towards the shell, so that the component isn't slowed down too much by doing too frequent updates. Also changed the test component to use this instead of doing CORBA calls directly. svn path=/trunk/; revision=10449
* Add code to query the ::Activity interface in theEttore Perazzoli2001-06-244-25/+88
| | | | | | EvolutionShellComponent class and get the test component to use it. svn path=/trunk/; revision=10448
* (Implemented deleting folders in the shell. Files changed that aren'tJason Leach2001-06-2414-51/+404
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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-243-33/+46
| | | | | | | | 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-232-68/+4
| | | | svn path=/trunk/; revision=10442
* Get rid of the tons of ugly Bonobo Warnings by removing the code thatEttore Perazzoli2001-06-232-40/+12
| | | | | | 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-2356-64/+64
| | | | | | helixcode.com with ximian.com all over the place. svn path=/trunk/; revision=10440
* Fix a bunch of stupid warnings caused by missing includes. AlsoEttore Perazzoli2001-06-235-3/+25
| | | | | | placate GCC on a bogus "uninitialized variable" error. svn path=/trunk/; revision=10438
* Get the menu hints to work with the new status bar.Ettore Perazzoli2001-06-232-6/+56
| | | | svn path=/trunk/; revision=10437
* Add `evolution-test-component'.Ettore Perazzoli2001-06-231-0/+1
| | | | svn path=/trunk/; revision=10436
* Fix the "Quit" command so that the shell actually exits properly.Ettore Perazzoli2001-06-232-0/+7
| | | | svn path=/trunk/; revision=10435
* Implemented an Evolution::Activity interface for keeping track ofEttore Perazzoli2001-06-2319-85/+2131
| | | | | | | | | | 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
* Oops, small fix.Jacob Leach2001-06-221-1/+1
| | | | svn path=/trunk/; revision=10371
* Fix bug #3409: Removing an EvolutionStorage from the shell's folderJacob Leach2001-06-223-3/+65
| | | | | | tree. svn path=/trunk/; revision=10362
* Remove DB3_LDADDDan Winship2001-06-192-1/+2
| | | | | | * Makefile.am (evolution_LDADD): Remove DB3_LDADD svn path=/trunk/; revision=10275
* Fix the help URLsDan Winship2001-06-192-6/+9
| | | | | | * e-shell-view-menu.c: Fix the help URLs svn path=/trunk/; revision=10265
* Check priv->uri isn't null before strcmp'ing it here too.Not Zed2001-06-132-1/+6
| | | | | | | | | 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-122-2/+8
| | | | | | | | | * 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
* Fixed folder creation on IMAP storages (by notifying bonobo listener withJason Leach2001-06-123-44/+46
| | | | | | | | | | | | 2001-06-11 Jason Leach <jleach@ximian.com> * evolution-storage.c (impl_Storage_async_create_folder): Fixed folder creation on IMAP storages (by notifying bonobo listener with the result). * evolution-storage-listener.c: Some cleaning. svn path=/trunk/; revision=10186
* Committing the new My Evolution.Iain Holmes2001-06-096-48/+201
| | | | svn path=/trunk/; revision=10163
* Allow a NULL @shell_view arg inEttore Perazzoli2001-06-092-2/+6
| | | | | | `e_shell_command_add_to_shortcut_bar()'. svn path=/trunk/; revision=10160
* Fix splash setup to keep it from giving two Gtk-CRITICAL assertions whenJason Leach2001-06-092-14/+14
| | | | | | | | | 2001-06-08 Jason Leach <jleach@ximian.com> * e-shell.c (e_shell_construct): Fix splash setup to keep it from giving two Gtk-CRITICAL assertions when you do --no-splash. svn path=/trunk/; revision=10158
* Removed some left-over conflict indicators.Jon Trowbridge2001-06-071-2/+1
| | | | svn path=/trunk/; revision=10140
* Changed purely informational debug spew from a g_warning to a g_message.Jon Trowbridge2001-06-073-4/+22
| | | | | | | | | | | | | | | | | | | | | 2001-06-06 Jon Trowbridge <trow@gnu.org> * evolution-storage.c (impl_Storage_async_create_folder): Changed purely informational debug spew from a g_warning to a g_message. * e-shell-importer.c (show_import_wizard): The import wizard defined in import.glade only has three pages... yet we were trying to manipulate "page4" as the finish page, with the expected bad results. My guess is that the .glade file got changed, but the code didn't get updated. (start_import): We were trying to bonobo_object_unref (BONOBO_OBJECT (icd->client)), which is fine except for the fact that icd->client is just a GtkObject, not a BonoboObject. Changed to a gtk_object_unref. (start_import): Changed a purely informational bit of debug spew from a g_warning to a g_message. svn path=/trunk/; revision=10139
* Changed the dialog box and added a Don't Ask Me Again button. Oh yeah!Iain Holmes2001-06-072-8/+73
| | | | svn path=/trunk/; revision=10138
* (Fix bug #3205: Component crash causes folder switch even when not needed)Jason Leach2001-06-072-4/+20
| | | | | | | | | | | | | 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-075-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | 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
* Plug in all the folder tree right click menu verbs so bonobo-warningsJason Leach2001-06-064-1/+65
| | | | | | | | | | | | | | | | 2001-06-05 Jason Leach <jleach@ximian.com> * e-shell-view-menu.c: Plug in all the folder tree right click menu verbs so bonobo-warnings aren't emitted (even though the respective implementation functions are currently unimplemented). (command_delete_folder): New function, see above. (command_rename_folder): Ditto. (command_folder_properties): Ditto. * e-shell-folder-commands.c (e_shell_command_delete_folder): New function, currently unimplemented. svn path=/trunk/; revision=10128
* (Fixing bug #1299: Shell saves shortcuts when display name changes)Jason Leach2001-06-065-12/+70
| | | | | | | | | | | | | | | | | | | | 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
* Fix linking order for `$(DB3_LDADD)'s so that we avoid pullingEttore Perazzoli2001-06-032-2/+7
| | | | | | | functions from a different Berkeley DB library when we really don't mean to. svn path=/trunk/; revision=10105
* Add some missing `$(DB3_LDADD)'s to get it to compile.Ettore Perazzoli2001-06-012-1/+6
| | | | svn path=/trunk/; revision=10078
* New function (probably should just be static).Jason Leach2001-05-3111-13/+154
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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-316-3/+58
| | | | | | | | | | | | | | | | | | | | | 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-302-3/+8
| | | | | | | | | 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-302-3/+16
| | | | | | | | | | | 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
* Call e_tree_node_set_expanded on the storage_set_view, not the storage_setDan Winship2001-05-292-1/+7
| | | | | | | | * e-storage-set-view.c (new_storage_cb): Call e_tree_node_set_expanded on the storage_set_view, not the storage_set (which is not an ETree). svn path=/trunk/; revision=10033
* add *.lo, libeshell.laDan Winship2001-05-291-0/+2
| | | | svn path=/trunk/; revision=10028
* New file. (e_pixmaps_update): Moved here from e-util to break e-utilDan Winship2001-05-285-1/+150
| | | | | | | | | | | | | | * evolution-shell-component-utils.c: New file. (e_pixmaps_update): Moved here from e-util to break e-util bonobo dependency. * e-shell-view-menu.c: #include "evolution-shell-component-utils.h" instead of "e-gui-utils.h" * Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add evolution-shell-component-utils.[ch] svn path=/trunk/; revision=10018
* Don't free the hash keys in priv->path_to_etree_node, because they'reDan Winship2001-05-272-10/+7
| | | | | | | | * e-storage-set-view.c (destroy): Don't free the hash keys in priv->path_to_etree_node, because they're owned by the ETree now. (e_storage_set_view_set_show_folders): Likewise. svn path=/trunk/; revision=10012
* Reference libeshell.la instead of libeshell.a.Peter Williams2001-05-263-19/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-05-25 Peter Williams <peterw@ximian.com> * gui/component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * gui/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * component/Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Reference libeshell.la instead of libeshell.a. 2001-05-25 Peter Williams <peterw@ximian.com> * Makefile.am: Change libeshell from a noinst_LIBRARIES to a lib_LTLIBRARIES. Install its headers in $includedir/evolution/shell. * evolution-storage.c (safe_corba_string): New, copy of e_safe_corba_string in libeutil. This way libeshell doesn't have a missing symbol when programs that don't have libeutil link to it. (evolution_storage_register): s,e_safe_corba_string,safe_corba_string,g. svn path=/trunk/; revision=10007
* place the shortcut bar in a framejacob berkman2001-05-262-6/+17
| | | | | | | | | 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-2610-39/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* track change to the path to the ComponentPlaceholder.Chris Toshok2001-05-232-1/+7
| | | | | | | | | | 2001-05-23 Chris Toshok <toshok@ximian.com> * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): track change to the path to the ComponentPlaceholder. svn path=/trunk/; revision=9942
* Add a button and an icon to toggle between online and offlineEttore Perazzoli2001-05-212-23/+201
| | | | | | operation. svn path=/trunk/; revision=9900
* Implemented the "Copy Folder" and "Move Folder" menu items. Untested.Ettore Perazzoli2001-05-205-12/+302
| | | | svn path=/trunk/; revision=9899
* Add a caption to the folder selection dialog widget, and get theEttore Perazzoli2001-05-206-10/+67
| | | | | | existing dialogs in the shell to use it. svn path=/trunk/; revision=9894
* Renamed the "NewWindow" verb into "OpenFolderInNewWindow". Got theEttore Perazzoli2001-05-194-68/+97
| | | | | | `File -> Folder -> Open in New Window' menu item to work. svn path=/trunk/; revision=9893
* Create new files for the folder commands, and move the "Create newEttore Perazzoli2001-05-195-12/+181
| | | | | | folder" implementation into them. svn path=/trunk/; revision=9889
* Change the code to pop-up the folder context menu to use the stuffEttore Perazzoli2001-05-173-42/+17
| | | | | | already defined in the UI xml file for the shell views. svn path=/trunk/; revision=9867
* Make the "Submit Bug Report" menu item fire up a browser withEttore Perazzoli2001-05-162-1/+27
| | | | | | | | http://bugzilla.ximian.com in it, rather than Bug Buddy (which will not work with our bug tracker, as the latter doesn't have an email interface yet). svn path=/trunk/; revision=9836
* Add an "Evolution FAQ" entry to the Help menu, and update the existingEttore Perazzoli2001-05-162-5/+10
| | | | | | entries for the guide's chapters to match the new paths. svn path=/trunk/; revision=9835
* Update the file name in the top comment.Ettore Perazzoli2001-05-161-1/+1
| | | | svn path=/trunk/; revision=9833
* Some demeeksifying indentation changes.Ettore Perazzoli2001-05-161-25/+16
| | | | svn path=/trunk/; revision=9832
* set the subfolder's parent to NULL so the subfolder list doesn't changejacob berkman2001-05-152-1/+10
| | | | | | | | | | | 2001-05-14 jacob berkman <jacob@ximian.com> * e-folder-tree.c (remove_folder): set the subfolder's parent to NULL so the subfolder list doesn't change whilst we are using it (folder_remove_subfolder): this function didn't used to work at all svn path=/trunk/; revision=9795
* implement the CORBA side of dragging.Chris Toshok2001-05-122-6/+94
| | | | | | | | | | | | | | | | | 2001-05-12 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (tree_drag_data_received): implement the CORBA side of dragging. (convert_gdk_drag_action_set_to_corba): rename convert_gdk_drag_action_to_corba to this. (convert_corba_drag_action_set_to_gdk): rename convert_corba_drag_action_to_gdk to this. (convert_gdk_drag_action_to_corba): new function that doesn't build a bitmask, useful for the Action types, instead of ActionSet. (convert_corba_drag_action_to_gdk): same. svn path=/trunk/; revision=9780
* add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): newChris Toshok2001-05-124-8/+51
| | | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new function, call e_storage_set_async_remove_folder. (remove_cb): callack for e_storage_set_async_remove_folder. * evolution-shell-component-client.c (evolution_shell_component_client_populate_folder_context_menu): fix prototype to reflect Component -> Container. * evolution-shell-component-client.h: same. svn path=/trunk/; revision=9778
* add this define for the xml path to use when adding menu items to theChris Toshok2001-05-123-5/+26
| | | | | | | | | | | | | | | | | | 2001-05-11 Chris Toshok <toshok@ximian.com> * evolution-shell-component.h (EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for the xml path to use when adding menu items to the folder popup. * e-storage-set-view.c (populate_folder_context_menu_with_common_items): add (#ifdef DEBUG_XML) a menu item to dump the bonobo xml. (popup_folder_menu): pass the BonoboUIContainer to the populate_folder_context_menu CORBA call, instead of the component. Also, reorder things a bit so the component doesn't get an error when setting xml the first time. svn path=/trunk/; revision=9777
* Ask for a folder to import into.Iain Holmes2001-05-127-20/+75
| | | | svn path=/trunk/; revision=9775