* 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
* 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
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
* 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
* 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
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
* evolution-shell-component.c (owner_ping_callback): Slightly
change the debugigng message for when the shell has disappeared.
svn path=/trunk/; revision=14413
* 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
* 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
* 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
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
* 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
* 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
* 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
* e-corba-storage.c
(async_xfer_folder): New, implementation for the
::async_xfer_folder method.
(class_init): Install it.
svn path=/trunk/; revision=14173
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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
* 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