Commit Graph

10 Commits

Author SHA1 Message Date
92ef30b420 Actually __fini the servant and deactivate the object too.
* 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
2001-08-03 08:50:33 +00:00
384fbf44ff Also call `PortableServer_POA_deactivate_object()' on the progress
* 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
2001-08-03 06:21:07 +00:00
9786eb1d7a Ref/unref the handler so the signal handlers can unref it safely. Also, if
* 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
2001-07-03 12:24:29 +00:00
fe1de979a2 Fix a free of non-malloc'ed memory introduced by my last change.
* 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
2001-05-07 21:47:20 +00:00
5eb2d61037 Use type instead of portNumber.
* 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
2001-05-04 17:59:35 +00:00
7e617f37b8 Remove a line of code that caused the offline confirmation dialog to
be popped up even if no connections were active (it was there for
testing purposes only).

svn path=/trunk/; revision=9675
2001-05-04 17:11:44 +00:00
be2f9a67f6 Complete the shell side for supporting off-line operations, getting
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
2001-05-04 02:47:33 +00:00
7cfacb2f84 Initial implementation for the "warning, some connections are still
active" dialog.

svn path=/trunk/; revision=9661
2001-05-03 23:03:18 +00:00
9a904c937f Make the `EShellOfflineHandler' object non-floating in the construct
method.

svn path=/trunk/; revision=9655
2001-05-03 12:18:43 +00:00
483ebae539 Add interfaces to the shell to handle off-line operation, as well as a
first (unfinished/untested) implementation for them.

svn path=/trunk/; revision=9653
2001-05-03 01:10:46 +00:00