aboutsummaryrefslogtreecommitdiffstats
path: root/shell/evolution-activity-client.c
Commit message (Collapse)AuthorAgeFilesLines
* This commit was manufactured by cvs2svn to create tagGNOME_SPELL_0_3nobody2001-09-171-495/+0
| | | | | | 'GNOME_SPELL_0_3'. svn path=/tags/GNOME_SPELL_0_3/; revision=12879
* Allow a value of -1.0 for @progress [which means "unknown progress"].Ettore Perazzoli2001-09-071-1/+1
| | | | | | | | * evolution-activity-client.c (evolution_activity_client_update): Allow a value of -1.0 for @progress [which means "unknown progress"]. svn path=/trunk/; revision=12659
* Studlycapsize all the IDs that are not. Likewise. Updated accordingly.Ettore Perazzoli2001-08-281-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Evolution-ShellComponent.idl: Studlycapsize all the IDs that are not. * Evolution-common.idl: Likewise. * evolution-activity-client.c: Updated accordingly. * evolution-shell-component.c: Likewise. * evolution-storage.c: Likewise. * e-activity-handler.c: Likewise. * e-component-registry.c: Likewise. * e-corba-storage.c: Likewise. * e-shell-user-creatable-items-handlers.c: Likewise. * e-local-storage.c (remove_folder): Remove unused variable. * e-shell-view.c (update_for_current_uri): Assign zero to `unread_count', not NULL. * e-shell-importer.c (import_druid_finish): Remove unused variable. * e-shell-user-creatable-items-handler.c: #include "e-corba-utils.h". * e-shell-startup-wizard.c: #include "e-shell-startup-wizard.h". * e-shell-startup-wizard.h: #include <glib.h> * e-summary-weather.c (weather_make_html): Make local variable `icon_name' const. Remove unused variable `uri'. * e-summary.h: Reformatted in GTK+ style. (e_summary_remove_online_connection): Added prototype. * e-summary-preferences.c (fill_mail_shown_clist): Constify local variable `name'. * e-summary-mail.c: #include "e-util/e-path.h". Updated to match the new studlyCapsification in shell/Evolution*.idl. * mail-local.c: Match the studlyCapsification of shell/Evolution*.idl. * mail-config-druid.h: Change type of `event_source' from `Bonobo_EventSource *' to `Bonobo_EventSource'. * mail-accounts.c (mail_delete): Remove unused local variable `label'. * folder-info.c (do_get_info): `#if 0' unused variables. * gui/component/addressbook-component.c: Get rid of a warning by initializing the closing NULL element in folder_types correctly. * gui/component/select-names/e-select-names.c: Updated to match the studlyCapsification of attributes in shell/Evolution*.idl. svn path=/trunk/; revision=12495
* 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