2002-12-05 Chris Toshok <toshok@ximian.com>
* e-shell-config-default-folders.c: use "contacts",
"contacts/ldap" as the accepted contacts types, so it'll allow
both normal and ldap contact folders.
svn path=/trunk/; revision=19037
2002-11-27 Not Zed <NotZed@Ximian.com>
* main.c (show_development_warning): changed to use a gtkdialog
instead of a gnome one.
(warning_dialog_response_callback): clicked->response.
* e-shell-folder-selection-dialog.c: Include gtk/gtkstock.h
* e-shell-folder-creation-dialog.c: include gnome-dialog.h
(dialog_response_cb): gtk_entry_get_text now returns const. Dont
free result.
* e-setup.c: include gnome-messagebox.h
* *.c: (re)run fix.sh over all, for e_notice changes & pick up
some deprecated functions.
* e-shell-shared-folder-picker-dialog.c
(shared_folder_discovery_callback): reformat e_notice call for
script.
* e-shell-offline-sync.c
(impl_SyncFolderProgressListener_reportFailure): Fix e_notice
call, we weren't passing type in.
* e-shell-folder-commands.c (xfer_result_callback): changed around
slightly to save some processing & allow a script to run.
(e_shell_command_rename_folder): reformat e_notice call to help script.
Include gnome-messagebox.h
svn path=/trunk/; revision=18977
* e-shell-settings-dialog.c (page_new): e_get_language_list now
returns language codes that actually work with oaf, making the
_()s here redundant.
* e-component-info.c (get_i18n_value): Remove code to turn "fr_FR"
into "fr", since e_get_language_list will return both now.
svn path=/trunk/; revision=18928
* evolution-storage-set-view.c
(impl_StorageSetView__set_checkedFolders): Updated to pass a
GSList to e_storage_set_view_set_checkboxes_list() [instead of a
GList].
(impl_StorageSetView__get_checkedFolders): Likewise with the
return value from e_storage_set_view_get_checkboxes_list().
* e-shell-config-offline.c (config_control_apply_callback): Filled
in, using GConf.
(init_storage_set_view_status_from_config): Likewise.
* e-storage-set-view.c (e_storage_set_view_get_checkboxes_list):
Return a GSList instead of a GList.
(essv_add_to_list): Update for the GSList.
(e_storage_set_view_set_checkboxes_list): Get a GSList instead of
a GList.
* apps_evolution_shell.schemas: Added
/schemas/apps/evolution/shell/offline/folder_paths.
svn path=/trunk/; revision=18912
calling e_shell_create_view(). Also initialize displayed_any to
FALSE earlier so we dont' end up opening two views at startup by
default.
svn path=/trunk/; revision=18870
2002-11-20 Not Zed <NotZed@Ximian.com>
* e-shell-importer.c (prepare_intelligent_page): gnome message box
-> gtk message dialog.
(prepare_intelligent_page): Fix the signature on this. This could
NEVER have worked.
svn path=/trunk/; revision=18856
* main.c (upgrade_from_1_0_if_needed): Disabled for now.
* e-shell-startup-wizard.c: Removed member config_listener from
struct SWData.
(e_shell_startup_wizard_create): Updated accordingly, just use
GConf, checking the /apps/evolution/mail/account-list key.
(finish_func): Use GConf.
* e-shell-config-default-folders.c: Removed member config_listener
in struct EvolutionDefaultFolderConfig.
(e_shell_config_default_folders_create_widget): Do not initialize
here. GConfified the paths.
(config_control_destroy_notify): No unref of the config_listener
anymore.
(config_control_apply_cb): Use GConf.
(setup_folder_selector): Likewise.
* e-shell-config-autocompletion.c: Removed member config_listener
from EvolutionAutocompletionConfig.
(config_control_destroy_notify): Do not unref.
(config_control_apply_callback): Use a GConfClient.
* e-folder-list.c (e_folder_list_init): Add missing cast.
* main.c (show_development_warning): Use GConf.
* e-setup.c (e_setup_check_config): Removed arg @listener.
GConfified.
* e-shell-view.c (e_shell_view_save_defaults): New.
(e_shell_view_save_settings): Removed.
(e_shell_view_load_settings): Removed.
(setup_defaults): New helper function.
(e_shell_view_construct): New arg @uri.
(e_shell_view_new): New arg @uri.
* e-shell.c: Removed member config_listener in struct
EShellPrivate.
(impl_dispose): Do not unref.
(init): Do not initialize.
(get_config_start_offline): New helper function.
(e_shell_construct): Use this to get the startup mode in case
E_SHELL_STARTUP_LINE_MODE_CONFIG.
(save_misc_settings): Changed to use GConfClient instead of
EConfigListener.
(e_shell_create_view_from_settings): Removed.
(e_shell_restore_from_settings): Removed.
(e_shell_get_config_listener): Removed.
(e_shell_disconnect_db): Removed.
(parse_default_uri): Use GConf.
* main.c (idle_cb): Simplified the logic here. Always assume that
the view will be created with the default folder open by just
using e_shell_create_view().
svn path=/trunk/; revision=18844
2002-11-19 Not Zed <NotZed@Ximian.com>
* e-shell-shared-folder-picker-dialog.c (show_dialog): Pass type
to bonobo_widget::set_property.
svn path=/trunk/; revision=18838
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-folder-list.c (e_folder_list_init): force the scrolled table
to be shown, apparently a bug in libglade2.
* e-shell-config-default-folders.c (setup_folder_selector): same,
but with the evolution-folder-selector-button's.
svn path=/trunk/; revision=18810
2002-11-16 Chris Toshok <toshok@ximian.com>
* e-shell-settings-dialog.c (load_pages): init the corba exception
before loading each config page, so previous errors don't make
subsequence pages to fail to load.
svn path=/trunk/; revision=18809
* Makefile.am: Added rule to generate
GNOME_Evolution_Shell.server.in from
GNOME_Evolution_Shell.server.in.in, substituting @BINDIR@.
* GNOME_Evolution_Shell.server.in.in: Renamed from
GNOME_Evolution_Shell.server.in. Prepend @BINDIR@ to the location
of the executable.
svn path=/trunk/; revision=18792
* e-activity-handler.c (impl_operationStarted): No need to check
for priv being NULL here anymore.
(impl_operationProgressing): Likewise.
(impl_operationFinished): Likewise.
(impl_requestDialog): Likewise.
* evolution-folder-selector-button.c (clicked): Use
g_object_add_weak_pointer() on the parent_window instead of using
GTK_OBJECT_DESTROYED().
svn path=/trunk/; revision=18782
* e-shell-user-creatable-items-handler.c,
* e-shell-user-creatable-items-handler.c: Changed into a GObject
subclass instead of a GtkObject subclass.
* e-component-registry.c,
* e-component-registri.h: Changed into a GObject subclass instead
of a GtkObject subclass.
* evolution-shell-view.c (impl_ShellView_set_message): Remove
bogus GTK_OBJECT() cast in call to g_signal_emit().
(impl_ShellView_unset_message): Likewise.
(impl_ShellView_change_current_view): Likewise.
(impl_ShellView_set_title): Likewise.
svn path=/trunk/; revision=18769
* e-shell-view.c (init): Ref/sink the GtkTooltips.
* e-uri-schema-registry.c (schema_handler_free): g_object_unref()
on the component instead of bonobo_object_unref().
svn path=/trunk/; revision=18765
* main.c (no_views_left_cb): Use bonobo_main_quit() instead of
gtk_main_quit().
(shell_weak_notify): Likewise.
(idle_cb): Likewise.
* e-shell.c (notify_no_views_left_idle_cb): New idle function to
emit the "no_views_left" signal.
(view_weak_notify): Put it on the idle loop instead of firing the
signal here.
* e-task-widget.c (e_task_widget_construct): Ref/sink the
GtkTooltips object.
svn path=/trunk/; revision=18763
* evolution-shell-component-client.c (destroy_listener_interface):
Avoid freeing the servant for now, it looks like something is
messed up and this causes a crash on exit.
* evolution-storage-set-view-listener.c (impl_finalize): Do not
invoke POA_GNOME_Evolution_StorageSetViewListener__fini().
* evolution-storage-listener.c (impl_finalize): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().
* e-shell-offline-sync.c (progress_listener_servant_free): Do not
invoke POA_GNOME_Evolution_SyncFolderProgressListener__fini().
* e-shell-offline-handler.c (progress_listener_servant_free): Do
not invoke POA_GNOME_Evolution_OfflineProgressListener__fini().
* e-corba-storage.c (impl_dispose): Do not invoke
POA_GNOME_Evolution_StorageListener__fini().
* evolution-shell-component-client.c (destroy_listener_interface):
Do not invoke POA_GNOME_Evolution_ShellComponentListener__fini().
svn path=/trunk/; revision=18759
* main.c (quit_box_destroyed_callback): Removed.
(no_views_left_cb): Use g_object_add_weak_pointer() instad of
connecting to the "destroy" signal.
(destroy_cb): Removed.
(shell_weak_notify): New.
(idle_cb): Use g_object_weak_ref() on the shell object instead of
connecting to the "destroy" signal.
* evolution-test-component.c (dialog_destroy_callback): Removed.
(dialog_weak_notify): New.
(create_new_folder_selector): Use g_object_weak_ref() on the
dialog instead of connecting the "destroy" signal.
* e-shortcuts.c (view_destroyed_cb): Removed.
(view_weak_notify): New.
(e_shortcuts_new_view): g_object_weak_ref() the new view instead
of connecting the "destroy" signal.
(impl_dispose): Free the ->views and g_object_weak_unref() all the
items.
* e-shell.c (view_destroy_cb): Removed.
(view_weak_notify): New.
(create_view): Use g_object_weak_ref() on the newly created view
instead of connecting to the "destroy" signal.
(impl_dispose): g_object_weak_unref() the views.
(e_shell_show_settings): Use g_object_add_weak_pointer() on the
settings_dialog instead of connecting to the "destroy" signal.
(settings_dialog_destroy_cb): Removed.
* e-shell-shared-folder-picker-dialog.c
(progress_bar_weak_notify): New.
(progress_bar_destroy_callback): Removed.
(create_progress_dialog): Use g_object_weak_ref() on the progress
bar object instead of connecting to its "destroy" signal.
(shell_destroy_callback): Removed.
(shell_view_destroy_callback): Removed.
(storage_destroy_callback): Removed.
(shell_weak_notify): New.
(shell_view_weak_notify): New.
(storage_weak_notify): New.
(discover_folder): Use g_object_weak_ref() on the shell, parent,
storage objects instead of connecting to their "destroy" signals.
* e-shell-importer.c: Removed member destroyed from
ImporterComponentData.
(import_cb): Instead of checking if ->destroyed is TRUE, check if
->dialog is NULL to decide whether the dialog has been destroyed
or not.
(dialog_destroy_cb): Removed.
(start_import): Use g_object_weak_ref() on the dialog object
instead of connecting to its "destroy" signal.
(dialog_close): Removed.
(dialog_weak_notify): New.
(show_import_wizard): Use g_object_weak_ref() on the dialog object
instead of connecting to its "destroy" signal.
(import_druid_destroy): New.
(import_druid_weak_notify): New.
(show_import_wizard): Use g_object_weak_ref() on the druid object
instead of connecting to its "destroy" signal.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): g_object_weak_ref()
the shell object instead of connecting to its "destroy" signal.
* e-shell-folder-creation-dialog.c (dialog_destroy_cb): Removed.
(dialog_destroy_notify): New.
(e_shell_show_folder_creation_dialog): g_object_weak_ref() the
dialog instead of connecting to its "destroy" signal.
(shell_destroy_cb): Removed.
(shell_destroy_notify): New.
(e_shell_show_folder_creation_dialog): g_object_weak_ref() the
shell object instead of connecting to its "destroy" signal.
* e-shell-config-offline.c (config_control_destroy_callback):
Removed.
(config_control_destroy_notify): New.
(e_shell_config_offline_create_widget): g_object_weak_ref() the
config_control instead of connecting to its "destroy" signal.
* e-shell-config-default-folders.c
(config_control_destroy_callback): Removed.
(config_control_destroy_notify): New.
(e_shell_config_default_folders_create_widget):
g_object_weak_ref() instead of connecting to the "destroy" signal.
* e-shell-config-autocompletion.c (config_control_destroy_notify):
New.
(config_control_destroy_callback): Removed.
(e_shell_config_autocompletion_create_widget):
g_object_weak_ref() instead of connecting to the "destroy" signal.
* e-activity-handler.c (task_bar_destroy_cb): Removed.
(task_bar_destroy_notify): New.
(e_activity_handler_attach_task_bar): Weak_ref the task_bar using
task_bar_destroy_notify.
(impl_dispose): Weak_unref the task bars in priv->task_bars.
svn path=/trunk/; revision=18756
* e-shell-startup-wizard.c (e_shell_startup_wizard_create):
Connect finish_func to the "next" signal for now, since GnomeDruid
seems to be borked.
* e-uri-schema-registry.c (schema_handler_new): g_object_ref()
@component instead of bonobo_object_ref().
* e-local-storage.c (create_folder): g_object_ref() for the
component_client, instead of bonobo_object_ref().
(remove_folder_step): Likewise.
svn path=/trunk/; revision=18741
2002-11-13 Not Zed <NotZed@Ximian.com>
* evolution-storage.c: remove GTK_OBJECT cast and other GTK stuff.
* evolution-storage.h: this is a gobject not a gtkobject, fix cast
macros, and get_type call.
svn path=/trunk/; revision=18735
2002-11-11 Chris Toshok <toshok@ximian.com>
* e-task-widget.c (impl_finalize): need to assign priv here, fixes
a crash.
svn path=/trunk/; revision=18715
2002-11-07 Chris Toshok <toshok@ximian.com>
* e-task-widget.c (impl_destroy): guard against multiple calls.
fixes a crash whenever a task finishes (the addressbook finishing
loading, etc.).
* e-shell-marshal.list: add NONE:BOOL for
evolution-shell-component.
* evolution-shell-component.c (class_init): register the signals
with g_signal_new.
svn path=/trunk/; revision=18661
* glade/e-shell-folder-creation-dialog.glade (ok_button): Set
response_id to GTK_RESPONSE_OK.
(cancel_button): Likewise, with GTK_RESPONSE_CANCEL.
* e-shell-folder-creation-dialog.h,
e-shell-folder-creation-dialog.c: Ported to GtkDialog.
svn path=/trunk/; revision=18558
* All: g_object_unref instead of bonobo_object_unref for the
EvolutionShellComponentClient and EvolutionShellClient interfaces.
svn path=/trunk/; revision=18555