aboutsummaryrefslogtreecommitdiffstats
path: root/shell
Commit message (Collapse)AuthorAgeFilesLines
* (impl_Storage_updateFolder): Don't stopEttore Perazzoli2002-06-292-14/+12
| | | | | | | notifying the listeners if ::notifyFolderUpdated() fails. Should fix #25598. svn path=/trunk/; revision=17326
* Ooops. Fix date in ChangeLog.Ettore Perazzoli2002-06-291-1/+1
| | | | svn path=/trunk/; revision=17325
* *** empty log message ***Ettore Perazzoli2002-06-292-45/+133
| | | | svn path=/trunk/; revision=17324
* Only let the dialog be opened onceIain Holmes2002-06-272-0/+20
| | | | svn path=/trunk/; revision=17294
* Changes for an importer bug and to get the storagesetselector in the summaryIain Holmes2002-06-267-29/+216
| | | | svn path=/trunk/; revision=17289
* (impl_clicked): PassEttore Perazzoli2002-06-252-1/+7
| | | | | | | default_type to e_shell_show_folder_creation_dialog() properly. [Patch by Christian Kreibich <christian@whoop.org>.] svn path=/trunk/; revision=17265
* Remove #include <config.h> Same Same gtk_widget_show() all items in theKjartan Maraas2002-06-207-21/+11
| | | | | | | | | | | | | | 2002-06-19 Kjartan Maraas <kmaraas@gnome.org> * e-corba-config-page.h: Remove #include <config.h> * e-shell-about-box.h: Same * e-history.h: Same * e-shell-importer.c: gtk_widget_show() all items in the optionmenu before showing it. * e-shell-offline-handler.h: Remove #include <config.h> * e-shell-settings-dialog.h: Same. svn path=/trunk/; revision=17235
* Set release for the CORBA path sequence to TRUE.Ettore Perazzoli2002-06-017-1/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view.c (impl_StorageSetView__get_checkedFolders): Set release for the CORBA path sequence to TRUE. * evolution-shell-component.c (fill_corba_sequence_from_null_terminated_string_array): Set release for the CORBA sequence to TRUE so it gets freed properly. (impl__get_externalUriSchemas): Likewise for the returned uri_chema_list. * e-shell-offline-handler.c (duplicate_connection_list): Set release for the connection sequence to TRUE. * e-shell-config-offline.c (config_control_apply_callback): Set release for the path sequence to TRUE. * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): Set release for the storage sequence to TRUE. * evolution-storage.c (impl_Storage__get_folderList): Set release for the folder sequence to TRUE. svn path=/trunk/; revision=17062
* Use bonobo_object_ref() instead of bonobo_object_client_ref() as theEttore Perazzoli2002-05-313-4/+14
| | | | | | | | | | | | * e-folder-list.c (e_folder_list_construct): Use bonobo_object_ref() instead of bonobo_object_client_ref() as the former only refs the CORBA object [Sigh]. * e-shell-config-autocompletion.c (e_shell_config_autocompletion_create_widget): Don't unref the shell_client here, as we need it. :-) svn path=/trunk/; revision=17046
* Connect about_box_event_callback() to the "key_press_event" signal asEttore Perazzoli2002-05-312-0/+9
| | | | | | | | | * e-shell-view-menu.c (command_about_box): Connect about_box_event_callback() to the "key_press_event" signal as well. This way the about box is closed when you press a key too. [#25349] svn path=/trunk/; revision=17044
* skip folders that aren't valid uri's. (e_folder_list_get_items): didn'tChris Toshok2002-05-292-4/+13
| | | | | | | | | | | 2002-05-28 Chris Toshok <toshok@ximian.com> * e-folder-list.c (e_folder_list_set_items): skip folders that aren't valid uri's. (e_folder_list_get_items): didn't update this to track the change in model columns. bad toshok. svn path=/trunk/; revision=17028
* [ fixes 90% of #25047 ] shamelessly lifted fromChris Toshok2002-05-2415-308/+653
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-24 Chris Toshok <toshok@ximian.com> [ fixes 90% of #25047 ] * e-folder-list.c (get_folder_for_uri): shamelessly lifted from evolution-folder-selector-button.c. (create_display_string): modeled again after evolution-folder-selector-button.c, so we can give a little more context (and make the table look like the folder selector buttons.) (SPEC): add a pixbuf column, also remove the sorting behavior. (columns): add a pixbuf column and another string column (for the display string). (add_clicked): create the display string and get the proper pixbuf, and insert both. (edit_clicked): removed. (update_buttons): remove edit button handling from here. (e_folder_list_init): remove the hooking up of button-edit's "clicked" signal. (e_folder_list_construct): get a reference to the storage registry so we can look up folders. (e_folder_list_set_items): analogous change to add_clicked - get the display string and pixbuf and insert them. * glade/e-folder-list.glade: remove the edit button. * glade/e-shell-config-default-folders.glade: remove the frame/vbox, since we embed it in a notebook and the tab has the title already. * e-shell-config.c (config_control_factory_cb): the only config control we deal with here now is the folder settings control. * e-shell-config-default-folders.c (e_shell_config_default_folders_create_widget): rename e_shell_config_default_folders_create_control to this, return the widget, and take the config control to use as an arg. * e-shell-config-offline.c (e_shell_config_offline_create_widget): make an analogous change here as with default_folders_create_widget. * e-shell-config-default-folders.h (e_shell_config_default_folders_create_widget): track change to prototype. * e-shell-config-offline.h (e_shell_config_offline_create_widget): same. * GNOME_Evolution_Shell.oaf.in: remove the DefaultFolders and OfflineFolders controls and add a FolderSettings_Control. * Makefile.am (evolution_SOURCES): add e-shell-config-folder-settings.[ch] and e-shell-config-autocompletion.[ch]. * e-shell-config-folder-settings.[ch]: new files, embed (after a fashion) the default folder, offline, and autocompletion UI's in a notebook. * e-shell-config-autocompletion.[ch]: Basically copy over and shell-ize the addressbook autocompletion config control so it can be embedded more easily with the other folder settings. svn path=/trunk/; revision=17000
* Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534.Ettore Perazzoli2002-05-242-0/+6
| | | | | | | * main.c (quit_box_new): Set @allow_shrink and @allow_grow to FALSE for the window. Fixes #17534. svn path=/trunk/; revision=16995
* Pass FALSE for @allow_shrink. Fixes #15688.Ettore Perazzoli2002-05-242-1/+7
| | | | | | | | * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Pass FALSE for @allow_shrink. Fixes #15688. svn path=/trunk/; revision=16993
* Make a little bit prettier. Default to "Delete", not "Cancel".Ettore Perazzoli2002-05-242-22/+19
| | | | | | | * e-shell-folder-commands.c (delete_dialog): Make a little bit prettier. Default to "Delete", not "Cancel". svn path=/trunk/; revision=16992
* Set the view type from the original group, thus preserving theEttore Perazzoli2002-05-242-1/+15
| | | | | | | | * e-shortcuts-view.c (rename_group_cb): Set the view type from the original group, thus preserving the small-icon/large-icon state. Fixes #6732. svn path=/trunk/; revision=16991
* Add a toggle to avoid displaying the dialog again. Don't display theEttore Perazzoli2002-05-242-5/+43
| | | | | | | | | | | | * main.c (show_development_warning): Add a toggle to avoid displaying the dialog again. Don't display the dialog at all if the /Shell/skip_warning_dialog_1_1 bonobo-conf key is set to FALSE. (warning_dialog_clicked_callback): Set /Shell/skip_warning_dialog_1_1 according to the state of the check button. svn path=/trunk/; revision=16986
* No more @default_type arg to e_shell_folder_selection_dialog_new().Ettore Perazzoli2002-05-239-40/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-view-menu.c (command_goto_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (command_new_shortcut): Likewise. * e-shell-importer.c (import_druid_finish): No more @default_type arg to e_shell_folder_selection_dialog_new(). * e-shell-folder-commands.c (e_shell_command_move_folder): No more @default_type arg to e_shell_folder_selection_dialog_new(). (e_shell_command_copy_folder): Likewise. * e-shell-folder-selection-dialog.c: Removed default_type member in EShellFolderSelectionDialogPrivate. (e_shell_folder_selection_dialog_new): Removed @default_type arg. (e_shell_folder_selection_dialog_construct): Likewise. (impl_clicked): Just pass the first of the allowed types to e_shell_show_folder_creation_dialog() for the default type. * evolution-shell-client.c (user_select_folder): No more @default_type arg to the ::userSelectFolder CORBA method. * Evolution-Shell.idl (selectUserFolder): Remove arg @default_type. svn path=/trunk/; revision=16983
* New callback for when the first created view in the shell gets mapped.Ettore Perazzoli2002-05-234-0/+121
| | | | | | | | | | | | | | | | | | * main.c (view_map_callback): New callback for when the first created view in the shell gets mapped. (new_view_created_callback): New callback for when the first view of the shell gets created. (show_development_warning): New function to display a warning about the fact that Evolution is unstable. (idle_cb): Call show_development_warning() here unless the EVOLVE_ME_HARDER environment variable is set. * e-shell.c (class_init): Add the "new_view_created" signal here. (create_view): Emit the signal here. * e-shell.h: New signal "new_view_created". svn path=/trunk/; revision=16977
* New member default_menu_item in EShellUserCreatableItemsHandlerPrivate.Ettore Perazzoli2002-05-232-5/+45
| | | | | | | | | | * e-shell-user-creatable-items-handler.c: New member default_menu_item in EShellUserCreatableItemsHandlerPrivate. (ensure_menu_items): Set ->default_menu_item. (get_default_action_for_view): When no default item is specified, just return ->default_menu_item. svn path=/trunk/; revision=16976
* Only refuse quitting if the result is CANCEL. This way we allow quittingEttore Perazzoli2002-05-233-1/+14
| | | | | | | | | | | | | * e-shell.c (e_shell_prepare_for_quit): Only refuse quitting if the result is CANCEL. This way we allow quitting if one of the components has crashed or something else otherwise goes wrong. Fixes #25093. * evolution-shell-component-client.c (result_from_async_corba_result): Handle GNOME_Evolution_ShellComponentListener_CANCEL. svn path=/trunk/; revision=16974
* Do async_open_folder in an idle callback.Christopher James Lahey2002-05-214-46/+103
| | | | | | | | | | | | | 2002-05-21 Christopher James Lahey <clahey@ximian.com> * e-corba-storage.c (async_open_folder_idle): Do async_open_folder in an idle callback. * e-shell-shared-folder-picker-dialog.c (user_clicked), glade/e-shell-shared-folder-picker-dialog.glade: Added a select names button here. svn path=/trunk/; revision=16964
* set the parent window insensitive before popping up the dialog andChris Toshok2002-05-213-2/+45
| | | | | | | | | | | | | | | | | | | | 2002-05-20 Chris Toshok <toshok@ximian.com> * evolution-folder-selector-button.c (clicked): set the parent window insensitive before popping up the dialog and sensitive after it's popped down, to give us semi-modal behavior. Also, emit a "popped_up" signal when popping up the dialog, and emit "canceled" when the return folder is NULL (when the user canceled the dialog). (class_init): fix typo (?) - parent type isn't bonobo_object_get_type(), it's PARENT_TYPE. Also, initialize the POPPED_UP and CANCELED signals. * evolution-folder-selector-button.h (struct _EvolutionFolderSelectorButtonClass): add popped_up and canceled signals. svn path=/trunk/; revision=16959
* Skip the folder if it doesn't have the can_sync_offline property set.Ettore Perazzoli2002-05-212-0/+10
| | | | | | | * e-shell-offline-sync.c (sync_folder): Skip the folder if it doesn't have the can_sync_offline property set. svn path=/trunk/; revision=16948
* Set the can_sync_offline property on the EFolder based on theEttore Perazzoli2002-05-216-9/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Set the can_sync_offline property on the EFolder based on the canSyncOffline value on the CORBA folder. * evolution-test-component.c (setup_custom_storage): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * e-local-storage.c (new_folder): Pass FALSE for @sync_offline to evolution_storage_new_folder(). * evolution-storage.h (evolution_storage_new_folder): New arg @can_sync_offline. * subscribe-dialog.c (recursive_add_folder): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * mail-folder-cache.c (real_flush_updates): Pass TRUE for @sync_offline to evolution_storage_new_folder(). * gui/component/addressbook-storage.c (load_source_data): Pass FALSE for @sync_offline to evolution_storage_new_folder(). (addressbook_storage_add_source): Pass FALSE for @sync_offline to evolution_storage_new_folder(). svn path=/trunk/; revision=16947
* Remove exception. (cancelSyncFolder): Remove exception.Ettore Perazzoli2002-05-216-36/+102
| | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Offline.idl (syncFolder): Remove exception. (cancelSyncFolder): Remove exception. * e-shell-config-offline.c (storage_set_view_has_checkbox_func): New. (e_shell_config_offline_create_control): Pass it as the @has_checkbox_func. * e-folder.c: New member can_sync_offline in EFolderPrivate. (init): Init to FALSE. (e_folder_get_can_sync_offline): New. (e_folder_to_corba): Set canSyncOffline in the returned CORBA folder. (e_folder_set_physical_uri): Protect from when @physical_uri and ->physical_uri are the same thing. (e_folder_set_description): Same here with description. (e_folder_set_type_string): And type. * Evolution-common.idl: New member canSyncOffline in struct Folder. svn path=/trunk/; revision=16946
* Pass NULL for @has_checkbox_func and @has_checkbox_func_data.Ettore Perazzoli2002-05-216-15/+76
| | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config-offline.c (e_shell_config_offline_create_control): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * evolution-storage-set-view.c (impl_StorageSetView__set_showCheckboxes): Pass NULL for @has_checkbox_func and @has_checkbox_func_data. * e-storage-set-view.c: New member has_checkbox_func and has_checkbox_func_data in EStorageSetViewPrivate. (init): Init to NULL. (e_storage_set_view_set_show_checkboxes): New args @has_checkbox_func and @func_data. (has_checkbox): Always return FALSE for the toplevels. For the other ones return TRUE unless ->has_checkbox_func is not-NULL; in which case, we use that function to determine whether the folder is actually checkable. * Evolution-ShellComponent.idl (requestQuit): Remove exception. svn path=/trunk/; revision=16945
* Ask e_shell_prepare_for_quit() before destroying the view if it's the lastEttore Perazzoli2002-05-163-3/+27
| | | | | | | | | | * e-shell.c (view_delete_event_cb): Ask e_shell_prepare_for_quit() before destroying the view if it's the last one. * e-shell-view-menu.c (command_close): Synthesize a delete_event on the view instead of directly destroying it. svn path=/trunk/; revision=16931
* Check with e_shell_prepare_for_quit() before quitting.Ettore Perazzoli2002-05-1610-22/+228
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_quit): Check with e_shell_prepare_for_quit() before quitting. * e-shell.c (e_shell_prepare_for_quit): New. * evolution-test-component.c (request_quit_fn): New function asking for confirmation to quit. * evolution-shell-component.c (evolution_shell_component_new): New arg @request_quit_fn. (impl_requestQuit): New, implementation for EvolutionShellComponent::requestQuit. (evolution_shell_component_result_to_string): Handle EVOLUTION_SHELL_COMPONENT_CANCEL. (evolution_shell_component_client_request_quit): New. * Evolution-ShellComponent.idl (requestQuit): New. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * component-factory.c (create_component): Pass NULL as @request_quit_fn. * gui/component-factory.c (create_object): Pass NULL as @request_quit_fn. * gui/component/addressbook-component.c (create_component): Pass NULL as @request_quit_fn. svn path=/trunk/; revision=16925
* Add some comments to document the interface.Ettore Perazzoli2002-05-161-13/+45
| | | | svn path=/trunk/; revision=16922
* Remove debugging spewIain Holmes2002-05-152-1/+5
| | | | svn path=/trunk/; revision=16801
* Committing Peter Williams patch so listeners are notified about new storages.Iain Holmes2002-05-152-1/+18
| | | | svn path=/trunk/; revision=16800
* Call e_shell_offline_sync_all_folders() if no connection is reported here.Ettore Perazzoli2002-05-156-14/+527
| | | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Call e_shell_offline_sync_all_folders() if no connection is reported here. (dialog_handle_ok): Sync all the folders here through e_shell_offline_sync_all_folders(). * e-shell-offline-sync.c: New. * e-shell-offline-sync.h: New. * Evolution-Offline.idl (syncFolder): Make oneway. (cancelSyncFolder): Likewise. (SyncFolderProgressListener::reportSuccess): New method. svn path=/trunk/; revision=16792
* Added check-empty.xpm, check-filled.xpm, and check-missing.xpm.Christopher James Lahey2002-05-157-31/+133
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * Makefile.am: Added check-empty.xpm, check-filled.xpm, and check-missing.xpm. * check-empty.xpm, check-filled.xpm, check-missing.xpm: New xpms. Copied from gal. check-missing.xpm is simply a transparent xpm of the correct size. * e-storage-set-view.c (etree_value_at): When getting, check if the path doesn't have a check box and return 2 in that case. (etree_set_value_at): Check if the path doesn't have a check box and don't change it in that case. Also, just invert the value here instead of paying attention to the set value passed in. (class_init): Initialize the checks GdkPixbufs. (e_storage_set_view_construct): Create the "optional_checkbox" cell. * e-storage-set-view.etspec: Changed the cell for the checkbox column to "optional_checkbox". svn path=/trunk/; revision=16791
* Compute the evolutionUri here and pass it in.Christopher James Lahey2002-05-152-1/+38
| | | | | | | | | 2002-05-14 Christopher James Lahey <clahey@ximian.com> * evolution-storage.c (evolution_storage_new_folder): Compute the evolutionUri here and pass it in. svn path=/trunk/; revision=16782
* Add a missing CORBA_free in the case in which the typecode of theEttore Perazzoli2002-05-142-0/+9
| | | | | | | | | | * e-shell-config-offline.c (init_storage_set_view_status_from_config): Add a missing CORBA_free in the case in which the typecode of the /OfflineFolders/Paths key in the ConfigDatabase doesn't match the expected type. svn path=/trunk/; revision=16780
* Pass self to e_shell_offline_handler_new() instead of the componentEttore Perazzoli2002-05-144-32/+41
| | | | | | | | | | | | | | * e-shell.c (e_shell_go_offline): Pass self to e_shell_offline_handler_new() instead of the component registry. * e-shell-offline-handler.c: Replace member `component_registry' in EShellOfflineHandlerPrivate with a `shell' member. Updated all the code to retrieve the component registry from the shell instead of directly. (e_shell_offline_handler_construct): Get a @shell instead of a @component_registry. svn path=/trunk/; revision=16779
* Changed this to just walk the hash table to get the list of checkedChristopher James Lahey2002-05-142-20/+18
| | | | | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_get_checkboxes_list): Changed this to just walk the hash table to get the list of checked checkboxes instead of walking the tree. (Makes it so that checked paths will remain checked, even if they're not shown in the tree when the list is gotten.) svn path=/trunk/; revision=16778
* Handle the e-shell-config-offline and e-shell-config-default-foldersEttore Perazzoli2002-05-149-193/+533
| | | | | | | | | | | | | | | | | * e-shell-config.c: Handle the e-shell-config-offline and e-shell-config-default-folders pages. * e-shell-config-offline.h: New. * e-shell-config-offline.c: New. * e-shell-config-default-folders.h: New. * e-shell-config-default-folders.c: New. Moved default folder page configuration in from e-shell-config.c. * GNOME_Evolution_Shell.oaf.in: Add GNOME_Evolution_Shell_Config_OfflineFolders_Control. svn path=/trunk/; revision=16777
* Added a signal when the value of the checkboxes changes.Christopher James Lahey2002-05-143-0/+17
| | | | | | | | | 2002-05-13 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_set_value_at): Added a signal when the value of the checkboxes changes. svn path=/trunk/; revision=16776
* Add members `parent' and `shell' in DiscoveryData.Ettore Perazzoli2002-05-112-16/+89
| | | | | | | | | | | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c: Add members `parent' and `shell' in DiscoveryData. (shell_view_destroy_callback): Callback for destruction of ->parent; set ->parent to NULL. (shell_destroy_callback): Callback for the desctruction of the shell; clean up everything. (discover_folder): Initialize ->parent and shell, and add the corresponding destruction handlers. (shared_folder_discovery_listener_callback): Open the discovered folder. (setup_progress_dialog): Renamed from `show_progress_dialog'. Set up a timeout for displaying the dialog instead of displaying it right away. (progress_dialog_show_timeout_callback): Callback for showing the dialog after the callback. svn path=/trunk/; revision=16754
* Add the Addressbook-SelectNames interface stuff.Ettore Perazzoli2002-05-111-0/+4
| | | | svn path=/trunk/; revision=16752
* Updated for FolderResult instead of DiscoverSharedFolderResult.Ettore Perazzoli2002-05-114-17/+15
| | | | | | | | | | | * e-shell-shared-folder-picker-dialog.c (shared_folder_discovery_listener_callback): Updated for FolderResult instead of DiscoverSharedFolderResult. * Evolution-Storage.idl: Remove struct DiscoverSharedFolderResult; we want to just use FolderResult for asyncDiscoverSharedFolder. svn path=/trunk/; revision=16751
* New. New.Ettore Perazzoli2002-05-112-0/+505
| | | | | | | * e-shell-shared-folder-picker-dialog.c: New. * e-shell-shared-folder-picker-dialog.h: New. svn path=/trunk/; revision=16748
* Added some tests for the custom storage.Ettore Perazzoli2002-05-1110-49/+571
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c: Added some tests for the custom storage. * evolution-storage.c: New signal DISCOVER_SHARED_FOLDER. (impl_Storage_asyncXferFolder): Renamed from impl_Storage_async_xfer_folder. (impl_Storage_asyncRemoveFolder): Renamed from impl_Storage_async_remove_folder. (impl_Storage_asyncCreateFolder): Renamed from impl_Storage_async_create_folder. (impl_Storage_asyncOpenFolder): Renamed from impl_storage_async_open_folder. (impl_Storage_addListener): Renamed from impl_Storage_add_listener. (impl_Storage_removeListener): Renamed from impl_Storage_remove_listener. (impl_Storage_asyncDiscoverSharedFolder): New, implementation for ::asyncDiscoverSharedFolder. (evolution_storage_get_epv): Install the CORBA method here. (class_init): Set up the "discover_shared_folder" signal here. (e_marshal_NONE__POINTER_POINTER): Yet Another Marshaller. Die die die. * Evolution-Storage.idl (Storage::asyncDiscoverSharedFolder): New method. (StorageListener::notifySharedFolderDiscovered): New method. * e-shell-view-menu.c (command_open_other_users_folder): New, implementation for the FileOpenOtherUsersFolder verb. * Makefile.am: Generate stubs and skels for Evolution::Addressbook::SelectNames as well. * glade/e-shell-shared-folder-picker-dialog.glade: New. svn path=/trunk/; revision=16746
* Pass %FALSE as @has_shared_folders to evolution_storage_new().Ettore Perazzoli2002-05-105-20/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-local-storage.c (construct): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * evolution-storage.c: New member has_shared_folders in EvolutionStoragePrivate. (init): Initialize to FALSE. (evolution_storage_new): New arg @has_shared_folders. (evolution_storage_construct): Likewise. (impl_Storage__get_folderList): Renamed from impl_Storage__get_folder_list. (impl_Storage__get_hasSharedFolders): New, implementation for ::hasSharedFolders. (evolution_storage_get_epv): Install the CORBA method implementation. * Evolution-Storage.idl: Make Storage::name a readonly attribute. New attribute Storage:: * component-factory.c (add_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). * gui/component/addressbook-storage.c (addressbook_get_other_contact_storage): Pass %FALSE as @has_shared_folders to evolution_storage_new(). svn path=/trunk/; revision=16733
* Rename NotPrepared to notPrepared and NotSyncing to notSyncing.Ettore Perazzoli2002-05-094-10/+21
| | | | | | | | | | | | | | | | | | * Evolution-Offline.idl: Rename NotPrepared to notPrepared and NotSyncing to notSyncing. * evolution-storage.c (impl_Storage__get_folder_list): Renamed from impl_Storage_get_folder_list(). * Evolution-Storage.idl: Don't typedef FolderList here. Replace `getFolderList' method with a readonly attribute. * gui/e-itip-control.c (get_servers): use GNOME_Evolution_Storage__get_folderList instead of GNOME_Evolution_Storage_getFolderList since I have now changed that to be an attribute instead of a method. svn path=/trunk/; revision=16732
* New interface SyncFolderProgressListener. (Offline::cancelSyncFolder):Ettore Perazzoli2002-05-082-2/+32
| | | | | | | | * Evolution-Offline.idl: New interface SyncFolderProgressListener. (Offline::cancelSyncFolder): New. (Offline::syncFolder): New. svn path=/trunk/; revision=16713
* add every folder to the sequence except the root folderJP Rosevear2002-05-087-2/+165
| | | | | | | | | | | | | | | | | | | | | | | | | 2002-05-07 JP Rosevear <jpr@ximian.com> * evolution-storage.c (get_folder_list_foreach): add every folder to the sequence except the root folder (impl_Storage_get_folder_list): implement corba method (evolution_storage_get_epv): set new method implementation * evolution-folder-selector-button.h: fix signal prototype * e-folder-tree.h: new proto * e-folder-tree.c (e_folder_tree_get_count): count nodes (count_nodes): bump count foreach path * e-corba-storage-registry.c (impl_StorageRegistry_getStorageList): implement idl method (corba_class_init): set epv method * Evolution-Storage.idl: add getStorageList and getFolderList methods svn path=/trunk/; revision=16708
* Use the new evolution_shell_client_create_storage_set_view() call.Ettore Perazzoli2002-05-084-24/+76
| | | | | | | | | | * evolution-test-component.c (create_new_folder_selector): Use the new evolution_shell_client_create_storage_set_view() call. * evolution-shell-client.c (evolution_shell_client_create_storage_set_view): New. svn path=/trunk/; revision=16707
* Put the EStorageSetView in an EScrollFrame.Ettore Perazzoli2002-05-0811-59/+374
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Put the EStorageSetView in an EScrollFrame. * e-shell.c (impl_Shell_createStorageSetView): CORBA_Object_duplicate the object before returning. * evolution-test-component.c (create_new_folder_selector): New function to create a simple test environment for the new checkbox-enabled StorageSetView. (register_component): Add user-creatable type FolderSelector. (user_create_new_item_callback): Handle FolderSelector. (dialog_clicked_callback): Print out the checked items in the folder selector. (main): Print out a message before going into bonobo_main(). * evolution-storage-set-view.c (impl_StorageSetView__get_showFolders): Renamed from impl_StorageSetView__get_show_folders. (impl_StorageSetView__set_showFolders): Renamed from impl_StorageSetView__set_show_folders. (impl_StorageSetView__set_showCheckboxes): New, write the showCheckboxes CORBA attribute. (impl_StorageSetView__get_showCheckboxes): New, read the showCheckboxes CORBA attribute. (impl_StorageSetView__get_checkedFolders): New, read the checkedFolders CORBA attribute. (corba_class_init): Install the new CORBA methods methods. * e-storage-set-view.c (essv_add_to_list): strdup() the path. (e_storage_set_view_get_storage_set): New. * e-folder.c (e_folder_to_corba): New. * Evolution-StorageSetView.idl: Add showCheckboxes and checkedFolders attributes. * Evolution-common.idl: Add typedef for FolderList. svn path=/trunk/; revision=16704
* Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref.Christopher James Lahey2002-05-044-2/+148
| | | | | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * e-folder-list.c: Use bonobo_object_client_(un)?ref instead of gtk_object_(un)?ref. (add_clicked): Don't pass NULL to evolution_shell_client_user_select_folder. * glade/Makefile.am: Added e-folder-list.glade * glade/e-folder-list.glade: The glade file for e-folder-list. svn path=/trunk/; revision=16678
* Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c.Christopher James Lahey2002-05-044-2/+728
| | | | | | | | | | | | 2002-05-03 Christopher James Lahey <clahey@ximian.com> * Makefile.am (eshellinclude_HEADERS): Added e-folder-list.h. (libeshell_la_SOURCES): Added e-folder-list.c. * e-folder-list.c, e-folder-list.h: New widget for editing a list of folder uris. svn path=/trunk/; revision=16677
* Added these functions. Implemented checkboxes in the ETreeModel here.Christopher James Lahey2002-04-303-7/+144
| | | | | | | | | | 2002-04-29 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_checkboxes_list, e_storage_set_view_get_checkboxes_list): Added these functions. Implemented checkboxes in the ETreeModel here. svn path=/trunk/; revision=16637
* Minor label tweaks; changed "Default folders" to "Default Folders", andAnna Marie Dirks2002-04-192-5/+10
| | | | | | | | | 2002-04-19 Anna Marie Dirks <anna@ximian.com> * glade/e-shell-config-default-folders.glade: Minor label tweaks; changed "Default folders" to "Default Folders", and added accelerators. svn path=/trunk/; revision=16535
* emit show_settings signal (corba_class_init): assign epv methodJP Rosevear2002-04-199-12/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-18 JP Rosevear <jpr@ximian.com> * evolution-shell-view.c (impl_ShellView_show_settings): emit show_settings signal (corba_class_init): assign epv method (class_init): add signal * evolution-shell-view.h: new signal * e-shell.c (init): init settings_dialog private member (settings_dialog_destroy_cb): reset dialog pointer (e_shell_show_settings): show the settings dialog, bring it to the front if one already exists for this shell * e-shell.h: new proto * e-shell-view.c (corba_interface_show_settings): implement showSettings method (setup_corba_interface): listen for show_settings signal (e_shell_view_show_settings): show the settings dialog * e-shell-view.h: new proto * e-shell-view-menu.c (command_settings): call e_shell_view_show_settings instead * Evolution-ShellView.idl: add showSettings method svn path=/trunk/; revision=16510
* New, override for EShortcutBar::shortcut_drag_motion.Ettore Perazzoli2002-04-182-11/+83
| | | | | | | | | | * e-shortcuts-view.c (impl_shortcut_drag_motion): New, override for EShortcutBar::shortcut_drag_motion. (impl_shortcut_drag_data_received): New, override for EShortcutBar::shortcut_drag_data_received. (class_init): Install the method overrides. svn path=/trunk/; revision=16502
* Bumped required gal version number to 0.19.99.11.Christopher James Lahey2002-04-182-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-04-17 Christopher James Lahey <clahey@ximian.com> * configure.in: Bumped required gal version number to 0.19.99.11. From addressbook/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/component/select-names/e-select-names.c (e_select_names_create_categories): Changed this to use ECategoriesMasterListOptionMenu. * gui/component/select-names/e-select-names.c (section_right_click_cb), gui/widgets/e-addressbook-reflow-adapter.c, gui/widgets/e-addressbook-view.c: Updated these to match the new EPopupMenu. From calendar/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * gui/e-calendar-table.c, gui/e-day-view.c, gui/e-week-view.c, gui/dialogs/meeting-page.c: Updated these to match the new EPopupMenu. From mail/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * folder-browser.c, mail-display.c: Updated these to match the new EPopupMenu. From shell/ChangeLog: 2002-04-17 Christopher James Lahey <clahey@ximian.com> * e-activity-handler.c: Updated this to match the new EPopupMenu. svn path=/trunk/; revision=16498
* Removed. (impl_tree_drag_motion): Rewritten to useEttore Perazzoli2002-04-175-321/+529
| | | | | | | | | | | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Removed. (impl_tree_drag_motion): Rewritten to use `e_folder_dnd_bridge_motion()'. (impl_tree_drag_data_received): Rewritten to use `e_folder_dnd_bridge_data_received()'. (convert_gdk_drag_action_to_corba): Removed. (convert_corba_drag_action_to_gdk): Removed. (find_matching_target_for_drag_context): Removed. * e-folder-dnd-bridge.c: New. * e-folder-dnd-bridge.h: New. svn path=/trunk/; revision=16491
* Shell config page routines. Right now handles the default folders page.Dan Winship2002-04-1113-23/+618
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-config.c: Shell config page routines. Right now handles the default folders page. * glade/e-shell-config-default-folders.glade: New. * GNOME_Evolution_Shell.oaf.in: Add info for the default folders config page. * main.c (idle_cb): If we successfully registered the shell, register the config factory. * evolution-shell-client.c (evolution_shell_client_new): Note the fact that it frees the corba_shell when it is destroyed. * evolution-folder-selector-button.c (evolution_folder_selector_button_construct, destroy): Use bonobo_object_ref/unref on the shell client, not gtk. * e-shell.c (e_shell_construct): Pass local_directory to e_setup_check_db. (handle_default_uri): Fix the config db paths here to match the other routines. * e-setup.c (e_setup_check_db): Make this take the evolution directory path as well so we can properly set up file: URIs for the default folders. svn path=/trunk/; revision=16423
* Change the logic for displaying a default window, so we don't end up withEttore Perazzoli2002-04-102-1/+6
| | | | | | | * main.c (idle_cb): Change the logic for displaying a default window, so we don't end up with two windows all the time. svn path=/trunk/; revision=16416
* Move <dirent.h> down the #include list so it compiles on Darwin.Ettore Perazzoli2002-04-102-2/+8
| | | | | | | * e-local-storage.c: Move <dirent.h> down the #include list so it compiles on Darwin. svn path=/trunk/; revision=16407
* New. Check that things that need to be in the config db are. Right now itDan Winship2002-04-097-9/+60
| | | | | | | | | | | | | | | | | | * e-setup.c (e_setup_check_db): New. Check that things that need to be in the config db are. Right now it sets up the default folders. * e-shell.c (e_shell_construct): Call e_setup_check_db after getting the config db. * e-shell-constants.h: Add E_SUMMARY_URI, E_LOCAL_INBOX_URI, etc. * e-shortcuts.c (e_shortcuts_add_default_group): Use E_LOCAL_INBOX_URI, etc. * e-shell-view.c: #define FALLBACK_URI to E_SUMMARY_URI svn path=/trunk/; revision=16405
* If the shell fails to display all of the requested URIs, fall back toDan Winship2002-04-092-8/+15
| | | | | | the default URI (Summary). svn path=/trunk/; revision=16404
* Oops. Add ChangeLog entries for some changes that accidentally escapedDan Winship2002-04-091-0/+8
| | | | | | | | | | | | into my last commit. * main.c (idle_cb): Check for "default:" URIs and treat them the same way as "evolution:" URIs. * e-shell.c (impl_Shell_handleURI): Handle "default:" URIs by looking up the default folders in the config db. svn path=/trunk/; revision=16403
* Add a "view_info" argument.Dan Winship2002-04-0912-29/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl (createView): Add a "view_info" argument. * e-shell-view.c (get_view_for_uri): if the URI contains a '#', split it into a URI and a "view_info" at that point. (Otherwise, pass "" for the view_info to ShellComponent_createView.) This can be used for things like specifying day/month/week view to the calendar. * e-shell.c (create_view): Ignore e_shell_view_display_uri's return code: it's possible/likely that the requested URL is remote and hasn't been filled in yet. (impl_Shell_handleURI): Don't use Shell_createNewView directly, call e_shell_create_view_from_uri_and_settings. (For the above fix and some others.) * evolution-shell-component.c (impl_createView): Add view_info. * evolution-shell-component-client.c (evolution_shell_component_client_create_view): Add view_info. * evolution-test-component.c (create_view_fn): add view_data. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): kill a warning svn path=/trunk/; revision=16397
* Fix "evolution evolution:/path/to/folder" to use default viewDan Winship2002-04-086-46/+67
| | | | | | | | | | | | | | | | | | | | | | | | | | | | prefs. * e-shell.c (impl_Shell_createNewView): Use e_shell_create_view_from_uri_and_settings to create the new view based on saved view 0 instead of always using the initial evolution defaults. (e_shell_create_view_from_uri_and_settings): Renamed and simplified; the template_view argument was useless and settings_found would always be set to TRUE in the context it was being used it. (e_shell_restore_from_settings): Simplify for e_shell_create_view_from_uri_and_settings changes. * e-shell-view.c (e_shell_view_load_settings): Only load the DisplayedURI if the view isn't already displaying a URI. Also, pass an &ev to the first bonobo_config_get_long so we can tell if it failed and bail out. * e-shell-view.h: Remove a prototype for a non-existent function (e_shell_view_remove_control_for_uri). * main.c (idle_cb): Add some comments here and remove some dead code. svn path=/trunk/; revision=16389
* set type (load_pages): get the oaf property for type and track the pageJP Rosevear2002-04-074-10/+97
| | | | | | | | | | | | | | | | | | | | 2002-04-06 JP Rosevear <jpr@ximian.com> * e-shell-settings-dialog.c (page_new): set type (load_pages): get the oaf property for type and track the page number of the highest priority for each type (destroy_type_entry): destroy hash func (impl_destroy): destroy the hash table (init): create private struct and hash table (e_shell_settings_dialog_show_type): show the page of the given type * e-shell-view-menu.c (command_settings): show the page for the current folder type by default * e-shell-settings-dialog.h: new proto svn path=/trunk/; revision=16376
* Set the title of the dialog.Ettore Perazzoli2002-04-062-0/+5
| | | | | | * e-shell-settings-dialog.c (init): Set the title of the dialog. svn path=/trunk/; revision=16370
* Fix a memory mixup.Dan Winship2002-04-052-2/+7
| | | | | | | * evolution-shell-client.c (evolution_shell_client_get_pixbuf_for_type): Fix a memory mixup. svn path=/trunk/; revision=16359
* New widget for a button that displays a folder selection in a standardDan Winship2002-04-0512-75/+712
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-folder-selector-button.c: New widget for a button that displays a folder selection in a standard form, and when clicked lets the user select a new folder. * Evolution-Shell.idl (FolderSelectionListener:notifySelected): Make this take an Evolution:Folder instead of a pair of uris. (Shell:getIconByType): New method to get the icon for a type from the folder type registry. * Evolution-common.idl (Folder): add "evolutionUri" to the folder structure. * Evolution-Storage.idl (StorageRegistry:getFolderByUri): get an Evolution:Folder for a given uri. * evolution-shell-client.c (evolution_shell_client_user_select_folder): Update this to reflect the IDL change: return a GNOME_Evolution_Folder instead of a pair of URIs. Make sure it always sets *@folder_return to %NULL if it fails (even if it's a g_return_if_fail). (evolution_shell_client_get_storage_registry_interface): New. (evolution_shell_client_get_pixbuf_for_type): New. Uses Shell_getIconByType, but caches results. * e-shell.c (folder_selection_dialog_folder_selected_cb): Update for API change. (Return a GNOME_Evolution_Folder.) (impl_Shell_getIconByType): Implement. * e-corba-storage-registry.c (impl_StorageRegistry_getFolderByUri): Implement. * evolution-storage.c (evolution_storage_new_folder): Add a (dummy) evolutionUri to the folder. * Makefile.am (libeshell_la_SOURCES): add evolution-folder-selector-button.c (eshellinclude_HEADERS): and .h svn path=/trunk/; revision=16352
* Change type of parent_class to BonoboXObjectClass.Ettore Perazzoli2002-04-049-64/+148
| | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-shell-component.c: Change type of parent_class to BonoboXObjectClass. * e-shell.c (pop_up_activation_error_dialog): New helper function to pop up a dialog if one of the components couldn't be activated, getting the description for the error from e_get_activation_failure_msg(). (setup_components): Use this function in case of activation error. (set_owner_on_components): Likewise, when the component gets restarted. Also get a @splash arg so we can set the parent for this dialog correctly. * e-component-registry.c (register_component): New arg @ev. (e_component_registry_register_component): Likewise. (e_component_registry_restart_component): Likewise. Also, remove some bogus code that was #if'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): New arg @ev. * evolution-shell-component-utils.c (e_get_activation_failure_msg): New. svn path=/trunk/; revision=16342
* Deal with folders with no physical_uri.Dan Winship2002-04-042-0/+7
| | | | | | | * e-storage.c (get_path_for_physical_uri_foreach): Deal with folders with no physical_uri. svn path=/trunk/; revision=16335
* Set the show_checkboxes field here instead of the show_folders field.Christopher James Lahey2002-04-032-2/+8
| | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (e_storage_set_view_set_show_checkboxes): Set the show_checkboxes field here instead of the show_folders field. svn path=/trunk/; revision=16326
* If folder is NULL, return the correct type of data.Christopher James Lahey2002-04-032-2/+9
| | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (etree_value_at): If folder is NULL, return the correct type of data. svn path=/trunk/; revision=16325
* Added e-storage-set-view-checkboxes.etstate andChristopher James Lahey2002-04-037-16/+91
| | | | | | | | | | | | | | | | | | | | | | | 2002-04-02 Christopher James Lahey <clahey@ximian.com> * Makefile.am (etspec_DATA): Added e-storage-set-view-checkboxes.etstate and e-storage-set-view-no-checkboxes.etstate here. * e-storage-set-view-checkboxes.etstate, e-storage-set-view-no-checkboxes.etstate: The two possible states of the EStorageSetView. * e-storage-set-view.c, e-storage-set-view.h (e_storage_set_view_set_show_checkboxes, e_storage_set_view_get_show_checkboxes): Added this functionality. Added a model column to the underlying table for the checkbox data. * e-storage-set-view.etspec: Added a view column for the checkboxes. svn path=/trunk/; revision=16324
* Add type "Page". (page_new): New helper function. (page_free): New helperEttore Perazzoli2002-03-302-7/+114
| | | | | | | | | | | | * e-shell-settings-dialog.c: Add type "Page". (page_new): New helper function. (page_free): New helper function. (compare_page_func): Callback for sorting a GList of pages. (sort_page_list): New helper function. (load_pages): Create the pages, sort them, add them sorted. Now we have a priority field that overrides alphabetical sorting. svn path=/trunk/; revision=16291
* New. New.Ettore Perazzoli2002-03-273-0/+366
| | | | | | | * e-component-info.c: New. * e-component-info.h: New. svn path=/trunk/; revision=16256
* g_warning if the control cannot be activated.Ettore Perazzoli2002-03-273-1/+12
| | | | | | | * e-shell-settings-dialog.c (load_pages): g_warning if the control cannot be activated. svn path=/trunk/; revision=16254
* Register a "working" folder type with the hourglass icon. (WouldDan Winship2002-03-254-2/+17
| | | | | | | | | | | | | * e-shell.c (e_shell_construct): Register a "working" folder type with the hourglass icon. (Would eventually like an animated gif, when ETable supports that.) * e-storage.c (e_storage_has_subfolders): Use "working" rather than "noselect" as the folder type. * e-shell-view.c (get_view_for_uri): Simplify a bit. svn path=/trunk/; revision=16244
* Removed. (load_pages): Use e_get_language_list() here instead. Also, freeEttore Perazzoli2002-03-232-23/+10
| | | | | | | | * e-shell-settings-dialog.c (get_language_list): Removed. (load_pages): Use e_get_language_list() here instead. Also, free using e_free_language_list(). svn path=/trunk/; revision=16232
* *** empty log message ***Dan Winship2002-03-231-1/+1
| | | | svn path=/trunk/; revision=16230
* (evolution_storage_removed_folder): Oops. Fix here too.Dan Winship2002-03-232-1/+4
| | | | | | | (evolution_storage_has_subfolders): And here. When cut and paste goes bad... svn path=/trunk/; revision=16229
* Fix a "how can this ever have worked" bug to make unread message countsDan Winship2002-03-232-1/+5
| | | | | | | | * evolution-storage.c (evolution_storage_update_folder): Fix a "how can this ever have worked" bug to make unread message counts start working again. (#22293 etc) svn path=/trunk/; revision=16228
* Use e_folder_get_name. Don't assume it's the same as the last pathDan Winship2002-03-232-6/+9
| | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Use e_folder_get_name. Don't assume it's the same as the last path element. svn path=/trunk/; revision=16227
* Set the wmclass to "evolution-splash" so sawfish knows it's not the sameDan Winship2002-03-212-0/+7
| | | | | | | | * e-splash.c (e_splash_construct): Set the wmclass to "evolution-splash" so sawfish knows it's not the same kind of window as the main window. svn path=/trunk/; revision=16222
* Make all the verb/menu arrays appropriately static.Ettore Perazzoli2002-03-212-6/+11
| | | | | | | * e-shell-view-menu.c: Make all the verb/menu arrays appropriately static. svn path=/trunk/; revision=16221
* Move the ComponentActionsPlaceholder into the Actions menu, instead of theEttore Perazzoli2002-03-217-1/+106
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution.xml: Move the ComponentActionsPlaceholder into the Actions menu, instead of the Actions menu being in the ComponentActionsPlaceholder. * evolution-addressbook.xml: Updated accordingly. * evolution-calendar.xml: Updated accordingly. * evolution-mail-global.xml: Updated accordingly. * evolution-mail-list.xml: Updated accordingly. * evolution-mail-message.xml: Updated accordingly. * evolution-mail-messagedisplay.xml: Updated accordingly. * evolution-tasks.xml: Updated accordingly. * evolution.xml: Add "SendReceive" verb, menu item and toolbar button. * evolution-mail-global.xml: Remove "MailGetSend" verb and menu item. * e-shell-view-menu.c (command_send_receive): New, implementation for the "SendReceive" verb. * e-shell.c (e_shell_send_receive): New. * evolution-shell-component.c (impl_sendReceive): Implementation of ShellComponent::sendReceive. (class_init): Add the "send_receive" signal. * evolution-shell-component.h: Added `send_receive' signal. * Evolution-ShellComponent.idl: Added ShellComponent::sendReceive. * component-factory.c (send_receive_cb): New, callback for the "send_receive" signal on the EvolutionShellComponent. (create_component): Connect. * folder-browser-ui.c: Remove verb "MailGetSend". * mail-callbacks.c (send_receive_mail): Removed. * mail-send-recv.c: Remove member current_folder from struct _send_data. (free_send_data): No need to unref here. (build_dialogue): Removed arg @current_folder. (mail_send_receive): Likewise. svn path=/trunk/; revision=16220
* Add `search="string"' for the keyboard navigability search thingy.Ettore Perazzoli2002-03-192-1/+6
| | | | | | | * e-storage-set-view.etspec: Add `search="string"' for the keyboard navigability search thingy. svn path=/trunk/; revision=16195
* Updated to use new EPopupMenu API.Jeffrey Stedfast2002-03-162-4/+9
| | | | | | | | | 2002-03-15 Jeffrey Stedfast <fejj@ximian.com> * e-activity-handler.c (show_cancellation_popup): Updated to use new EPopupMenu API. svn path=/trunk/; revision=16185
* Support for delayed filling-in of storages/folders.Dan Winship2002-03-1514-10/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl (StorageListener): add notifyHasSubfolders, to announce that a folder has currently- unknown subfolders. (Storage): add asyncOpenFolder, to request that previously- announced subfolders be filled in. * evolution-storage.c (impl_Storage_async_open_folder): emit OPEN_FOLDER. (evolution_storage_has_subfolders): Implement by calling notifyHasSubfolders on all of its listeners. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyHasSubfolders): emit HAS_SUBFOLDERS. * e-corba-storage.c (impl_StorageListener_notifyHasSubfolders): Implement by calling e_storage_has_subfolders. (async_open_folder): Implement by calling asyncOpenFolder on the CORBA storage. * e-storage.c (EStoragePrivate, init, destroy): Keep a list of pseudofolders representing un-filled-in subtrees. (impl_async_open_folder): No-op default implementation (e_storage_async_open_folder): New function to request that un-filled-in subtrees be filled in. (e_storage_new_folder): If the new folder's parent has an "un-filled-in children" pseudofolder, remove it. (e_storage_has_subfolders): New function to note that a folder has unknown children. If the folder previously was marked as having real children, remove them, and emit CLOSE_FOLDER to reset it back to an a "unknown subfolders" state. * e-storage-set.c (make_full_path): Make this deal with path being "/", since that case gets used from storage_close_folder_cb sometimes. (storage_close_folder_cb): Proxy EStorage's CLOSE_FOLDER signal. (storage_set_view_folder_opened): Handle EStorageSetView's FOLDER_OPENED signal by calling e_storage_async_open_folder. * e-storage-set-view.c (etree_fill_in_children): If the given node is its parent's first child, emit FOLDER_OPENED for the parent. (close_folder_cb): Handler for EStorageSet's CLOSE_FOLDER signal. Ask the model to close that node. (e_storage_set_view_construct): Set the default expanded state for the tree to FALSE rather than TRUE, to prevent unwanted expansion of delayed nodes. (This only affects the very first time the tree is displayed anyway: after that its state is loaded off disk.) * e-shell.c (e_shell_construct): Register the "noselect" type with the folder type registry, so icon lookups on placeholder folders will work. svn path=/trunk/; revision=16169
* Use `evolution:config_item:icon_name' instead ofEttore Perazzoli2002-03-142-4/+21
| | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use `evolution:config_item:icon_name' instead of `evolution:config_item:icon_path'. If it's not an absolute path, load from the IMAGESDIR. Also, no need to specify the language list for this one, as the icon name shouldn't be translated. svn path=/trunk/; revision=16140
* Update to create an EvolutionConfigControl instead of just aEttore Perazzoli2002-03-138-22/+362
| | | | | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): Update to create an EvolutionConfigControl instead of just a BonoboControl. * e-corba-config-page.c (e_corba_config_page_construct): Get a GNOME_Evolution_ConfigControl instead of a CORBA_Object. Retrieve the control from it using ::_get_control instead of just assuming it's a control. Also return a boolen indicating success or failure. (e_corba_config_page_new): Likewise, get a GNOME_Evolution_ConfigControl. (setup_listener): Renamed from `setup_config_control_interface'. Get a ::ConfigControl instead of a CORBA::Object. Thus, no need to queryInterface here anymore. * evolution-config-control.c, evolution-config-control.h: New, implementation for the Evolution::ConfigControl interface. * Evolution-ConfigControl.idl: New attribute `control'. svn path=/trunk/; revision=16134
* Make old_name_locale non-const to placate a compiler warning.Ettore Perazzoli2002-03-103-1/+12
| | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Make old_name_locale non-const to placate a compiler warning. (get_corba_null_value): Likewise. * e-activity-handler.c (report_task_event): `#if 0' out. svn path=/trunk/; revision=16008
* Use ECorbaConfigPages.Ettore Perazzoli2002-03-107-6/+353
| | | | | | | | | | | | | | * e-shell-settings-dialog.c (load_pages): Use ECorbaConfigPages. * e-corba-config-page.c: New. * e-corba-config-page.h: New. * Evolution.idl: #include <Evolution-ConfigControl.idl>. * Evolution-ConfigControl.idl: New IDL for configuration Controls that will be displayed in the global config dialog. svn path=/trunk/; revision=16007
* Note that e_storage_set_view_new shouldn't be used directly.Dan Winship2002-03-095-2/+15
| | | | | | | | | | | | | * e-storage-set-view.[ch]: Note that e_storage_set_view_new shouldn't be used directly. * e-shell-view.c (setup_storage_set_subwindow): Use e_storage_set_new_view instead of e_storage_set_view_new. * evolution-storage-set-view-factory.c (evolution_storage_set_view_factory_new_view): Likewise. svn path=/trunk/; revision=15993
* New function to create a test configuration page for the test component.Ettore Perazzoli2002-03-088-14/+367
| | | | | | | | | | | | | | | | | | | | | * evolution-test-component.c (create_configuration_page): New function to create a test configuration page for the test component. (configuration_control_factory_fn): Factory function for the configuration controls. (register_configuration_control_factory): New function to register the factory. (main): Call it. * e-shell-view-menu.c: Add verb "Settings". (command_settings): Implementation for the "Settings" verb. * GNOME_Evolution_TestComponent.oaf: Add a configuration control. * e-shell-settings-dialog.c: New. * e-shell-settings-dialog.h: New. svn path=/trunk/; revision=15977
* fix a bug in the storage icon codeDan Winship2002-03-082-7/+9
| | | | svn path=/trunk/; revision=15974
* Addendum to previous commit: Remove "storage_selected" vsDan Winship2002-03-089-109/+27
| | | | | | | | | | | | | | | | | | | | | | | | | | "folder_selected" distinction. * evolution-storage-set-view.c (storage_set_view_widget_storage_selected_cb): Removed. * evolution-storage-set-view-listener.c (impl_GNOME_Evolution_StorageSetViewListener_notifyStorageSelected): Removed. (class_init): Remove STORAGE_SELECTED signal. * e-storage-set-view.c (impl_cursor_activated): Always emit FOLDER_SELECTED, never STORAGE_SELECTED. (class_init): Remove STORAGE_SELECTED signal. * e-shell-view.c (storage_selected_cb): Removed. * e-shell-folder-creation-dialog.c (storage_set_view_storage_selected_cb): Removed. * Evolution-StorageSetView.idl (StorageSetViewListener): Remove notifyStorageSelected. svn path=/trunk/; revision=15968
* Make storages-with-toplevel-views less of a hack.Dan Winship2002-03-0817-342/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-folder-tree.c (e_folder_tree_add): Allow the caller to "add" a root folder, if the existing root folder has no children. (e_folder_tree_new): Use e_folder_tree_add to create the root folder, since it can do that now. * e-storage.c: (e_storage_construct): Replace toplevel_node_uri and toplevel_node_type args with root_folder. (e_storage_new): Likewise. (*): Remove toplevel uri/type stuff everywhere. Also remove display_name since now we will use the name of the root folder for that. * evolution-storage.c: Remove toplevel uri/type stuff everywhere. * e-local-storage.c (construct): Pass root_folder to e_storage_construct instead of toplevel uri/type. Also, evolution_storage_new no longer takes toplevel uri/type. * e-corba-storage.c (e_corba_storage_construct): Out with toplevel uri/type, in with root_folder. (e_corba_storage_new): Remove toplevel uri/type. * e-shell.c (setup_local_storage): Create a top-level folder of type "summary" for the Summary storage. * e-storage-set-view.c (set_e_shortcut_selection): Remove special-case for storages. (etree_icon_at): Remove special case for figuring out storage icons (but leave the code that makes the icon disappear once the storage is opened). (etree_value_at): Remove special case for storage names. (But still make storages always bold.) Remove unused special-case code for Summary. * e-shortcuts.c (load_shortcuts): Remove special case for storages, reorganize a bit. * e-shortcuts-view.c (get_shortcut_info): Remove special case for storages. * e-shell-view.c (update_for_current_uri): Remove special case for storages. (socket_destroy_cb): Likewise. (get_type_for_storage): No longer needed. (get_view_for_uri): No longer needs to special-case storages (but add a special case for folders of type "noselect", to make them unselectable like storages-without-toplevel-views used to be). * e-storage-set.c (get_storage_for_path): If passed "/foo", return "/" as subpath_return so e_storage_set_get_folder will DTRT in the NWO. * Evolution-Storage.idl (addStorage): Remove the toplevel_node_uri and toplevel_node_type arguments. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Likewise. svn path=/trunk/; revision=15965
* Keep the storage name and display_name in EStoragePriv. (impl_get_name,Dan Winship2002-03-0713-261/+75
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage.c: Keep the storage name and display_name in EStoragePriv. (impl_get_name, impl_get_display_name): Return them. (e_storage_construct): Set them here. (e_storage_new): And here. * e-local-storage.c: (impl_get_name, impl_get_display_name): Removed. (construct): Pass E_LOCAL_STORAGE_NAME and U_("Local Folders") to e_storage_construct. * e-corba-storage.c: Remove priv->name. (get_name, get_display_name): Removed. (e_corba_storage_construct): Pass name to e_storage_construct(). * e-summary-storage.[ch]: Gone. This didn't override anything in EStorage but get_name/get_display_name, and the defaults for those DTRT now. * e-shell-constants.h: Move E_SUMMARY_STORAGE_NAME here from e-summary-storage.h, and move E_LOCAL_STORAGE_NAME too for consistency. * e-storage-set-view.c: Fix up #includes. * e-shell-importer.c: Likewise * e-shell.c: Likewise. Create summary_storage as a plain EStorage since ESummaryStorage is gone now. * Makefile.am (evolution_SOURCES): Remove e-summary-storage.[ch] svn path=/trunk/; revision=15955
* Fix up GList/GSList confusion.Dan Winship2002-03-073-2/+15
| | | | | | | | | | | | * e-corba-storage-registry.c (impl_StorageRegistry_removeListener): Fix up GList/GSList confusion. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Don't look into the types list if it's empty. svn path=/trunk/; revision=15954
* Reduce width of the copyright message so it looks prettier with the newEttore Perazzoli2002-03-072-2/+7
| | | | | | | * e-shell-about-box.c: Reduce width of the copyright message so it looks prettier with the new Rupert artwork. svn path=/trunk/; revision=15947
* CORBA stuff required for the summary to find out details about storages from ↵Iain Holmes2002-03-055-2/+221
| | | | | | the shell svn path=/trunk/; revision=15899
* [Fix #20234, Deleting Folder gratuitiously causes /local to open.]Ettore Perazzoli2002-03-053-4/+170
| | | | | | | | | | | | | | | | | | | | | | | | | | | 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20234, Deleting Folder gratuitiously causes /local to open.] * e-shell-view.c (find_inbox_in_storage): New helper function to heuristically find an Inbox folder. (handle_current_folder_removed): New function to handle the removal of the currently displayed folder in a slightly smarter way than before. It tries to display the parent folder of the folder that got deleted and, if not possible, the Inbox in the same storage. If neither of this is possible, it displays the default local Inbox. [It still doesn't handle the case where you have no Inbox gracefully, but that can come later.] (storage_set_removed_folder_callback): Call `handle_current_folder_removed'. 2002-03-04 Ettore Perazzoli <ettore@ximian.com> [Fix #20237, Shell silently drops xfer_folder errors.] * e-shell-folder-commands.c (xfer_result_callback): Display an error message if the operation failed. svn path=/trunk/; revision=15898
* [This gets rid of some spurious "could not find handler" messagesEttore Perazzoli2002-02-272-5/+18
| | | | | | | | | | | | on exit. What happened is that the signal would be disconnected twice, once by cleanup_delayed_selection() and once by the while_alive handler.] * e-shell-view.c (destroy): Call cleanup_delayed_selection() here. (e_shell_view_display_uri): Use gtk_signal_connect_full(), not e_gtk_signal_connect_full_while_alive(). svn path=/trunk/; revision=15848
* Fix license text.Ettore Perazzoli2002-02-242-6/+4
| | | | svn path=/trunk/; revision=15813
* Add year 2002 to the copyright.Ettore Perazzoli2002-02-242-2/+6
| | | | | | * e-shell-about-box.c: Add year 2002 to the copyright. svn path=/trunk/; revision=15812
* Renamed from `destroy'. (impl_right_click): Renamed from `right_click'.Ettore Perazzoli2002-02-242-93/+146
| | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (impl_destroy): Renamed from `destroy'. (impl_right_click): Renamed from `right_click'. (impl_cursor_activated): Renamed from `cursor_activated'. (impl_tree_start_drag): Renamed from `tree_start_drag'. (impl_tree_drag_begin): Renamed from `tree_drag_begin'. (impl_tree_drag_end): Renamed from `tree_drag_end'. (impl_tree_drag_data_get): Renamed from `tree_drag_data_get'. (impl_tree_drag_data_delete): Renamed from `tree_drag_data_delete'. (impl_tree_drag_motion): Renamed from `tree_drag_motion'. (impl_tree_drag_leave): Renamed from `tree_drag_leave'. (impl_tree_drag_drop): Renamed from `tree_drag_drop'. (impl_tree_drag_data_received): Renamed from `tree_drag_data_received'. svn path=/trunk/; revision=15811
* [Fix #3029, Offline mode should be preserved across sessions.]Ettore Perazzoli2002-02-234-8/+81
| | | | | | | | | | | | | | | | | * main.c (idle_cb): Use the e_shell_new() API below so that we use the saved offline settings at the next start-up if neither --offline nor --online has been specified. * e-shell.c (save_misc_settings): New function. For now, just save `/Shell/StartOffline' indicating whether the shell should start in offline mode or not. (e_shell_construct): Replace @start_online with @startup_line_mode. (e_shell_new): Likewise. * e-shell.h: New enum EShellStartupLineMode. svn path=/trunk/; revision=15804
* New helper function to remove all the matching URIs from the history.Ettore Perazzoli2002-02-234-13/+85
| | | | | | | | | | | | | * e-shell-view.c (remove_uri_from_history): New helper function to remove all the matching URIs from the history. (history_uri_matching_func): Compare function for using e_history_remove_matching. (storage_set_removed_folder_callback): Call `remove_uri_from_history()'. * e-history.c (e_history_remove_matching): New. svn path=/trunk/; revision=15803
* New. (display_uri): Call it before returning so the navigation buttonsEttore Perazzoli2002-02-234-10/+49
| | | | | | | | | | | | * e-shell-view.c (update_navigation_buttons): New. (display_uri): Call it before returning so the navigation buttons always have the right sensitivity. * e-shell-folder-title-bar.c (e_shell_folder_title_bar_update_navigation_buttons): New. (add_navigation_buttons): Remove the "Back" label. svn path=/trunk/; revision=15799
* [First cut at navigation (i.e. back/forward) buttons.]Ettore Perazzoli2002-02-235-6/+416
| | | | | | | | | | | | | | | | | * e-shell-view.c: New member `history' in `EShellViewPrivate'. (init): Initialize. (destroy): Unref. (e_shell_view_display_uri): Make it a no-op if the URI is the same as the current one. Also, moved code into `display_uri' and use it. (back_clicked_callback): New, callback for the back button on the folder title bar. (forward_clicked_callback): Likewise for the forward button. * e-history.c: New. * e-history.h: New. svn path=/trunk/; revision=15798
* `e_shell_folder_title_bar_set_title_clickable()', notEttore Perazzoli2002-02-234-109/+286
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_show_folder_bar): `e_shell_folder_title_bar_set_title_clickable()', not `e_shell_folder_title_bar_set_clickable()'. * e-shell-folder-title-bar.c: Rename `button', `button_label' and `button_arrow' to `title_button', `title_button_label' and `title_button_arrow'. Renamed `label' to `title_label'. Renamed `arrow_xpm' to `down_arrow_xpm'. Added `left_arrow.xpm' and `right_arrow.xpm'. (class_init): Add the "back_clicked" and "forward_clicked" signals. (add_navigation_buttons): New function to add the navigation buttons to the title bar. (back_button_clicked_callback): Callback for the back button, emits "back_clicked". (forward_button_clicked_callback): Callback for the forward button, emits "forward_clicked". (e_shell_folder_title_bar_construct): Call `add_navigation_buttons()'. (forward_button_clicked_callback): (create_arrow_pixmap): Removed. (create_pixmap_widget_from_xpm): New. (title_button_box_realize_cb): Removed. (e_shell_folder_title_bar_construct): Don't connect. Just add the icon normally using the new `create_pixmap_widget_from_xpm()'. (e_shell_folder_title_bar_set_title_clickable): Renamed from `e_shell_folder_title_bar_set_clickable'. (size_allocate_navigation_buttons): New. (size_allocate_title_button): Get an @offset. (size_allocate_label): Get an @offset. (size_allocate): Allocate the navigation buttons and offset everything else accordingly. * e-shell-folder-title-bar.h: New signals "back_clicked", "forward_clicked". svn path=/trunk/; revision=15797
* Return NULL if there is no component ID for the current view.Ettore Perazzoli2002-02-222-0/+8
| | | | | | | | * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Return NULL if there is no component ID for the current view. svn path=/trunk/; revision=15792
* Set the icons for all the "New..." menu items from the specified one inEttore Perazzoli2002-02-225-54/+97
| | | | | | | | | | | | | | | | * e-shell-user-creatable-items-handler.c (ensure_menu_items): Set the icons for all the "New..." menu items from the specified one in the type definitions. * e-activity-handler.c (create_gdk_pixbuf_from_corba_icon): Removed. (impl_operationStarted): Just use `e_new_gdk_pixbuf_from_corba_icon()'. * e-shell-corba-icon-utils.c (e_new_gdk_pixbuf_from_corba_icon): New. svn path=/trunk/; revision=15786
* Don't show the folder bar and the shortcut bar in the new window.Ettore Perazzoli2002-02-216-8/+58
| | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (activate_shortcut_cb): Don't show the folder bar and the shortcut bar in the new window. * e-shell-view.c (e_shell_create_view): Don't flush the GTK events here. * e-shell.c (e_shell_construct): New arg @start_online. If true, invoke `e_shell_go_online()' before returning. (e_shell_new): New arg @start_online. Pass it to e_shell_construct(). (init): Default ->line_status to E_SHELL_LINE_STATUS_OFFLINE. * main.c (main): Add "--offline" and "--online" options. svn path=/trunk/; revision=15776
* Use right_click_row_path rather than selected_row_path, so clients get theNot Zed2002-01-302-1/+7
| | | | | | | | | | 2002-01-30 Not Zed <NotZed@Ximian.com> * e-storage-set-view.c (popup_folder_menu): Use right_click_row_path rather than selected_row_path, so clients get the uri that was actually clicked on. svn path=/trunk/; revision=15522
* Final cleanup for the CFLAGS and LIBS in the Makefiles.Ettore Perazzoli2002-01-283-40/+41
| | | | svn path=/trunk/; revision=15486
* Just use BONOBO_HTML_GNOME_CFLAGS and BONOBO_HTML_GNOME_LIBS forEttore Perazzoli2002-01-252-18/+14
| | | | | | | | * Makefile.am: Just use BONOBO_HTML_GNOME_CFLAGS and BONOBO_HTML_GNOME_LIBS for compiling/linking; we don't need the other ones. svn path=/trunk/; revision=15458
* Add missing files. Ooops!Ettore Perazzoli2002-01-252-0/+178
| | | | svn path=/trunk/; revision=15452
* [Implement an Outlook-style "New" dropdown button. It is basicallyEttore Perazzoli2002-01-2415-191/+497
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | done but it needs pretty icons so I am leaving it disabled for now.] * e-combo-button.c: Remove member `separator' from `EComboButtonPrivate'. New members `icon', `label'. (init): There shall be no separator no more. Init `icon' and `label' to %NULL. (e_combo_button_construct): Set no relief. (e_combo_button_new): Don't get a @menu arg anymore. (e_combo_button_construct): Likewise. (e_combo_button_set_icon): New. (e_combo_button_set_label): New. (e_combo_button_set_menu): New. (impl_clicked): New, overriding the "clicked" method for GtkButton. (class_init): Install. (impl_button_release_event): Removed. (class_init): No need to override ::release_event with this anymore. (impl_released): New, override for the GtkButton::released method. (class_init): Install. * e-shell-user-creatable-items-handler.c: New member `id' in struct `Component'. New member `icon' in struct `MenuItem'. (component_free): Free ->id. (component_new): Renamed from `component_new_from_client'. Get an @id arg and set ->id accordingly. (e_shell_user_creatable_items_handler_add_component): New arg @id. Pass it to `component_new'. (e_shell_user_creatable_items_handler_setup_menus): New arg @current_component_id. (e_shell_user_creatable_items_handler_update_menus): New. (set_current_component): New helper function. (get_component_by_id): New helper function. (add_verbs): Renamed from `add_verbs_to_ui_component()'. Get a @shell_view instead of a @ui_component. Set the SHELL_VIEW_KEY on the ui_component of the shell_view to point to the shell_view itself. (ensure_menu_items): Set item->icon to NULL. (free_menu_items): Unref item->icon. (ensure_menu_xml): Set the icon as well. (get_default_action_for_view): New helper function. (find_menu_item_for_verb): New helper function. (shell_view_view_changed_callback): New callback, set up the label on the "New" button depending on the current component. (e_shell_user_creatable_items_handler_attach_menus): New. For now, do not display the toolbar button yet. (execute_verb): New helper function, splitting out code from `verb_fn'. (verb_fn): Use `execute_verb'. (combo_button_activate_default_callback): Callback for the "activate_default" signal on the EComboButton. (setup_toolbar_button): Connect. * evolution-shell-component.c: New member `icon' in `UserCreatableItemType'. (impl__get_userCreatableItemTypes): Put the ->icon in the corba_type as well. (user_creatable_item_type_new): Get a new @icon argument. (evolution_shell_component_add_user_creatable_item): New arg @icon. * Evolution-ShellComponent.idl: New member `icon' in struct `UserCreatableItemType'. * evolution-test-component.c (register_component): Pass a NULL @icon to `evolution_shell_component_add_user_creatable_item()'. * e-shell-view.c (class_init): Add the signal to the class. (e_shell_view_display_uri): Emit "view_changed". (e_shell_view_get_current_component_id): New. * evolution-shell-component-client.c: New member `id' in EvolutionShellComponentClientPrivate. (init): Init to NULL. (impl_destroy): Free. (evolution_shell_component_client_new_for_objref): Removed. (evolution_shell_component_client_construct): New arg @id. Initialize ->id from it. (evolution_shell_component_client_get_id): New. * e-shell-view.h: New signal "view_changed". * evolution-activity-client.c (create_icon_from_pixbuf): Removed. (create_corba_animated_icon_from_pixbuf_array): Removed. (evolution_activity_client_construct): Use `e_new_corba_animated_icon_from_pixbuf_array()' instead. svn path=/trunk/; revision=15438
* [Patch by Michael Meeks <michael@ximian.com>.]Ettore Perazzoli2002-01-242-0/+8
| | | | | | | * e-splash.c (e_splash_set_icon_highlight): g_return if there is no num-th icon. svn path=/trunk/; revision=15433
* Stop the importer dialog going behind the main windowIain Holmes2002-01-212-1/+7
| | | | svn path=/trunk/; revision=15413
* [Fix #17441, Crash trying to import Multiple VCard file into LDAPEttore Perazzoli2002-01-162-6/+27
| | | | | | | | | folder.] * e-shell-importer.c (show_error): Add a NULL in the call to `gnome_message_box_new()'. svn path=/trunk/; revision=15333
* re-order activate / de-activate to minimise flicker switching betweenMichael Meeks2002-01-152-9/+16
| | | | | | | | | | 2001-12-14 Michael Meeks <michael@ximian.com> * e-shell-view.c (set_current_notebook_page): re-order activate / de-activate to minimise flicker switching between identical components. svn path=/trunk/; revision=15316
* updatedDamon Chaplin2002-01-121-0/+7
| | | | svn path=/trunk/; revision=15306
* handle translated timezone names.Damon Chaplin2002-01-122-2/+7
| | | | | | | | | | | 2002-01-11 Damon Chaplin <damon@ximian.com> * e-shell-startup-wizard.c (finish_func): handle translated timezone names. * Makefile.am (INCLUDES): added -I$(top_srcdir)/libical/src/libical. svn path=/trunk/; revision=15305
* -- Merging patches from evolution-1-0-branch.Ettore Perazzoli2001-12-204-5/+81
| | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-about-box.c: Add Michael MacDonald. [Fixes #17377, Evolution doesn't work on multi-depth displays.] * main.c (main): Push GdkRGB visual and colormap. [Fix #16693. What happens there is that the user closed the dialog before the async operation was completed, so when the notification was received the shell crashed.] * e-shell-folder-creation-dialog.c: New member `creation_in_progress' in `DialogData'. (e_shell_show_folder_creation_dialog): Init to %FALSE. (async_create_cb): Set to %FALSE. Also, if the dialog_data->dialog is %NULL, free the dialog_data before returning. (dialog_clicked_cb): Set to %TRUE. (dialog_destroy_cb): If a creation is in progress, just set the widget pointers in the DialogData struct to %NULL instead of freeing the whole struct. (async_create_cb): Make the OK and Cancel buttons sensitive. (dialog_clicked_cb): Make them insensitive here. svn path=/trunk/; revision=15192
* [Fix #17258, shell displays splash even if Evolution is alreadyEttore Perazzoli2001-12-152-9/+17
| | | | | | | | | running.] * e-shell.c (e_shell_construct): Display the splash screen only if the registration succeeds. svn path=/trunk/; revision=15078
* New helper function to create the `~/evolution/private' directory.Ettore Perazzoli2001-12-132-0/+58
| | | | | | | | * e-setup.c (setup_bonobo_conf_private_directory): New helper function to create the `~/evolution/private' directory. (e_setup): Call it. svn path=/trunk/; revision=15012
* Add missing comma.Ettore Perazzoli2001-12-062-1/+5
| | | | svn path=/trunk/; revision=14898
* [Fix #7827, Switching desktops leaves the folder bar popped up.]Ettore Perazzoli2001-12-063-1/+43
| | | | | | | | | | | | | | | * e-shell-view.c (folder_bar_popup_map_callback): And grab the keyboard as well. (popdown_transient_folder_bar): Ungrab the keyboard as well. (switch_on_folder_tree_click): Likewise. [Fix #16507, Right Click -> View does nothing.] * e-shell-view-menu.c: New verb "ActivateView". (command_activate_view): New, callback for the "ActivateView" verb. svn path=/trunk/; revision=14897
* Convert folder name to locale's encoding before using it as part of theZbigniew Chyla2001-12-042-2/+9
| | | | | | | | | 2001-11-15 Zbigniew Chyla <cyba@gnome.pl> * e-shell-folder-commands.c (e_shell_command_rename_folder): Convert folder name to locale's encoding before using it as part of the prompt. svn path=/trunk/; revision=14849
* Fixes bug #3290.Federico Mena Quintero2001-11-302-1/+30
| | | | | | | | | | | | | | | | | | 2001-11-28 Federico Mena Quintero <federico@ximian.com> Fixes bug #3290. * e-shell-folder-selection-dialog.c (e_shell_folder_selection_dialog_construct): Use our own filename for the collapsation state of the tree, instead of sharing the one of shell view number 0. (save_expanded_state): New function, saves the collapsation state of the tree. (impl_destroy): Call save_expanded_state(). 2001-11-14 Ettore Perazzoli <ettore@ximian.com> svn path=/trunk/; revision=14820
* Add more contributors to the box.Ettore Perazzoli2001-11-152-0/+12
| | | | | | * e-shell-about-box.c: Add more contributors to the box. svn path=/trunk/; revision=14704
* make timezone default to "UTC" rather than "".Damon Chaplin2001-11-152-1/+6
| | | | | | | | | 2001-11-14 Damon Chaplin <damon@ximian.com> * e-shell-startup-wizard.c (finish_func): make timezone default to "UTC" rather than "". svn path=/trunk/; revision=14700
* Check for exceptions.Iain Holmes2001-11-132-1/+57
| | | | | | Fix a memory leak svn path=/trunk/; revision=14680
* Get the storage name if we are dragging a storage instead of a folder.Ettore Perazzoli2001-11-062-3/+23
| | | | | | | * e-storage-set-view.c (set_e_shortcut_selection): Get the storage name if we are dragging a storage instead of a folder. svn path=/trunk/; revision=14604
* Fixed spacing and alignment probelms. (See bug #14281)Anna Marie Dirks2001-11-063-9/+23
| | | | | | | | | | | | 2001-11-05 Anna Marie Dirks <anna@ximian.com> * e-shell-importer.c (prepare_intelligent_page): Fixed spacing and alignment probelms. (See bug #14281) * e-shell-startup-wizard.c (prepare_importer_page): Fixed spacing and alignment problems. (See bug #14281) svn path=/trunk/; revision=14599
* Set the shortcut name to be the folder name, not just the last componentDan Winship2001-11-062-6/+11
| | | | | | | | * e-storage-set-view.c (set_e_shortcut_selection): Set the shortcut name to be the folder name, not just the last component of its path, which may be different. svn path=/trunk/; revision=14589
* Fix for #14281 (missing icons in the druids).Ettore Perazzoli2001-11-032-1/+6
| | | | svn path=/trunk/; revision=14576
* Changed the welcome message and the finishing message to be moreAnna Marie Dirks2001-11-022-7/+20
| | | | | | | | | | | | 2001-11-01 Anna Marie Dirks <anna@ximian.com> * glade/evolution-startup-wizard.glade: Changed the welcome message and the finishing message to be more descriptive. Also changed the window title to be "Evolution Setup Assistant". Finally, fixed a misnamed icon (replaced timezone.png with timezone-48.png). Partially fixes bug #14281 and totally fixes #14286. svn path=/trunk/; revision=14567
* Don't do operations on a NULL path. (updated_folder_cb,Christopher James Lahey2001-11-012-9/+22
| | | | | | | | | | | 2001-10-31 Christopher James Lahey <clahey@ximian.com> * e-storage-set-view.c (cursor_activated): Don't do operations on a NULL path. (updated_folder_cb, folder_changed_cb): Send pre_change signal here. svn path=/trunk/; revision=14558
* If the source folder is stock and the operation is GDK_ACTION_MOVE, alwaysEttore Perazzoli2001-11-012-0/+11
| | | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): If the source folder is stock and the operation is GDK_ACTION_MOVE, always return %FALSE as we don't want that to be allowed ever. svn path=/trunk/; revision=14543
* Removed. (show_existing_view): Don't call it.Ettore Perazzoli2001-10-312-24/+5
| | | | | | | * e-shell-view.c (bonobo_widget_is_dead): Removed. (show_existing_view): Don't call it. svn path=/trunk/; revision=14494
* New utility function. (sleep_with_g_main_loop_timeout_callback): CallbackEttore Perazzoli2001-10-312-1/+34
| | | | | | | | | | | * e-component-registry.c (sleep_with_g_main_loop): New utility function. (sleep_with_g_main_loop_timeout_callback): Callback function for `sleep_with_g_main_loop()'. (wait_for_corba_object_to_die): Use `sleep_with_g_main_loop()' instead of `sleep()'. svn path=/trunk/; revision=14493
* Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback):Ettore Perazzoli2001-10-312-58/+6
| | | | | | | | * main.c (development_warning): Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback): Removed. svn path=/trunk/; revision=14490
* If the display uri is NULL, set the view to the default.Iain Holmes2001-10-312-2/+11
| | | | | | | | | 2001-10-30 Iain Holmes <iain@ximian.com> * e-shell-view.c (e_shell_view_load_settings): If the display uri is NULL, set the view to the default. svn path=/trunk/; revision=14489
* Duplicate the owner before pinging it. Fixes #13802.Ettore Perazzoli2001-10-312-0/+17
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Duplicate the owner before pinging it. Fixes #13802. svn path=/trunk/; revision=14488
* New. (class_init): Install it. (impl_unsetOwner): Just emit theEttore Perazzoli2001-10-312-13/+48
| | | | | | | | | | | | | * evolution-shell-component.c (impl_owner_unset): New. (class_init): Install it. (impl_unsetOwner): Just emit the "owner_unset" signal as the default implementation for that signal does all the work now. (impl_owner_died): Set the owner_client to %NULL before unreffing it. (destroy): Likewise. (impl_owner_unset): Likewise. svn path=/trunk/; revision=14484
* Connect to the "removed_folder" signal withEttore Perazzoli2001-10-312-2/+9
| | | | | | | | * e-shell-view.c (e_shell_view_construct): Connect to the "removed_folder" signal with gtk_signal_connect_while_alive() so we don't crash if the view gets destroyed. Fixes #13285. svn path=/trunk/; revision=14478
* If we're not at the end of the druid list, tell the druid we're going to02001-10-302-2/+20
| | | | | | | | | | | | 2001-10-30 <NotZed@Ximian.com> * e-shell-startup-wizard.c (next_func): If we're not at the end of the druid list, tell the druid we're going to change the page. (back_func): Same for going back a page. This way we can properly synchronise with the druid object and not race with the wizard object to set the right page. Part of fix for #12127. svn path=/trunk/; revision=14450
* Require gal 0.15.99.8Joe Shaw2001-10-302-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2001-10-29 Joe Shaw <joe@ximian.com> * configure.in: Require gal 0.15.99.8 * addressbook/backend/ebook/e-card-simple.c, addressbook/gui/component/addressbook-storage.c, addressbook/gui/widgets/e-addressbook-view.c, calendar/gui/e-calendar-table.c, calendar/gui/e-itip-control.c, calendar/gui/e-meeting-model.c, calendar/gui/itip-utils.c, calendar/gui/print.c, calendar/gui/alarm-notify/alarm-notify-dialog.c, filter/rule-editor.c, mail/mail-config.c, mail/mail-folder-cache.c, mail/mail-format.c, mail/mail-local.c, mail/mail-ops.c, mail/mail-vfolder.c, shell/e-local-storage.c, shell/e-summary-storage.c: Change includes of e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h svn path=/trunk/; revision=14427
* Slightly change the debugigng message for when the shell has disappeared.Ettore Perazzoli2001-10-302-1/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Slightly change the debugigng message for when the shell has disappeared. svn path=/trunk/; revision=14413
* Remove ping debugging messages.Ettore Perazzoli2001-10-302-5/+6
| | | | | | | * evolution-shell-component.c (owner_ping_callback): Remove ping debugging messages. svn path=/trunk/; revision=14408
* Remove debugging message.Ettore Perazzoli2001-10-302-2/+4
| | | | | | * e-shell.c (set_interactive): Remove debugging message. svn path=/trunk/; revision=14403
* use libical-evolution.laDamon Chaplin2001-10-302-1/+5
| | | | | | | | 2001-10-29 Damon Chaplin <damon@ximian.com> * Makefile.am (evolution_LDADD): use libical-evolution.la svn path=/trunk/; revision=14399
* Ref the shell. (destroy): Unref the shell. (destroy): Free theEttore Perazzoli2001-10-293-7/+23
| | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Ref the shell. (destroy): Unref the shell. (destroy): Free the delayed_selection. No need to call `cleanup_delayed_selection()' as the signal handler will have already be disconnected at this point [as we are using connect_while_alive()']. svn path=/trunk/; revision=14325
* Call `cleanup_delayed_selection()' as there is a slight chance that theEttore Perazzoli2001-10-292-4/+17
| | | | | | | | | | | | * e-shell-view.c (destroy): Call `cleanup_delayed_selection()' as there is a slight chance that the callback gets invoked during the cleanup phase. (e_shell_view_display_uri): For extra safety, make sure we don't get invoked on a dead object by connecting the "new_folder" signal with `e_gtk_signal_connect_full_while_alive()' instead of using plain `gtk_signal_connect_after()'. svn path=/trunk/; revision=14320
* Don't do the `gtk_signal_disconnect_by_func()' as it's already done inEttore Perazzoli2001-10-292-8/+22
| | | | | | | | | | | | | | | | * e-shell-view.c (new_folder_cb): Don't do the `gtk_signal_disconnect_by_func()' as it's already done in `cleanup_delayed_selection()'. (e_shell_view_construct): Set the ->shell member as the first thing. (set_current_notebook_page): Add a cast to make the compiler happy. (new_folder_cb): Don't set priv->uri before calling `e_shell_view_display_uri()', because the latter does it anyways, and also if you set it before calling it, the selection in the folder tree doesn't get updated properly. svn path=/trunk/; revision=14319
* Set the return type of the signal handlers to GTK_TYPE_NONE.92001-10-292-3/+8
| | | | | | | | | 2001-10-29 <NotZed@Ximian.com> * evolution-storage.c (class_init): Set the return type of the signal handlers to GTK_TYPE_NONE. svn path=/trunk/; revision=14314
* [The following should fix #13802, crash on exit.]Ettore Perazzoli2001-10-292-4/+18
| | | | | | | | | | * evolution-shell-component.c (impl_unsetOwner): Set the ping timeout ID to -1 when removing the source. (impl_destroy): Likewise. (impl_unsetOwner): Remove the timeout before unreffing, not after unreffing. svn path=/trunk/; revision=14304
* Distribute credit equally.Jon Trowbridge2001-10-282-3/+40
| | | | | | | | 2001-10-28 Jon Trowbridge <trow@ximian.com> * e-shell-about-box.c: Distribute credit equally. svn path=/trunk/; revision=14280
* Fixing the license text.Ettore Perazzoli2001-10-2810-10/+0
| | | | svn path=/trunk/; revision=14212
* We want XFER_FOLDER not REMOVE_FOLDER!72001-10-272-1/+6
| | | | | | | | | 2001-10-27 <NotZed@Ximian.com> * evolution-storage.c (impl_Storage_async_xfer_folder): We want XFER_FOLDER not REMOVE_FOLDER! svn path=/trunk/; revision=14193
* Fix the license text to make sense.Ettore Perazzoli2001-10-27101-101/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-2710-20/+20
| | | | | | (instead of version 2 or any later version). svn path=/trunk/; revision=14190
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-27101-202/+202
| | | | | | explicitly. svn path=/trunk/; revision=14186
* Remove debugging messages. (finalize_offline_hash_foreach): Likewise.Ettore Perazzoli2001-10-272-4/+6
| | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Remove debugging messages. (finalize_offline_hash_foreach): Likewise. svn path=/trunk/; revision=14184
* New member `finished' in `EShellOfflineHandlerPrivate'.Ettore Perazzoli2001-10-272-4/+38
| | | | | | | | | | | | | | | * e-shell-offline-handler.c: New member `finished' in `EShellOfflineHandlerPrivate'. (finalize_offline): Ref the handler as we might get destroyed while putting every component offline. (impl_OfflineProgressListener_updateProgress): Don't emit ::offline_procedure_finished if ->finished is %TRUE. Also, set it to %TRUE after emitting the signal. (cancel_offline): Likewise. (finalize_offline): Likewise. (update_dialog_clist): Guard against NULL ->dialog_gui. svn path=/trunk/; revision=14182
* Implement. (class_init): Add the signal "xfer_folder" signal.Ettore Perazzoli2001-10-273-4/+40
| | | | | | | | | * evolution-storage.c (impl_Storage_async_xfer_folder): Implement. (class_init): Add the signal "xfer_folder" signal. * evolution-storage.h: New signal "xfer_folder". svn path=/trunk/; revision=14177
* New, implementation for the ::async_xfer_folder method. (class_init):Ettore Perazzoli2001-10-272-3/+53
| | | | | | | | | * e-corba-storage.c (async_xfer_folder): New, implementation for the ::async_xfer_folder method. (class_init): Install it. svn path=/trunk/; revision=14173
* Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here.Ettore Perazzoli2001-10-272-0/+9
| | | | | | | * e-shell.c (destroy): Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here. svn path=/trunk/; revision=14170
* gtk_widget_show_now() the dialog. Likewise.Ettore Perazzoli2001-10-273-0/+9
| | | | | | | | * e-shell-importer.c (prepare_intelligent_page): gtk_widget_show_now() the dialog. * e-shell-startup-wizard.c (prepare_importer_page): Likewise. svn path=/trunk/; revision=14167
* Use gtk_widget_show_now() so the stupid dialog hopefully displays all theEttore Perazzoli2001-10-272-3/+8
| | | | | | | * main.c (quit_box_new): Use gtk_widget_show_now() so the stupid dialog hopefully displays all the time. svn path=/trunk/; revision=14166
* Clear the folder bar label to be empty. [#12553]Ettore Perazzoli2001-10-272-0/+6
| | | | | | | * e-shell-view.c (set_current_notebook_page): Clear the folder bar label to be empty. [#12553] svn path=/trunk/; revision=14163
* Draw one more line.Ettore Perazzoli2001-10-272-1/+5
| | | | | | * e-shell-about-box.c (timeout_callback): Draw one more line. svn path=/trunk/; revision=14161
* Set the GtkWindow policy so that @allow_shrink, @allow_grow andEttore Perazzoli2001-10-272-0/+7
| | | | | | | | * e-shell-view-menu.c (command_about_box): Set the GtkWindow policy so that @allow_shrink, @allow_grow and @auto_shrink are all %FALSE. svn path=/trunk/; revision=14160
* Don't allow invalid folder names. [#12027]Ettore Perazzoli2001-10-276-46/+81
| | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Don't allow invalid folder names. [#12027] * e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed. (dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead. * e-shell-utils.c (e_shell_folder_name_is_valid): New. Sorry I18N people, it breaks the string freeze slighty. * e-component-registry.c (component_free): Add a cast. (e_component_registry_restart_component): Argh, use the corba_objref properly in calling `wait_for_corba_object_to_die()'. svn path=/trunk/; revision=14152
* Add accelerators for "Work Offline" and "Work Online".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view-menu.c (update_offline_menu_item): Add accelerators for "Work Offline" and "Work Online". svn path=/trunk/; revision=14119
* Don't allow translators to translate "Ximian Evolution".Ettore Perazzoli2001-10-262-2/+7
| | | | | | | * e-shell-view.c (update_for_current_uri): Don't allow translators to translate "Ximian Evolution". svn path=/trunk/; revision=14116
* New helper function. (e_component_registry_restart_component): Use it.Ettore Perazzoli2001-10-262-15/+37
| | | | | | | | | * e-component-registry.c (wait_for_corba_object_to_die): New helper function. (e_component_registry_restart_component): Use it. (component_free): Call it to wait for the unowned object to die. svn path=/trunk/; revision=14110
* Handle failure from XGetClassHint properly. Also, free res_name andEttore Perazzoli2001-10-262-4/+12
| | | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Handle failure from XGetClassHint properly. Also, free res_name and res_class in case of success. Fixes #13554. svn path=/trunk/; revision=14104
* Don't display an icon for storages that have subfolders.Ettore Perazzoli2001-10-262-0/+11
| | | | | | | * e-storage-set-view.c (etree_icon_at): Don't display an icon for storages that have subfolders. svn path=/trunk/; revision=14102
* #include "e-util/e-gtk-utils.h".Ettore Perazzoli2001-10-265-4/+20
| | | | | | | | | | | | | | | | | * e-shell-importer.c: #include "e-util/e-gtk-utils.h". * e-shell-folder-creation-dialog.c (e_shell_show_folder_creation_dialog): Constify a local variable to placate a warning. * e-activity-handler.c (task_widget_cancel_callback): #if 0'ed out. * evolution-shell-component-client.c (evolution_shell_component_client_new): Remove unused variable `ior'. svn path=/trunk/; revision=14100
* Set ->priv to NULL. (impl_operationStarted): Check for priv not beingEttore Perazzoli2001-10-262-4/+13
| | | | | | | | | | * e-activity-handler.c (impl_destroy): Set ->priv to NULL. (impl_operationStarted): Check for priv not being NULL. (impl_operationProgressing): Likewise. (impl_operationFinished): Likewise. (impl_requestDialog): Likewise. svn path=/trunk/; revision=14099
* Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwiseEttore Perazzoli2001-10-262-0/+7
| | | | | | | | * e-shell-startup-wizard.c (make_mail_dialog_pages): Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise the caller will not realize about the problem. svn path=/trunk/; revision=14095
* Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise.Ettore Perazzoli2001-10-263-5/+16
| | | | | | | | | | | | | * evolution-wizard.c (evolution_wizard_set_buttons_sensitive): Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise. (evolution_wizard_set_page): Likewise. * e-shell-startup-wizard.c (make_mail_dialog_pages): Do not use __FUNCTION__ and __LINE__. This breaks the string freeze, but the old way made Evolution non-compilable with non-GNU compilers. svn path=/trunk/; revision=14094
* Add a few names to the box.Ettore Perazzoli2001-10-252-0/+8
| | | | | | * e-shell-about-box.c: Add a few names to the box. svn path=/trunk/; revision=14083
* g_return_if_fail if the display_name is NULL. "Fixes" 11182 although thereDan Winship2001-10-252-0/+8
| | | | | | | | | * evolution-storage.c (evolution_storage_new_folder): g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there may be a few more cases lying around that pass NULLs in. svn path=/trunk/; revision=14078
* Set the WMClass of the quit dialog to be different from the default one inEttore Perazzoli2001-10-252-0/+9
| | | | | | | * main.c (quit_box_new): Set the WMClass of the quit dialog to be different from the default one in an attempt to fix #13441. svn path=/trunk/; revision=14076
* New. (async_xfer_folder_callback): Use it so we get the right errorEttore Perazzoli2001-10-252-7/+30
| | | | | | | | | | * e-local-storage.c (storage_result_from_component_result): New. (async_xfer_folder_callback): Use it so we get the right error message. (async_xfer_folder_complete): New arg @success. Don't remove the directory and the metadata if @success is %FALSE. svn path=/trunk/; revision=13991
* Get the path and the shell view instead. (rename_callback_data_free):Ettore Perazzoli2001-10-242-14/+25
| | | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): Get the path and the shell view instead. (rename_callback_data_free): Updated accordingly. (rename_cb): Set the name on the folder based on the path, not the actual object [as the old object gets unreffed -- of course]. svn path=/trunk/; revision=13969
* New. (rename_callback_data_free): New. (rename_cb): Rename the folderEttore Perazzoli2001-10-242-7/+57
| | | | | | | | | * e-shell-folder-commands.c (rename_callback_data_new): New. (rename_callback_data_free): New. (rename_cb): Rename the folder here. (e_shell_command_rename_folder): Don't rename the EFolder here. svn path=/trunk/; revision=13967
* Handle the return codes properly, and invoke the result callback too.Ettore Perazzoli2001-10-242-0/+13
| | | | | | | * e-local-storage.c (async_xfer_folder_callback): Handle the return codes properly, and invoke the result callback too. svn path=/trunk/; revision=13965
* #if 0'ed for now, per #7427.Ettore Perazzoli2001-10-242-1/+9
| | | | | | | * e-activity-handler.c (show_cancellation_popup): #if 0'ed for now, per #7427. svn path=/trunk/; revision=13962
* Explicitly deactivate the control frame, and display the default URIEttore Perazzoli2001-10-243-2/+32
| | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): Explicitly deactivate the control frame, and display the default URI before destroying the dead one. * e-shell.c (e_shell_component_maybe_crashed): If the URI is of a folder that doesn't exist anymore, don't assume that the corresponding component has crashed. Also, try pinging the component first; if the component responds, don't pop up the dialog. svn path=/trunk/; revision=13960
* No need to gtk_widget_show() the view anymore.Ettore Perazzoli2001-10-235-36/+99
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): No need to gtk_widget_show() the view anymore. * e-shell-view.c (activate_shortcut_cb): No need to gtk_widget_show() the view anymore. * e-shell.c (impl_Shell_createNewView): Don't explicitly show the new view. (e_shell_create_view): gtk_widget_show() the new view and flush the GTK+ event loop before sending the ::interactive notification. (create_view): New helper function. (e_shell_create_view): Use it. (e_shell_create_view_from_settings): New. (e_shell_restore_from_settings): Use `e_shell_create_view_from_settings()'. svn path=/trunk/; revision=13918
* Remove the ping timeout.Ettore Perazzoli2001-10-232-0/+8
| | | | | | | * evolution-shell-component.c (impl_unsetOwner): Remove the ping timeout. svn path=/trunk/; revision=13908
* Don't die if the parent window has no WMHints.Ettore Perazzoli2001-10-232-3/+7
| | | | | | | * e-shell.c (impl_Shell_selectUserFolder): Don't die if the parent window has no WMHints. svn path=/trunk/; revision=13905
* If the view is dead, just return FALSE. Prevents crash #12483.Ettore Perazzoli2001-10-232-22/+7
| | | | | | | * e-shell-view.c (show_existing_view): If the view is dead, just return FALSE. Prevents crash #12483. svn path=/trunk/; revision=13903
* New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE.Ettore Perazzoli2001-10-235-7/+108
| | | | | | | | | | | | | | | | | | | | * e-shell.c: New member `is_interactive' in `EShellPrivate'. (init): Init to %FALSE. (set_interactive): New. (e_shell_create_view): Make interactive. (view_destroy_cb): If no views are left, make non-interactive. * evolution-shell-component.c (class_init): Set up the "interactive" signal. (impl_interactive): New implementation for the ::interactive method. (class_init): Install. * evolution-shell-component.h: New signal `interactive'. * Evolution-ShellComponent.idl: New method ::interactive. svn path=/trunk/; revision=13890
* Pass the @folder_type to ::handleDrop.Ettore Perazzoli2001-10-205-3/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (tree_drag_data_received): Pass the @folder_type to ::handleDrop. * evolution-shell-component-dnd.c (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion): New arg @folder_type. (impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop): Likewise. * evolution-shell-component-dnd.h: Add @folder_type to `DndDestinationFolderHandleDropFn' and `DndDestinationFolderHandleMotionFn'. * e-storage-set-view.c (tree_drag_motion): Pass the folder type to `::handleMotion'. * Evolution-ShellComponentDnd.idl: Pass @folder_type in ::handleDrop and ::handleMotion. * component-factory.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. * gui/component/addressbook-component.c (destination_folder_handle_motion): Get @folder_type here too [to match the changes in the EvolutionShellComponentDnd interface]. Also, remove a debugging message. (destination_folder_handle_drop): Likewise. svn path=/trunk/; revision=13807
* Use EShellAboutBox. (zero_pointer): Removed.Ettore Perazzoli2001-10-205-64/+483
| | | | | | | | | | * e-shell-view-menu.c (command_about_box): Use EShellAboutBox. (zero_pointer): Removed. * e-shell-about-box.h: New. * e-shell-about-box.c: New. svn path=/trunk/; revision=13804
* Ooops. Remove stale files `e-shell-about-box.[ch]'.Ettore Perazzoli2001-10-192-2/+5
| | | | | | | * Makefile.am (evolution_SOURCES): Ooops. Remove stale files `e-shell-about-box.[ch]'. svn path=/trunk/; revision=13767
* Fix the WM problems related to the folder selection dialog beingEttore Perazzoli2001-10-196-4/+75
| | | | | | | out-of-proc. Now it can be set to be a transient window correctly, and fakes its WindowGroup hint appropriately. svn path=/trunk/; revision=13765
* Urgh. Remove stale line that caused `display_default' to be set to TRUEEttore Perazzoli2001-10-182-2/+6
| | | | | | | | * main.c (idle_cb): Urgh. Remove stale line that caused `display_default' to be set to TRUE for all the non-NULL shell cases. svn path=/trunk/; revision=13743
* Re-set the owner on the component that raised OldOwnerHasDied.Ettore Perazzoli2001-10-182-2/+15
| | | | | | | * e-shell.c (set_owner_on_components): Re-set the owner on the component that raised OldOwnerHasDied. svn path=/trunk/; revision=13730
* Fix bug 11114Iain Holmes2001-10-162-0/+7
| | | | svn path=/trunk/; revision=13685
* Add two missing codes.Dan Winship2001-10-153-1/+14
| | | | | | | * e-corba-storage.c (async_folder_cb): * e-storage.c (e_storage_result_to_string): Add two missing codes. svn path=/trunk/; revision=13670
* New function to try to activate a component when you know it's going toDan Winship2001-10-143-0/+61
| | | | | | | | * evolution-shell-component-utils.c (e_activation_failure_dialog): New function to try to activate a component when you know it's going to fail, and then pop up a dialog explaining why it failed. svn path=/trunk/; revision=13657
* Fix strings and the importer window not drawing correctlyIain Holmes2001-10-133-13/+24
| | | | svn path=/trunk/; revision=13636
* [Fix #7643, Starting new view doesn't honor "view" settings.]Ettore Perazzoli2001-10-126-9/+35
| | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (command_open_folder_in_new_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()' * e-shell-view.c (activate_shortcut_cb): Pass the _view as the @template_view arg to `e_shell_create_view()'. * e-shell-folder-commands.c (e_shell_command_open_folder_in_other_window): Pass the parent @shell_view as the @template_view arg to `e_shell_create_view()'. * e-shell.c (e_shell_create_view): New arg @template_view. (impl_Shell_createNewView): Pass %NULL as @template_view when calling it. (e_shell_restore_from_settings): Likewise. svn path=/trunk/; revision=13618
* Also flush GDK after flushing GTK. Otherwise GTK might queue draw requestsEttore Perazzoli2001-10-122-0/+11
| | | | | | | | * main.c (quit_box_new): Also flush GDK after flushing GTK. Otherwise GTK might queue draw requests to X that don't get executed. svn path=/trunk/; revision=13617
* [Hopefully really, finally fix #8615 and friends.]Ettore Perazzoli2001-10-124-4/+53
| | | | | | | | | | * main.c (no_views_left_cb): Invoke `e_shell_disconnect_db()' before unreffing the shell. * e-shell.c (e_shell_disconnect_db): New. (destroy): Call it instead of unreffing the db manually here. svn path=/trunk/; revision=13616
* Don't free the folder_command_data here. It is supposed to be freed in theEttore Perazzoli2001-10-122-1/+10
| | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't free the folder_command_data here. It is supposed to be freed in the async callback. The leak that Dan supposedly fixed was probably only due to the fact that the component that was supposed to perform the xfer didn't report a result. Now that xfer actually works, it was triggering the crash instead. [Fixes #9769.] svn path=/trunk/; revision=13615
* Only invoke `progress_listener_servant_free()', no need to also doEttore Perazzoli2001-10-122-3/+9
| | | | | | | | | | * e-shell-offline-handler.c (prepare_for_offline): Only invoke `progress_listener_servant_free()', no need to also do `__fini()' on it as `__fini()' is also called by the former. [Fixes #12329.] Also, print out the CORBA exception that gets raised so we have some more clues about what is wrong. svn path=/trunk/; revision=13614
* Don't die if the folder_bar_popup is %NULL. Fixes #10922.Ettore Perazzoli2001-10-122-1/+8
| | | | | | | | * e-shell-view.c (reparent_storage_set_view_box_and_destroy_popup): Don't die if the folder_bar_popup is %NULL. Fixes #10922. svn path=/trunk/; revision=13613
* Display the default view only if we are starting our own shell, or if theEttore Perazzoli2001-10-123-10/+35
| | | | | | | | | | | | * main.c (idle_cb): Display the default view only if we are starting our own shell, or if the command-line has no arguments and we are talking to an already existing shell. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Do not return a value. svn path=/trunk/; revision=13611
* gr. save then commit.Dan Winship2001-10-121-3/+4
| | | | svn path=/trunk/; revision=13588
* Remove "display_name" arg from update methods. It was only there to do theDan Winship2001-10-128-30/+33
| | | | | | | | | | | | | | | | | | | | | | | | * Evolution-Storage.idl: Remove "display_name" arg from update methods. It was only there to do the "Inbox (5)" hack, which is supported directly now. * evolution-storage.c (impl_Storage_updateFolder): no longer takes display_name. (evolution_storage_update_folder, evolution_storage_update_folder_by_uri): Likewise. (class_init): Update signal signature. * evolution-storage-listener.c (impl_GNOME_Evolution_StorageListener_notifyFolderUpdated): No longer takes display_name, but make it pass the unread_count along in the signal it emits. (class_init): Update signal signature. * e-local-storage.c (bonobo_interface_update_folder_cb): * e-corba-storage.c (impl_StorageListener_notifyFolderUpdated): No longer take display_name. svn path=/trunk/; revision=13587
* Ooops, remove debugging message.Ettore Perazzoli2001-10-102-2/+5
| | | | | | | * e-storage-set-view.c (handle_evolution_path_drag_motion): Ooops, remove debugging message. svn path=/trunk/; revision=13551
* Make this a no-op if the source and the destination path are the same.Ettore Perazzoli2001-10-104-7/+35
| | | | | | | | | | | | | | * e-storage.c (e_storage_async_xfer_folder): Make this a no-op if the source and the destination path are the same. * e-local-storage.c (impl_async_xfer_folder): return after returning `E_STORAGE_CANTCHANGESTOCKFOLDER' to the callback. * e-storage-set-view.c (handle_evolution_path_drag_motion): Make the check for dragging a folder over itself a little bit more accurate. svn path=/trunk/; revision=13550
* This is a message, not a warning! (command_work_online): This is also aJon Trowbridge2001-10-062-2/+9
| | | | | | | | | | | 2001-10-05 Jon Trowbridge <trow@ximian.com> * e-shell-view-menu.c (command_work_offline): This is a message, not a warning! (command_work_online): This is also a message, not a warning! (I'm feeling very anal today.) svn path=/trunk/; revision=13467
* Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL.Ettore Perazzoli2001-10-062-1/+6
| | | | | | | * main.c (idle_cb): Do not invoke `e_shell_restore_from_settings()' if `shell' is NULL. svn path=/trunk/; revision=13462
* Get the right hpaned positions for when the shortcut bar and/or the folderEttore Perazzoli2001-10-062-2/+14
| | | | | | | | * e-shell-view.c (e_shell_view_save_settings): Get the right hpaned positions for when the shortcut bar and/or the folder bar are visible. svn path=/trunk/; revision=13461
* Handle the return value fromEttore Perazzoli2001-10-062-1/+10
| | | | | | | | | | * e-shell.c (impl_Shell_handleURI): Handle the return value from `evolution_shell_component_client_handle_external_uri()' as an EvolutionShellComponentClientResult instead of treating it as a boolean. This prevents the incorrect NotFound exceptions we were getting for `mailto:' invocations. svn path=/trunk/; revision=13460
* Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least oneEttore Perazzoli2001-10-062-20/+34
| | | | | | | | * main.c (quit_box_new): Also `gdk_flush()'. (idle_cb): If the user doesn't specify at least one `evolution:' URI, restore from the settings. [Fixes #6093.] svn path=/trunk/; revision=13459
* New member `ping_timeout_id' in `EvolutionShellComponentPrivate'.Ettore Perazzoli2001-10-062-3/+77
| | | | | | | | | | | | * evolution-shell-component.c: New member `ping_timeout_id' in `EvolutionShellComponentPrivate'. (setup_owner_pinging): New helper function. (impl_owner_died): Unref the owner and set ->owner_client to %NULL. (impl_setOwner): Don't unref here. (destroy): Remove the source for ->ping_timeout_id if not -1. svn path=/trunk/; revision=13451
* #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on theEttore Perazzoli2001-10-062-0/+13
| | | | | | | | * main.c: #include "e-util/e-gtk-utils.h". (quit_box_new): Queue a draw on the window; otherwise it seems to fail to redraw in some cases for some reason [see #11412]. svn path=/trunk/; revision=13450
* If the owner is dead, emit "owner_died" instead of "owner_unset".Ettore Perazzoli2001-10-063-1/+39
| | | | | | | | | | | * evolution-shell-component.c (impl_setOwner): If the owner is dead, emit "owner_died" instead of "owner_unset". (impl_owner_died): New, default implementation for "owner_died". (class_init): Install it. * evolution-shell-component.h: New signal "owner_died". svn path=/trunk/; revision=13449
* If setting the owner fails, print the a warning message out. Then restartEttore Perazzoli2001-10-0612-24/+274
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell.c (set_owner_on_components): If setting the owner fails, print the a warning message out. Then restart the component. * e-component-registry.c (component_free): Return a boolean value. %FALSE if ::unsetOwner raises an exception. (register_type): New arg @override_duplicate, to avoid complaining if a component gets re-registered. (register_component): Likewise. (e_component_registry_restart_component): New. * e-uri-schema-registry.c (e_uri_schema_registry_set_handler_for_schema): Changed return type to `void'. Just remove the old handler and set up the new one. * evolution-shell-component-client.c (corba_exception_to_result): Translate ::OldOwnerHasDied into EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED. * evolution-shell-component.h: New enum value `EVOLUTION_SHELL_COMPONENT_OLDOWNERHASDIED'. * evolution-shell-component.c (impl_setOwner): If the old owner is not alive anymore [use CORBA_Object_non_existent() to figure this out], emit OWNER_UNSET and raise `OldOwnerHasDied'. (evolution_shell_component_result_to_string): New. * Evolution-ShellComponent.idl: New exception `OldOwnerHasDied'. (ShellComponent::setOwner): Can raise it. * e-folder-type-registry.c (e_folder_type_register_type_registered): New. (e_folder_type_register_unregister_type): New. svn path=/trunk/; revision=13446
* added BONOBO_GNOME_CFLAGS to make it compile with latest BonoboRodrigo Moya2001-10-042-0/+6
| | | | | | | | | 2001-10-04 Rodrigo Moya <rodrigo@ximian.com> * importer/Makefile.am: added BONOBO_GNOME_CFLAGS to make it compile with latest Bonobo svn path=/trunk/; revision=13408
* [Fix #11326, The folder list can become detached from its parentEttore Perazzoli2001-10-032-0/+11
| | | | | | | | | window.] * e-shell-view.c (folder_context_menu_popped_down_cb): Pop down the folder bar if it's popped up. svn path=/trunk/; revision=13346
* Make the crash message less dorky. [#10264]Ettore Perazzoli2001-10-032-3/+9
| | | | | | | * e-shell.c (e_shell_component_maybe_crashed): Make the crash message less dorky. [#10264] svn path=/trunk/; revision=13309
* [Don't allow dragging from a folder to one of its descendants orEttore Perazzoli2001-10-032-2/+36
| | | | | | | | | | | onto itself, when the operation is GDK_DRAG_MOVE. This fixes bugs like #8737.] * e-storage-set-view.c (handle_evolution_path_drag_motion): Don't highlight if the user is attempting to move a folder to one of its descendants. svn path=/trunk/; revision=13307
* Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'.Ettore Perazzoli2001-10-033-2/+23
| | | | | | | | | | | | | | | | | | | | * e-shell-view.c (e_shell_view_construct): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * mail-account-gui.c (launch_signature_editor): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * e-msg-composer.c (setup_ui): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. * gui/dialogs/comp-editor.c (setup_widgets): Use `bonobo_ui_component_new_default()', not `bonobo_ui_component_new()'. svn path=/trunk/; revision=13306
* New, callback for the ::removed_folder signal on the shell's EStorageSet.Ettore Perazzoli2001-10-033-80/+86
| | | | | | | | | | | | | | | | * e-shell-view.c (storage_set_removed_folder_callback): New, callback for the ::removed_folder signal on the shell's EStorageSet. (e_shell_view_construct): Connect. (e_shell_view_remove_control_for_uri): Removed. * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Don't call `e_shell_view_remove_control_for_uri()'. (e_shell_command_delete_folder): Not here either. And don't display the default URI either. svn path=/trunk/; revision=13305
* [Fix #8053, `GNOME_Evolution_Shortcuts' doesn't seem to work.]Ettore Perazzoli2001-09-292-10/+7
| | | | | | | * e-shell.c (e_shell_construct): Don't create the EShortcuts object a second time. svn path=/trunk/; revision=13236
* [Fix #8434, Shortcut bar not shown properly.]Ettore Perazzoli2001-09-292-8/+15
| | | | | | | | | | * e-shell-view.c (e_shell_view_show_shortcut_bar): Set the hpaned_position from the EPaned *before* hiding it -- otherwise, the position will of course always be zero. (e_shell_view_save_settings): Save from ->hpaned_position and ->view_hpaned_position. svn path=/trunk/; revision=13234
* New place to start the intelligent importersIain Holmes2001-09-293-28/+548
| | | | svn path=/trunk/; revision=13230
* Allow callers to set the default type of folder to be created.Iain Holmes2001-09-2911-18/+103
| | | | svn path=/trunk/; revision=13220
* Remove. (command_new_mail_message): Removed. (command_pilot_settings):Ettore Perazzoli2001-09-282-32/+45
| | | | | | | | | * e-shell-view-menu.c (DEFINE_UNIMPLEMENTED): Remove. (command_new_mail_message): Removed. (command_pilot_settings): New. (e_shell_view_menu_setup): Add tools verbs. svn path=/trunk/; revision=13194
* New helper function. (folder_selected_cb): Call it.Ettore Perazzoli2001-09-274-31/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view.c (setup_verb_sensitivity_for_folder): New helper function. (folder_selected_cb): Call it. (folder_context_menu_popping_up_cb): New callback for the "folder_context_menu_popping_up" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the right-clicked folder. (folder_context_menu_popped_down_cb): New, callback for the "folder_context_menu_popped_down" signal on the folder bar's EStorageSetView; set the sensitivities of the verbs according to the currently displayed folder. (e_shell_view_get_folder_bar_right_click_path): Add a cast to placate a warning. * e-storage-set-view.c (class_init): Set up the "folder_context_menu_popping_up" and "folder_context_menu_popped_down" signals. (right_click): Emit "folder_context_menu_popping_up" before popping up the menu, "folder_context_menu_popped_down" after the menu is gone. * e-storage-set-view.h: New signals "folder_context_menu_popping_up" and "folder_context_menu_popped_down". svn path=/trunk/; revision=13171
* Put my name in alphabetical orderRodrigo Moya2001-09-271-1/+1
| | | | svn path=/trunk/; revision=13167
* Added myself to about boxRodrigo Moya2001-09-261-0/+1
| | | | svn path=/trunk/; revision=13147
* Change the name on the EFolder object too.Ettore Perazzoli2001-09-262-2/+10
| | | | | | | * e-shell-folder-commands.c (e_shell_command_rename_folder): Change the name on the EFolder object too. svn path=/trunk/; revision=13134
* [Implemented the "Rename" command. Warning, it doesn't quite workEttore Perazzoli2001-09-265-112/+80
| | | | | | | | | | | | | | | | | | | | | yet, as there seems to be something wrong still.] * e-storage.c (e_storage_async_xfer_folder): Ooops. Make the check for CANTMOVETODESCENDANT really work. * e-storage-set-view.c (tree_drag_data_received): Pass the EStorageSetView as the data for the async_xfer function. (folder_xfer_callback): Display an error dialog if something goes wrong. * e-shell-view-menu.c (command_rename_folder): Enable again. * e-shell-folder-commands.c (e_shell_command_rename_folder): Re-implemented. (delete_dialog): Use double quotes instead of single quotes around the folder name, for consistency with the other dialogs. svn path=/trunk/; revision=13131
* New helper function. (command_move_folder): Pass the @folder_path argumentEttore Perazzoli2001-09-268-109/+190
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-view-menu.c (get_path_for_folder_op): New helper function. (command_move_folder): Pass the @folder_path argument to `e_shell_command_move_folder' by using it. (command_copy_folder): Pass the @folder_path argument to `e_shell_command_copy_folder' by using it. (command_delete_folder): Pass the @folder_path argument to `e_shell_command_delete_folder()' by using it. (command_add_folder_to_shortcut_bar): Pass the @folder_path argument to `e_shell_command_add_to_shortcut_bar()' by using it. (command_create_folder): Pass the @parent_folder_path argument to `e_shell_command_create_new_folder()' by using it. (command_new_folder): Use `get_path_for_folder_op()'. * e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar): New arg @folder_path. (e_shell_command_copy_folder): New arg @folder_path. (e_shell_command_move_folder): New arg @folder_path. (e_shell_command_open_folder_in_other_window): New arg @folder_path. (e_shell_command_create_new_folder): New arg @parent_folder_path. (e_shell_command_delete_folder): New arg @folder_path. * e-shell-view.c (e_shell_view_get_folder_bar_right_click_path): New. * e-storage-set-view.c: New member `right_click_row_path'. (init): Init to NULL. (destroy): Free. (right_click): Set. (popup_folder_menu): Use `gnome_popup_menu_do_popup_modal()' so we are stuck in here until the menu disappears. After that, destroy the menu and call `e_tree_right_click_up()'. (e_storage_set_view_get_right_click_path): New. svn path=/trunk/; revision=13124