Commit Graph

955 Commits

Author SHA1 Message Date
895bbf9611 If the source folder is stock and the operation is GDK_ACTION_MOVE, always
* 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
2001-10-31 16:59:43 +00:00
641ac2a168 Removed. (show_existing_view): Don't call it.
* e-shell-view.c (bonobo_widget_is_dead): Removed.
(show_existing_view): Don't call it.

svn path=/trunk/; revision=14494
2001-10-30 22:48:22 +00:00
47843d5fe0 New utility function. (sleep_with_g_main_loop_timeout_callback): Callback
* 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 22:29:08 +00:00
ac29afba0d Removed. (idle_cb): Don't call it. (warning_dialog_clicked_callback):
* main.c (development_warning): Removed.
(idle_cb): Don't call it.
(warning_dialog_clicked_callback): Removed.

svn path=/trunk/; revision=14490
2001-10-30 22:16:43 +00:00
43f8a506b6 If the display uri is NULL, set the view to the default.
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
2001-10-30 22:15:05 +00:00
54ea765e75 Duplicate the owner before pinging it. Fixes #13802.
* evolution-shell-component.c (owner_ping_callback): Duplicate the
owner before pinging it.  Fixes #13802.

svn path=/trunk/; revision=14488
2001-10-30 22:11:08 +00:00
8ab23573e7 New. (class_init): Install it. (impl_unsetOwner): Just emit the
* 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
2001-10-30 21:57:15 +00:00
d42a48e07c Connect to the "removed_folder" signal with
* 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 20:34:49 +00:00
0
31939ff347 If we're not at the end of the druid list, tell the druid we're going to
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
2001-10-30 11:11:22 +00:00
d6d55273d4 Require gal 0.15.99.8
2001-10-29  Joe Shaw  <joe@ximian.com>

	* configure.in: Require gal 0.15.99.8

	* addressbook/backend/ebook/e-card-simple.c,
	addressbook/gui/component/addressbook-storage.c,
	addressbook/gui/widgets/e-addressbook-view.c,
	calendar/gui/e-calendar-table.c,
	calendar/gui/e-itip-control.c,
	calendar/gui/e-meeting-model.c,
	calendar/gui/itip-utils.c,
	calendar/gui/print.c,
	calendar/gui/alarm-notify/alarm-notify-dialog.c,
	filter/rule-editor.c,
	mail/mail-config.c,
	mail/mail-folder-cache.c,
	mail/mail-format.c,
	mail/mail-local.c,
	mail/mail-ops.c,
	mail/mail-vfolder.c,
	shell/e-local-storage.c,
	shell/e-summary-storage.c: Change includes of
	e-util/e-unicode-i18n.h to gal/util/e-unicode-i18n.h

svn path=/trunk/; revision=14427
2001-10-30 05:02:49 +00:00
2d8615531c Slightly change the debugigng message for when the shell has disappeared.
* evolution-shell-component.c (owner_ping_callback): Slightly
change the debugigng message for when the shell has disappeared.

svn path=/trunk/; revision=14413
2001-10-30 03:35:29 +00:00
b11817f3a8 Remove ping debugging messages.
* evolution-shell-component.c (owner_ping_callback): Remove
ping debugging messages.

svn path=/trunk/; revision=14408
2001-10-30 03:05:19 +00:00
17c21c849e Remove debugging message.
* e-shell.c (set_interactive): Remove debugging message.

svn path=/trunk/; revision=14403
2001-10-30 02:36:53 +00:00
a051510f6f use libical-evolution.la
2001-10-29  Damon Chaplin  <damon@ximian.com>

	* Makefile.am (evolution_LDADD): use libical-evolution.la

svn path=/trunk/; revision=14399
2001-10-30 01:50:37 +00:00
5054beec45 Ref the shell. (destroy): Unref the shell. (destroy): Free the
* 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
2001-10-29 08:07:23 +00:00
fa6339027d Call `cleanup_delayed_selection()' as there is a slight chance that the
* 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
2001-10-29 04:08:03 +00:00
815ed53e5a Don't do the `gtk_signal_disconnect_by_func()' as it's already done in
* 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 03:32:26 +00:00
9
3b397a352f Set the return type of the signal handlers to GTK_TYPE_NONE.
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
2001-10-29 01:57:47 +00:00
a2f5e5b0f4 [The following should fix #13802, crash on exit.]
* 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
2001-10-28 22:30:59 +00:00
2fb3703a51 Distribute credit equally.
2001-10-28  Jon Trowbridge  <trow@ximian.com>

	* e-shell-about-box.c: Distribute credit equally.

svn path=/trunk/; revision=14280
2001-10-28 05:54:51 +00:00
08fb7329cb Fixing the license text.
svn path=/trunk/; revision=14212
2001-10-27 16:59:46 +00:00
7
128d15489f We want XFER_FOLDER not REMOVE_FOLDER!
2001-10-27    <NotZed@Ximian.com>

        * evolution-storage.c (impl_Storage_async_xfer_folder): We want
        XFER_FOLDER not REMOVE_FOLDER!

svn path=/trunk/; revision=14193
2001-10-27 01:35:45 +00:00
a40ab7c842 Fix the license text to make sense.
svn path=/trunk/; revision=14192
2001-10-27 01:09:28 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
067aaf149e Update the licensing information to require version 2 of the GPL
explicitly.

svn path=/trunk/; revision=14186
2001-10-26 23:53:35 +00:00
a590fb65bf Remove debugging messages. (finalize_offline_hash_foreach): Likewise.
* e-shell-offline-handler.c (prepare_for_offline): Remove
debugging messages.
(finalize_offline_hash_foreach): Likewise.

svn path=/trunk/; revision=14184
2001-10-26 23:42:48 +00:00
c944779866 New member finished' in EShellOfflineHandlerPrivate'.
* 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
2001-10-26 23:14:46 +00:00
a8dc6d1f7c Implement. (class_init): Add the signal "xfer_folder" signal.
* 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
2001-10-26 22:41:11 +00:00
c26da3acf5 New, implementation for the ::async_xfer_folder method. (class_init):
* e-corba-storage.c
(async_xfer_folder): New, implementation for the
::async_xfer_folder method.
(class_init): Install it.

svn path=/trunk/; revision=14173
2001-10-26 21:51:43 +00:00
82a4a84c7a Set ->is_initialized to %FALSE. (e_shell_unregister_all): Same here.
* e-shell.c (destroy): Set ->is_initialized to %FALSE.
(e_shell_unregister_all): Same here.

svn path=/trunk/; revision=14170
2001-10-26 21:00:36 +00:00
f96780abd4 gtk_widget_show_now() the dialog. Likewise.
* e-shell-importer.c (prepare_intelligent_page):
gtk_widget_show_now() the dialog.
* e-shell-startup-wizard.c (prepare_importer_page): Likewise.

svn path=/trunk/; revision=14167
2001-10-26 20:17:07 +00:00
87f96121fc Use gtk_widget_show_now() so the stupid dialog hopefully displays all the
* main.c (quit_box_new): Use gtk_widget_show_now() so the stupid
dialog hopefully displays all the time.

svn path=/trunk/; revision=14166
2001-10-26 20:14:08 +00:00
16f5a6ab61 Clear the folder bar label to be empty. [#12553]
* e-shell-view.c (set_current_notebook_page): Clear the folder bar
label to be empty.  [#12553]

svn path=/trunk/; revision=14163
2001-10-26 19:16:08 +00:00
0aa7075d81 Draw one more line.
* e-shell-about-box.c (timeout_callback): Draw one more line.

svn path=/trunk/; revision=14161
2001-10-26 19:06:40 +00:00
df3757dada Set the GtkWindow policy so that @allow_shrink, @allow_grow and
* 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
2001-10-26 18:44:11 +00:00
12333f4dff Don't allow invalid folder names. [#12027]
* e-shell-folder-commands.c (e_shell_command_rename_folder): Don't
allow invalid folder names.  [#12027]

* e-shell-folder-creation-dialog.c (entry_name_is_valid): Removed.
(dialog_clicked_cb): Use `e_shell_folder_name_is_valid()' instead.

* e-shell-utils.c (e_shell_folder_name_is_valid): New.  Sorry I18N
people, it breaks the string freeze slighty.

* e-component-registry.c (component_free): Add a cast.
(e_component_registry_restart_component): Argh, use the
corba_objref properly in calling `wait_for_corba_object_to_die()'.

svn path=/trunk/; revision=14152
2001-10-26 18:21:57 +00:00
966680aa9f Add accelerators for "Work Offline" and "Work Online".
* e-shell-view-menu.c (update_offline_menu_item): Add accelerators
for "Work Offline" and "Work Online".

svn path=/trunk/; revision=14119
2001-10-26 01:15:22 +00:00
b6df48bee7 Don't allow translators to translate "Ximian Evolution".
* e-shell-view.c (update_for_current_uri): Don't allow translators
to translate "Ximian Evolution".

svn path=/trunk/; revision=14116
2001-10-26 00:46:30 +00:00
79c7cb13de New helper function. (e_component_registry_restart_component): Use it.
* 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
2001-10-25 23:37:32 +00:00
fb5bec84e9 Handle failure from XGetClassHint properly. Also, free res_name and
* 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
2001-10-25 22:28:13 +00:00
54433d0888 Don't display an icon for storages that have subfolders.
* e-storage-set-view.c (etree_icon_at): Don't display an icon for
storages that have subfolders.

svn path=/trunk/; revision=14102
2001-10-25 21:55:39 +00:00
7e6933926a #include "e-util/e-gtk-utils.h".
* e-shell-importer.c: #include "e-util/e-gtk-utils.h".

* e-shell-folder-creation-dialog.c
(e_shell_show_folder_creation_dialog): Constify a local variable
to placate a warning.

* e-activity-handler.c (task_widget_cancel_callback): #if 0'ed
out.

* evolution-shell-component-client.c
(evolution_shell_component_client_new): Remove unused variable
`ior'.

svn path=/trunk/; revision=14100
2001-10-25 21:19:01 +00:00
4f0f5db2c0 Set ->priv to NULL. (impl_operationStarted): Check for priv not being
* 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
2001-10-25 21:08:35 +00:00
3644ccebcc Set the ->mailer to be CORBA_OBJECT_NIL in case of an exception, otherwise
* 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
2001-10-25 18:31:57 +00:00
06a3557507 Don't use __FUNCTION__. (evolution_wizard_set_show_finish): Likewise.
* 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
2001-10-25 18:25:17 +00:00
6e1b3c2bd8 Add a few names to the box.
* e-shell-about-box.c: Add a few names to the box.

svn path=/trunk/; revision=14083
2001-10-25 01:18:51 +00:00
bcd57ec7f9 g_return_if_fail if the display_name is NULL. "Fixes" 11182 although there
* 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
2001-10-25 00:26:45 +00:00
7a2d1a768b Set the WMClass of the quit dialog to be different from the default one in
* 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
2001-10-24 23:39:41 +00:00
bb7d2c4499 New. (async_xfer_folder_callback): Use it so we get the right error
* 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
2001-10-24 20:44:31 +00:00
abb1c1895a Get the path and the shell view instead. (rename_callback_data_free):
* 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
2001-10-24 00:24:21 +00:00