aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-activity-client.c
Commit message (Collapse)AuthorAgeFilesLines
* Set the release flag on the returned folder type list too.Ettore Perazzoli2001-08-081-1/+1
| | | | | | | | | | | * evolution-shell-component.c (impl_ShellComponent__get_supported_types): Set the release flag on the returned folder type list too. * evolution-activity-client.c (create_icon_from_pixbuf): Set the release flag on the sequence, not the struct that contains it. svn path=/trunk/; revision=11779
* Small stylistical/aesthetical fix.Ettore Perazzoli2001-08-081-2/+2
| | | | svn path=/trunk/; revision=11770
* Set the release flag on the returned icon to %TRUE.Ettore Perazzoli2001-08-081-0/+2
| | | | | | | * evolution-activity-client.c (create_icon_from_pixbuf): Set the release flag on the returned icon to %TRUE. svn path=/trunk/; revision=11764
* Free the CORBA version of the animated icon.Ettore Perazzoli2001-08-081-1/+7
| | | | | | | | * evolution-activity-client.c (evolution_activity_client_construct): Free the CORBA version of the animated icon. svn path=/trunk/; revision=11731
* Unref the listener when done.Not Zed2001-08-071-0/+3
| | | | | | | | | 2001-08-07 Not Zed <NotZed@Ximian.com> * evolution-activity-client.c (impl_destroy): Unref the listener when done. svn path=/trunk/; revision=11725
* Added some comments about the possible race condition issues with theEttore Perazzoli2001-07-311-26/+9
| | | | | | | invocation of the CORBA call in `evolution_activity_client_update()' and killed some debugging messages. svn path=/trunk/; revision=11500
* Also update have_pending_update before calling corba, as below.Not Zed2001-07-311-2/+1
| | | | | | | | | 2001-07-31 Not Zed <NotZed@Ximian.com> * evolution-activity-client.c (evolution_activity_client_update): Also update have_pending_update before calling corba, as below. svn path=/trunk/; revision=11499
* [This should fix #5110, shell crash when switching folders.]Ettore Perazzoli2001-07-311-5/+5
| | | | | | | | | * evolution-activity-client.c (update_timeout_callback): Set the `have_pending_update' flag before doing the CORBA call. (evolution_activity_client_update): Set the timeout before doing the CORBA call. svn path=/trunk/; revision=11498
* Remove the source for the timeout *before* invoking the CORBA method, asEttore Perazzoli2001-07-281-7/+30
| | | | | | | | | | | | | | | * evolution-activity-client.c (impl_destroy): Remove the source for the timeout *before* invoking the CORBA method, as we might get the timeout callback while invoking the CORBA method, thus screwing things up. * evolution-shell-component-client.c (destroy_listener_interface): New helper function. (dispatch_callback): Use it. (impl_destroy): Call it when destroying the listener interface instead of just freeing the servant. svn path=/trunk/; revision=11452
* Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we areEttore Perazzoli2001-07-221-1/+3
| | | | | | | | | | | | * evolution-activity-client.c (impl_destroy): Use `g_source_remove()' instead of `gtk_timeout_remove()' here, as we are using `g_timeout_add()' and not `gtk_timeout_add()' to set up the timeout callback. (update_timeout_callback): Reset `have_pending_update' when returning %TRUE. Set the timeout id to zero when returning %FALSE. svn path=/trunk/; revision=11295
* Don't assert that there is a handler, so we don't crash if user clicks onEttore Perazzoli2001-07-031-9/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * e-storage-set-view.c (popup_folder_menu): Don't assert that there is a handler, so we don't crash if user clicks on a folder whose type we cannot handle for some reason [such as an uninstalled component]. * evolution-test-component.c (activity_client_cancel_callback): New callback for the "cancel" signal on the EvolutionActivityClient object. (activity_client_show_details_callback): New callback for the "show_details" signal. (timeout_callback_1): Connect these two signal handlers. * e-activity-handler.c (task_widget_button_press_event_callback): Ahem, right-click is button 3, not button 2. (show_cancellation_popup): Actually pop up the menu. (get_corba_null_value): New helper function to create a CORBA_any null value. (report_task_event): New helper function to report events to the listener. (task_widget_cancel_callback): Use it. Report "Cancel" instead of "Cancelled". (task_widget_show_details_callback): New, callback for the "Show Details" right-click menu item. * evolution-activity-client.c: Updated to dispatch the "Cancel" and "ShowDetails" events as "cancel" and "show_details" signals. (class_init): Install the signals. (listener_callback): Updated to update the signals corresponding to the "ShowDetails" and "Cancel" events. * Evolution-Activity.idl: Changed the docs about the events sent to the Bonobo::Listener. We now only have "ShowDetails" and "Cancelled". * evolution-test-component.c (timeout_callback_1): Make the activity cancellable so we can test the right-click cancel menu too. * main.c (idle_cb): Actually exit if we cannot reach to the shell. svn path=/trunk/; revision=10684
* Actually implement the "clicked" signal for the EActivityHandler, andEttore Perazzoli2001-06-251-12/+17
| | | | | | add some small testing code for it in the test component. svn path=/trunk/; revision=10464
* Added an EvolutionActivityClient object to libeshell, to handleEttore Perazzoli2001-06-241-0/+460
updating of progress information from the component's side. This object allows to automatically set a lower limit to the delay between CORBA calls towards the shell, so that the component isn't slowed down too much by doing too frequent updates. Also changed the test component to use this instead of doing CORBA calls directly. svn path=/trunk/; revision=10449