aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-offline-handler.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix the license text to make sense.Ettore Perazzoli2001-10-271-1/+0
| | | | svn path=/trunk/; revision=14192
* Update the licensing information to require version 2 of the GPLEttore Perazzoli2001-10-271-2/+2
| | | | | | explicitly. svn path=/trunk/; revision=14186
* Remove debugging messages. (finalize_offline_hash_foreach): Likewise.Ettore Perazzoli2001-10-271-4/+0
| | | | | | | | * 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-271-4/+25
| | | | | | | | | | | | | | | * 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
* Only invoke `progress_listener_servant_free()', no need to also doEttore Perazzoli2001-10-121-3/+1
| | | | | | | | | | * 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
* [Remove a bunch of debugging messages, as per #7741.]Ettore Perazzoli2001-09-141-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction): Removed debugging messages. * e-storage-set.c (storage_removed_folder_cb): Removed debugging message. * e-storage-set-view.c (tree_drag_begin): Removed debugging message. (tree_drag_data_received): Removed debugging messages. * e-shortcuts.c (idle_cb): Removed debugging message. * e-shortcuts-view-model.c (get_icon_for_item): Removed debugging message. * e-shell.c (setup_components): Removed debugging message. * e-shell-startup-wizard.c (druid_event_notify_cb): Removed debugging message. (e_shell_startup_wizard_create): Removed debugging message. * e-shell-offline-handler.c (finalize_offline_hash_foreach): Removed debugging message. * e-shell-importer.c (start_import): Removed debugging message. (item_selected): Same here. * e-local-storage.c (async_xfer_folder_step): Removed debugging message. * e-corba-storage.c (impl_StorageListener_notifyFolderCreated): Changed the error from a g_print() into a g_warning(). Removed debugging message. * e-corba-storage-registry.c (impl_StorageRegistry_addStorage): Removed debugging message. (impl_StorageRegistry_removeStorageByName): Likewise. * e-component-registry.c (component_free): Removed debugging message. (register_component): Don't printf() about the registered folder type. (register_component): Don't printf() about the registered schema type. svn path=/trunk/; revision=12811
* Purify run. All small leaks.Dan Winship2001-09-101-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-shell-folder-commands.c (folder_selection_dialog_folder_selected_callback): Free the folder_command_data when destroying the dialog. * e-local-storage.c (remove_folder): Free physical_uri if we allocated it. * e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref the popup menu, don't destroy it. (destroy_group_cb): Free the question string. (rename_group_cb): Free the new_name. * e-shell-importer.c (create_plugin_menu): Free the list of importers. (get_iid_for_filetype): Likewise. (import_druid_finish): #ifdef out some g_strdups that are only used by other #ifdef'ed-out code. * e-shell-view.c: Make sure the keys in the uri_to_view hash get freed. * e-shell-folder-title-bar.c (set_title_bar_label_style): Unref the style after setting it on the widget. * e-shell-offline-handler.c (impl_destroy): free priv. * e-storage-set-view.c (tree_drag_data_received): Make sure target_type always gets freed. * e-shell-folder-creation-dialog.c (add_folder_types): Don't leak the type names. svn path=/trunk/; revision=12715
* Actually __fini the servant and deactivate the object too.Ettore Perazzoli2001-08-031-8/+13
| | | | | | | | | * e-shell-offline-handler.c (progress_listener_servant_free): Actually __fini the servant and deactivate the object too. (component_info_free): Updated accordingly [i.e. don't do the deactivation stuff here]. svn path=/trunk/; revision=11607
* Also call `PortableServer_POA_deactivate_object()' on the progressEttore Perazzoli2001-08-031-1/+6
| | | | | | | | * e-shell-offline-handler.c (component_info_free): Also call `PortableServer_POA_deactivate_object()' on the progress listener object so it gets deactivated. svn path=/trunk/; revision=11605
* Ref/unref the handler so the signal handlers can unref it safely. Also, ifEttore Perazzoli2001-07-031-1/+9
| | | | | | | | | | | | | | | | | * e-shell-offline-handler.c (e_shell_offline_handler_put_components_offline): Ref/unref the handler so the signal handlers can unref it safely. Also, if `prepare_for_offline()' fails, don't say that there was an internal error, as that's confusing. Just say we couldn't put the components off-line. [Fix #3758, clicking on the online/offline button crashed Evolution.] * Evolution-Offline.idl: Don't derive OfflineProgressListener from Bonobo::Unknown. svn path=/trunk/; revision=10742
* Fix a free of non-malloc'ed memory introduced by my last change.Dan Winship2001-05-081-2/+0
| | | | | | | * e-shell-offline-handler.c (update_dialog_clist_hash_foreach): Fix a free of non-malloc'ed memory introduced by my last change. svn path=/trunk/; revision=9702
* Use type instead of portNumber.Dan Winship2001-05-051-4/+4
| | | | | | | | | | | | | * e-shell-offline-handler.c (update_dialog_clist_hash_foreach, (duplicate_connection_list): Use type instead of portNumber. (e_shell_offline_handler_put_components_offline): Fix the logic of when to show the connection dialog here. (Show it when there *are* connections, not when there aren't.) * Evolution-Offline.idl: Have a "string type" instead of "short portNumber" in Connection. svn path=/trunk/; revision=9676
* Remove a line of code that caused the offline confirmation dialog toEttore Perazzoli2001-05-051-3/+0
| | | | | | | be popped up even if no connections were active (it was there for testing purposes only). svn path=/trunk/; revision=9675
* Complete the shell side for supporting off-line operations, gettingEttore Perazzoli2001-05-041-4/+4
| | | | | | | the dialog to fully work and the menu item to change its label according to the current status of the line. svn path=/trunk/; revision=9662
* Initial implementation for the "warning, some connections are stillEttore Perazzoli2001-05-041-4/+170
| | | | | | active" dialog. svn path=/trunk/; revision=9661
* Make the `EShellOfflineHandler' object non-floating in the constructEttore Perazzoli2001-05-031-0/+2
| | | | | | method. svn path=/trunk/; revision=9655
* Add interfaces to the shell to handle off-line operation, as well as aEttore Perazzoli2001-05-031-0/+646
first (unfinished/untested) implementation for them. svn path=/trunk/; revision=9653