Commit Graph

1410 Commits

Author SHA1 Message Date
e692a531d5 Forgot to add this one.
svn path=/trunk/; revision=18520
2002-11-04 01:07:29 +00:00
02eeead843 Update.
svn path=/trunk/; revision=18519
2002-11-04 01:07:14 +00:00
1ad6eede65 Converted to Glade2 format. Likewise. Likewise. Likewise. Likewise.
* glade/e-active-connection-dialog.glade: Converted to Glade2
format.
* glade/evolution-startup-wizard.glade: Likewise.
* glade/e-shell-shared-folder-picker-dialog.glade: Likewise.
* glade/e-shell-folder-creation-dialog.glade: Likewise.
* glade/e-shell-config-default-folders.glade: Likewise.
* glade/e-folder-list.glade: Likewise.

svn path=/trunk/; revision=18518
2002-11-04 01:06:52 +00:00
ede7fcb220 Changed all gtk_object_refs()/gtk_object_unrefs() into
* *.c, *.h: Changed all gtk_object_refs()/gtk_object_unrefs() into
g_object_refs()/g_object_unrefs() and all gtk_signal_connect_*()
into g_signal_connect_*().  [Except for some case where we have
gtk_signal_connect_full() or gtk_signal_connect_while_alive()
calls that cannot be trivially ported to use the g_signal_*
functions, we'll have to fix those later.]

* e-splash.c (impl_finalize): Finalize implementation, copied over
from impl_destroy.
(impl_destroy): Removed.
(class_init): Override finalize, not destroy.

* e-activity-handler.c: Ported from GtkObject to GObject.
* evolution-storage.c: Likewise.
* e-corba-shortcuts.c: Likewise.
* evolution-session.h: Likewise.
* evolution-config-control.c: Likewise.
* evolution-shell-component-dnd.c: Likewise.
* evolution-shell-component.c: Likewise.
* evolution-shell-view.c: Likewise.
* evolution-storage-set-view.c: Likewise.
* evolution-wizard.c: Likewise.

svn path=/trunk/; revision=18513
2002-11-03 22:08:16 +00:00
9cbba714fc Updated for libxml2. Likewise. Likewise. Likewise.
* e-component-info.c: Updated for libxml2.
* e-shortcuts.c: Likewise.
* e-folder-list.c: Likewise.
* e-local-folder.c: Likewise.

svn path=/trunk/; revision=18512
2002-11-03 19:36:39 +00:00
8691f8584f Renamed from GNOME_Evolution_Shell.oaf.in.
* GNOME_Evolution_Shell.server.in: Renamed from
GNOME_Evolution_Shell.oaf.in.

* Makefile.am: Port from OAF to bonobo-activation.
(INCLUDES): Define SYSCONFDIR, DATADIR, LIBDIR.

* main.c (main): Use gnome_program_init().

* e-corba-storage-registry.c (e_corba_storage_registry_new):
g_object_new(), not gtk_type_new().
(impl_finalize): New, ported over from destroy.
(destroy): Removed.
(class_init): Install finalize handler, not destroy handler, since
we are not a GtkObject anymore.

* e-corba-storage.c (e_corba_storage_new): g_object_new(), not
gtk_type_new().

* e-shell.c (class_init): Override finalize, not destroy.
(impl_finalize): Finalize implementation, basically the old
destroy renamed.
(e_shell_new): g_object_new(), not gtk_type_new().
(class_init): Use e_shell_marshal_NONE__INT for
line_status_changed instead of using an ENUM.
(e_shell_construct): Use g_signal_connect_object() instead of
gtk_signal_connect_while_alive().

* e-setup.c (e_setup): Do not unref local_folder if NULL.

* e-folder.c (init): Make not floating.
(e_folder_construct): No need to make it floating here anymore.

* e-shell.c (impl_Shell_selectUserFolder): For now don't set
dialog parent from xid.

* main.c (no_views_left_cb): Add missing GTK_SIGNAL_FUNC() cast.
(new_view_created_callback): Likewise.
(warning_dialog_clicked_callback): Update to use the
EConfigListener from the shell instead of bonobo-conf.
(show_development_warning): Likewise.
(upgrade_from_1_0_if_needed): BONOBO_EX_ID -> BONOBO_EX_REPOID.
(idle_cb): Use bonobo-activation and BONOBO_EX_REPOID().
(main): Cleaned up the various things that are unneeded in GNOME
2.
(upgrade_from_1_0_if_needed): Use EConfigListener.

* evolution-storage-set-view.h, evolution-storage-set-view.c:
BonoboXObjectified.

* e-storage.c (class_init): GLIB2-ified and made to use
e-shell-marshal.h.
(ES_CLASS): Use GTK_OBJECT_GET_CLASS().
(e_storage_new_folder): Added missing GTK_SIGNAL_FUNC() prototype.

* e-storage-set.c (class_init): GLIB2-ified and made to use
e-shell-marshal.h.

* e-storage-set-view.c (popup_folder_menu): For now, do not add
the pop-up since we lack bonobo_ui_container_get_win() and I am
not sure how to work around it.
(popup_folder_menu): Pass self as the for_widget arg to
gnome_popup_menu_do_popup_modal().
(class_init): GLIB2-ified, and got to use e-shell-marshal.h.
(marshal_NONE__GDKDRAGCONTEXT_STRING_STRING_STRING): Removed.
(impl_tree_drag_data_get): Don't set the selection for now -- we
have to fix the CORBA target stuff to match GTK 2.
(e_storage_set_view_construct): Pass NULL as the opt_ev arg to
bonobo_ui_component_set_container().

* e-splash.c: #include <libgnomecanvas/gnome-canvas-pixbuf.h>
instead of <gdk-pixbuf/gnome-canvas-pixbuf.h>.
(e_splash_new): Pass NULL as the error arg to
gdk_pixbuf_new_from_file().

* e-shortcuts.c (class_init): GLIB2-ified.  Also use the
e-shell-marshal marshallers.
(e_shortcuts_new_view): Add missing GTK_SIGNAL_FUNC() cast.

* e-shortcuts-view.c: Use GTK_STOCK_* stuff instead of
GNOME_STOCK_* stuff.
(pop_up_right_click_menu_for_group): Pass self as the for_widget
arg to gnome_popup_menu_do_popup_modal().
(pop_up_right_click_menu_for_shortcut): Likewise.
(class_init): GLIB2-ified.

* e-shell.c: Do not #include <gal/util/e-unicode-i18n.h> or
#include <libgnome/gnome-defs.h>.
(set_interactive): Use BONOBO_EX_REPOID().
(setup_local_storage): Use _() not U_().
(destroy): Use gtk_widget_destroy() instead of
gtk_object_destroy() on priv->settings_dialog.
(class_init): GLIB2-ized.
(init): Initialize config_listener member.
(get_icon_path_for_component_info): Port to bonobo-activation from
OAF.
(setup_components): Likewise.
(destroy): Likewise.
(e_shell_construct): Use e_setup_check_config(), not
e_setup_check_db ().  Use the e_config_listener instead of
bonobo-conf.
(save_settings_for_views): Likewise.
(save_misc_settings): Likewise.
(e_shell_restore_from_settings): Likewise.
(parse_default_uri): Likewise.
(e_shell_component_maybe_crashed): Pass NULL for opt_ev arg to
bonobo_unkown_ping()
(e_shell_component_maybe_crashed): Use
bonobo_engine_deregister_dead_components() instead of
bonobo_window_deregister_component_by_ref() which is no more.
(e_shell_send_receive): BONOBO_EX_REPOID() instead of
BONOBO_EX_ID().
(e_shell_get_config_listener): Return the config_listener.

* e-shell-view.c (find_inbox_in_storage): Use _() instead of U_().
(load_images): Pass NULL as the error arg to
gdk_pixbuf_new_from_file().
(load_images): Likewise.
(find_inbox_in_storage): Work around the lack of
g_utf8_strcasecmp() in glib-2.0.
(class_init): GLIB2-ified.  Also, use the marshallers in
e-shell-marshal.h.
(pop_up_folder_bar): Use gtk_window_move()/gtk_widget_show()
instead gtk_widget_popup().
(unmerge_on_error): Work around the death of
bonobo_ui_component_get_win() and
bonobo_window_deregister_component_by_ref().
(e_shell_view_construct): Pass NULL as the uic arg to
bonobo_window_construct().  Add missing GTK_SIGNAL_FUNC() cast.
Match the new BonoboWindow behavior wrt the UIContainer and the
new opt_ev args.
(display_uri): Use bonobo_ui_engine_freeze() and
bonobo_ui_engine_thaw() since bonobo_window_freeze() and
bonobo_window_thaw() got axed [sigh].
(e_shell_view_save_settings): Use EConfigListener.
(e_shell_view_load_settings): Likewise.
(get_view_for_uri): Use bonobo_widget_new_control_from_objref()
instead of e_bonobo_widget_new_control_from_objref().

* e-shell-view-menu.c (command_help_faq): Pass NULL for the error
arg to gnome_url_show().
(command_about_box): Use GtkDialog instead of a GtkWindow of a
type GTK_WINDOW_DIALOG [which does not exist anymore].
(command_xml_dump): Removed.
(menu_do_misc): Do not add the corresponding verb.

* e-shell-user-creatable-items-handler.c (execute_verb): Use
BONOBO_EX_REPOID().

* e-shell-startup-wizard.c: Remove id member from SWData.  Replace
member db with config_listener.
(e_shell_startup_wizard_create): Initialize config_listener.
(make_mail_dialog_pages): Do not set the listener id here.
(druid_event_notify_cb): Pass FALSE as the help_sensitive arg to
gnome_druid_set_buttons_sensitive().
(e_shell_startup_wizard_create): Likewise.
(make_mail_dialog_pages): Use bonobo-activation instead of OAF.
(get_intelligent_importers): Likewise.
(prepare_importer_page): Likewise.
(start_importers): Do nothing here for now.
(finish_func): Constify local variable displayname.
(finish_func): Updated to use the config_listener instead of the
bono-conf db.
(prepare_importer_page): Do not actually run the importer yet.
(e_shell_startup_wizard_create): Pass NULL as the domain arg to
glade_xml_new().  Use the config_listener.

* e-shell-shared-folder-picker-dialog.c (user_clicked):
BONOBO_EX_REPOID() instead of BONOBO_EX_ID().
(setup_name_selector): Likewise.
(setup_name_selector): Use bonobo-activation.
(show_dialog): Pass NULL as the domain arg to glade_xml_new().
(setup_name_selector): Add a missing GTK_SIGNAL_FUNC() cast.

* e-shell-settings-dialog.c: #include
<bonobo-activation/bonobo-activation.h>.  Use
Bonobo_ActivationProperty instead of OAF_Property.
(set_dialog_size): Use gtk_style_get_font() to get the font from
the widget->style.
(load_pages): Converted to use bonobo-activation instead of OAF.
Pass NULL as the error arg to gdk_pixbuf_new_from_file().

* e-shell-offline-sync.c (sync_folder): BONOBO_EX_REPOID(), not
BONOBO_EX_ID().
(e_shell_offline_sync_all_folders): For now, avoid doing anything
[see changes to e-shell-config-offline.c below].
(setup_progress_listener): #if 0 for now.
(setup_dialog): Likewise.
(sync_folder): Likewise.
(cleanup): Likewise.
(progress_listener_servant_free): Likewise.
(progress_listener_servant_new): Likewise.
(impl_SyncFolderProgressListener_updateProgress): Likewise.
(impl_SyncFolderProgressListener_reportSuccess): Likewise.
(impl_SyncFolderProgressListener_reportFailure): Likewise.
(progress_dialog_close_callback): Likewise.
(progress_dialog_clicked_callback): Likewise.

* e-shell-offline-handler.c (prepare_for_offline): Use
BONOBO_EX_REPOID().
(pop_up_confirmation_dialog): Pass NULL as the domain arg to
glade_xml_new().
(class_init): GLIB2-ified.

* Makefile.am: Do not compile e-shell-importer.c,
e-shell-importer.h for now.

* e-shell-folder-title-bar.c (get_max_clipped_label_width): Use
gtk_style_get_font() to retrieve the font.
(class_init): GLIB2-ified.
(e_shell_folder_title_bar_construct): Get {x,y}thickness from
widget->style, not from widget->style->klass.

* e-shell-folder-selection-dialog.c: #include <string.h>,
<gtk/gtklabel.h> and <gtk/gtksignal.h>.
(class_init): GLIB2-ified.

* e-shell-folder-creation-dialog.c: No <libgnome/gnome-defs.h>,
add some GTK includes.
(e_shell_show_folder_creation_dialog): Pass NULL as the domain arg
to glade_xml_new().  Added missing GTK_SIGNAL_FUNC() cast.

* e-shell-folder-commands.c: Do not #include
<libgnomeui/gnome-stock.h> and #include
<bonobo-conf/Bonobo_Config.h>.

* e-shell-config-default-folders.c: Replace member db in
EvolutionDefaultFolderConfig with config_listener.
(e_shell_config_default_folders_create_widget): Init here.
(config_control_destroy_cb): Unref here.
(config_control_apply_cb): Use EConfigListener instead of
BonoboConf.
(setup_folder_selector): Likewise.
(e_shell_config_default_folders_create_widget): Pass NULL as the
domain arg to glade_xml_new().

* e-shell-config-offline.c (config_control_apply_callback): For
now, do not change the configuration.  [Needs to be ported to
EConfigListener or something, but we were storing a sequence using
typecodes here and there is no trivial way to do that right now.]
(init_storage_set_view_status_from_config): Likewise, do not
retrieve the configuration here.

svn path=/trunk/; revision=18510
2002-11-03 16:43:18 +00:00
9c73777f22 First big sync of my GNOME 2 porting work (incomplete, and still
pretty broken).

Weeeeee!

svn path=/trunk/; revision=18503
2002-11-02 08:25:03 +00:00
7699a39bd3 Increase the width slightly.
* e-shell-settings-dialog.c (set_dialog_size): Increase the width
slightly.

* e-shell-view-menu.c: Set "settings.png" as the icon for
/menu/Tools/Settings.

svn path=/trunk/; revision=18460
2002-10-28 17:21:24 +00:00
f59f9aa65a [#31303]
* e-shell-view (storage_set_view_box_button_release_event_cb): Pop
down the popup folder bar if it's a toplevel node.
(folder_bar_popup_map_callback): Connect to the "folder_opened"
signal on the storage_set_view.

[#32032]

* e-folder-list.c (create_display_string): Don't turn the string
from UTF-8 to GTK.

svn path=/trunk/; revision=18437
2002-10-25 18:19:08 +00:00
d0782a45b1 Set the is_stock flag to TRUE for the summary folder.
* e-shell.c (setup_local_storage): Set the is_stock flag to TRUE
for the summary folder.

* e-shell-view.c (setup_verb_sensitivity_for_folder): Don't allow
folder operations on pseudo-folders that have a NULL physical_uri.

* e-corba-storage.c (async_remove_folder): Make sure the folder
has a physical URI.  [#30950]

* e-shell-shared-folder-picker-dialog.c
(setup_server_option_menu): Use
e_utf8_gtk_menu_item_new_with_label() to create the option menu
items from the storage's UTF-8 name.  [#31564]

svn path=/trunk/; revision=18419
2002-10-23 17:45:58 +00:00
58573777e8 (e_get_activation_failure_msg): If the exception_id is NULL,
return NULL instead of crashing.  [#25891]

svn path=/trunk/; revision=18397
2002-10-21 15:20:47 +00:00
d91364b056 New, implementation for the cancel_discover_shared_folder virtual method.
* e-corba-storage.c (cancel_discover_shared_folder): New,
implementation for the cancel_discover_shared_folder virtual
method.
(class_init): Install.

* evolution-test-component.c
(storage_discover_shared_folder_callback): Instead of passing the
listener to the timeout function, just pass the storage.  Put the
listener and the timeout ID on the storage object by using
gtk_object_set_data().
(shared_folder_discovery_timeout_callback): Updated accordingly.
(storage_cancel_discover_shared_folder_callback): New, callback
for the cancel_discover_shared_folder signal.
(setup_custom_storage): Connect.

* e-shell-shared-folder-picker-dialog.c: New member storage in
struct DiscoveryData.  While I am at it, rename member user to
user_email_address.
(discover_folder): Set the storage member.
(cleanup_discovery): Unref storage member.
(progress_dialog_clicked_callback): New, callback for the
"clicked" signal on the dialog.
(discover_folder): Connect.

* evolution-storage.c (class_init): Install signal
"cancel_discover_shared_folder".
(impl_Storage_cancelDiscoverSharedFolder): New, implementation for
the cancelDiscoverSharedFolder CORBA method; emit
"cancel_discover_shared_folder".
(evolution_storage_get_epv): Install CORBA method implementation.

* evolution-storage.h: Add signal cancel_discover_shared_folder.

* e-storage.c (e_storage_cancel_discover_shared_folder): New.

* e-storage.h: New virtual method cancel_discover_shared_folder.

* Evolution-Storage.idl (cancelDiscoverSharedFolder): New.

svn path=/trunk/; revision=18386
2002-10-17 20:47:06 +00:00
fdb774412d Change the selection mode to GTK_SELECTION_BROWSE so there is always a
* e-shell-importer.c (choose_importer_from_list): Change the
selection mode to GTK_SELECTION_BROWSE so there is always a
selection.  The code here doesn't handle a NULL selection.
[#31690]

* e-shell-importer.c (import_cb): Only delay half a second
(instead of 5 seconds) when getting EVOLUTION_IMPORTER_NOT_READY
or EVOLUTION_IMPORTER_BUSY.

* importer/evolution-importer-listener.c
(impl_GNOME_Evolution_ImporterListener_notifyResult): Removed
debugging message.

svn path=/trunk/; revision=18332
2002-10-07 16:19:18 +00:00
b48e07f7ca new function, emit cancelled so the folder selector button will sensitize
2002-10-04  Chris Toshok  <toshok@ximian.com>

	* e-shell-folder-selection-dialog.c (delete_event_cb): new
	function, emit cancelled so the folder selector button will
	sensitize the parent window again.
	(e_shell_folder_selection_dialog_construct): connect the
	delete_event signal.

svn path=/trunk/; revision=18327
2002-10-04 21:00:27 +00:00
43dfa91e96 It's a grand old string-review! Nitpicky and minor changes; details in the appropriate ChangeLog files.
svn path=/trunk/; revision=18268
2002-09-30 20:11:15 +00:00
45fd176750 Calls e_shell_command_remove_shared_folder. (file_verbs): Set up
* e-shell-view-menu.c (command_remove_other_users_folder): Calls
	e_shell_command_remove_shared_folder.
	(file_verbs): Set up command_remove_other_users_folder.

	* e-shell-folder-commands.c
	(e_shell_command_remove_shared_folder): New. Calls
	e_storage_set_async_remove_shared_folder with a callback to pop up
	an error dialog if it fails.

	* e-storage-set.c (e_storage_set_async_remove_shared_folder):
	Implement. Mostly like async_remove_folder.

	* e-storage.c (e_storage_supports_shared_folders,
	e_storage_async_discover_shared_folder,
	e_storage_async_remove_shared_folder): New methods. Default
	implementations return FALSE, NOTIMPLEMENTED, and NOTIMPLEMENTED.

	* e-corba-storage.c (supports_shared_folders,
	async_discover_shared_folder, async_remove_shared_folder):
	Implement using CORBA.

	* Evolution-Storage.idl: add Storage_asyncRemoveSharedFolder

	* e-shell-shared-folder-picker-dialog.c: Remove all the CORBA
	stuff from here and use the new EStorage methods.
	(setup_server_option_menu): Use e_storage_supports_shared_folders.
	(discover_folder): Use e_storage_async_discover_shared_folder.

	* evolution-storage.c (impl_Storage_asyncRemoveSharedFolder):
	Implement this by emitting a REMOVE_SHARED_FOLDER signal.
	(impl_Storage_asyncDiscoverSharedFolder): Make the
	DISCOVER_SHARED_FOLDER signal put the Bonobo_Listener first like
	all the other signals do.
	(class_init): Set up REMOVE_SHARED_FOLDER signal.

svn path=/trunk/; revision=18265
2002-09-30 18:41:05 +00:00
b887e5c2f6 If we return from evolution_shell_client_user_select_folder to find that
* evolution-folder-selector-button.c (clicked): If we return from
	evolution_shell_client_user_select_folder to find that our parent
	window has been destroyed, unref it and bail out, since that means
	we've been destroyed (and probably finalized) too. #31360

svn path=/trunk/; revision=18264
2002-09-30 18:21:26 +00:00
849f3cac38 (load_folder): Always return TRUE, even in the
unknown-type case.

svn path=/trunk/; revision=18236
2002-09-26 18:17:23 +00:00
e04d2b2255 set history_id on GnomeFileEntry, to actually get the history.
2002-09-25  Rodrigo Moya <rodrigo@ximian.com>

	* e-shell-importer.c (importer_file_page_new): set history_id on
	GnomeFileEntry, to actually get the history.

svn path=/trunk/; revision=18233
2002-09-26 14:41:23 +00:00
82f2740249 If one of the allowed types is "type/*", allow anything starting with
* e-shell-folder-selection-dialog.c (check_folder_type_valid):
	If one of the allowed types is "type/*", allow anything starting
	with "type/".
	(impl_clicked): If the first allowed type is "type/*", pass "type"
	to e_shell_show_folder_creation_dialog.

	* evolution-folder-selector-button.c
	(evolution_folder_selector_button_set_uri): Handle "type/*" as an
	allowed type.

	* e-shell-settings-dialog.c (e_shell_settings_dialog_show_type):
	If there are no pages for the current folder type, try the parent
	type (eg, "mail" for "mail/public").

	* e-shell-config-autocompletion.c
	(e_shell_config_autocompletion_create_widget): Use "contacts/*" as
	the allowed folder type.

svn path=/trunk/; revision=18220
2002-09-25 21:40:17 +00:00
6a5efeb0f9 [Finish fixing #11645.]
* e-shell-folder-commands.c (xfer_result_callback): Don't update
the shortcuts here anymore since now the shell takes care of it.

* e-shell.c (storage_set_moved_folder_callback): New callback for
EStorageSetView::folder_moved; update the shortcuts.
(e_shell_construct): Connect.

* e-storage-set.c: Renamed StorageConverterCallbackData to
StorageCallbackData.  New members destination_folder,
source_folder, operation in it.
(class_init): Install "moved_folder" signal.
(storage_callback_data_new): Renamed from
storage_converter_callback_data_new.
(storage_callback_data_free): New.
(storage_callback): Renamed from storage_callback_converter.  Use
storage_callback_data_free().
(e_storage_set_async_create_folder): Updated to use the
storage_callback and storage_callback_data_new().
(e_storage_set_async_remove_folder): Likewise.
(e_storage_set_async_xfer_folder): Likewise.

* e-storage-set.h: New signal "moved_folder".

svn path=/trunk/; revision=18216
2002-09-25 18:06:29 +00:00
efa2ba8ab0 Placate compiler.
* e-shell-view-menu.c (launch_pilot_settings): Placate compiler.

* e-shell-folder-commands.c (xfer_result_callback): When
FOLDER_COMMAND_MOVE, update the shortcuts by using
e_shortcuts_update_shortcuts_for_changed_uri().

* e-shortcuts.c (e_shortcuts_update_shortcuts_for_changed_uri):
New.

svn path=/trunk/; revision=18206
2002-09-24 21:01:04 +00:00
ab7d63ce8e Don't destroy the dialog. It does that itself whenever it emits
* e-shell.c (folder_selection_dialog_folder_selected_cb): Don't
	destroy the dialog. It does that itself whenever it emits
	folder_selected.

	* e-shell-folder-selection-dialog.c (double_click_cb): Don't close
	the dialog if the user double-clicks a bad folder. Just ignore it
	(like we do when they click OK on a bad folder).

svn path=/trunk/; revision=18205
2002-09-24 20:05:20 +00:00
adf048e050 Add PilotConduitSettings verb. [#14019]
(command_pilot_conduit_settings): Implementation for the verb.
(launch_pilot_settings): Helper function.

svn path=/trunk/; revision=18201
2002-09-24 15:53:14 +00:00
87f9823068 use the new e_tree_set_search_column function instead of my lameass sort
2002-09-24  Mike Kestner  <mkestner@ximian.com>

	* e-storage-set-view.c (e_storage_set_enable_search): use the new
	e_tree_set_search_column function instead of my lameass sort hack.

svn path=/trunk/; revision=18194
2002-09-24 07:13:15 +00:00
ca308322e6 (e_shell_construct): Oops, no @shell argument to
e_shell_startup_wizard_create().

svn path=/trunk/; revision=18184
2002-09-23 21:48:00 +00:00
92ec933b19 Use e_shell_request_close_view().
* e-shell-view-menu.c (command_close): Use
e_shell_request_close_view().

* e-shell.c (e_shell_request_close_view): New, code moved out of
view_delete_event_cb().
(view_delete_event_cb): Use it.

svn path=/trunk/; revision=18183
2002-09-23 21:30:57 +00:00
b0b2ebe9c3 (get_type_from_parent_path):
Return "mail" instead of NULL when we don't have a parent folder.
[#28232]

svn path=/trunk/; revision=18179
2002-09-23 20:07:30 +00:00
621e8e3bfa Added some missing names.
* e-shell-about-box.c: Added some missing names.

* main.c (main): Declare --force-upgrade correctly so it works.

svn path=/trunk/; revision=18175
2002-09-23 19:16:46 +00:00
182f312858 Removed member sort_idle_id in
EStorageSetViewPrivate.
(resort): Removed.
(sort_traverse_callback): Removed.
(sort_idle_callback): Removed.
(queue_resort): Removed.
(impl_destroy): Removed.
(folder_name_changed_cb): Sort now instead of queueing a resort.

svn path=/trunk/; revision=18146
2002-09-20 20:42:20 +00:00
d4f22aebb0 [Fix #28495 with a lame hack that works around Bonobo sizing
brokenness]

(set_dialog_size): New.
(impl_realize): Override for GtkWidget::realize; invoke
set_dialog_size() to set a minimum size.
(class_init): Install.

svn path=/trunk/; revision=18126
2002-09-19 19:56:14 +00:00
ee6920fde5 (async_create_cb): Don't set
the current folder for E_STORAGE_EXISTS.  [#30533]

svn path=/trunk/; revision=18124
2002-09-19 19:24:30 +00:00
e5775b9f55 (evolution_storage_update_folder): Do not
stop propagating the notification to the listeners if
::notifyFolderUpdate() fails.  [#27662 (?)]

svn path=/trunk/; revision=18117
2002-09-19 17:10:21 +00:00
5f467a8f64 (resort): New. (sort_idle_callback): Use it. (insert_storages): Use
(resort): New.
(sort_idle_callback): Use it.
(insert_storages): Use resort() instead of queue_resort() so we
sort immediately.

svn path=/trunk/; revision=18116
2002-09-19 17:03:09 +00:00
fb51bbedb0 bandaid for 30248.
2002-09-18  Mike Kestner  <mkestner@ximian.com>

	* e-storage-set-view.c (etree_value_at): bandaid for 30248.

svn path=/trunk/; revision=18115
2002-09-19 16:36:18 +00:00
8b0060a215 Allow 'back' to run if we're on the finish page. For #29293.
2002-09-18  Not Zed  <NotZed@Ximian.com>

        * evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
        Allow 'back' to run if we're on the finish page.  For #29293.

svn path=/trunk/; revision=18106
2002-09-19 01:37:46 +00:00
b8560907ad updated .cvsignore
svn path=/trunk/; revision=18104
2002-09-19 00:09:21 +00:00
79c77a6559 Add description for E_STORAGE_NOTONLINE.
* e-storage.c (e_storage_result_to_string): Add description for
E_STORAGE_NOTONLINE.

* e-corba-storage.c
(e_corba_storage_corba_result_to_storage_result): Support
GNOME_Evolution_Storage_NOT_ONLINE (E_STORAGE_NOTONLINE).

* Evolution-Storage.idl: Add NOT_ONLINE to enum Result.

* e-storage.h: Add E_STORAGE_NOTONLINE to EStorageResult enum.

svn path=/trunk/; revision=18097
2002-09-17 20:52:02 +00:00
266cd02466 Remove unused variable.
* e-storage-set-view.c (sort_idle_callback): Remove unused
variable.

* e-shell-view.c (shell_line_status_changed_cb): Make Send/Receive
insensitive when in offline mode.  [#27855]

svn path=/trunk/; revision=18096
2002-09-17 20:42:36 +00:00
e774bd7f2d [Fix #28451.]
* e-storage-set-view.c: New member sort_idle_id in
EStorageSetViewPrivate.
(init): Init to zero.
(impl_destroy): Remove the idle source if not zero.
(queue_resort): New.
(sort_idle_callback): Idle function to sort.
(setup_folder_changed_callback): New.
(new_folder_cb): Call it on the new folder so we get the callback
for new folders too.
(popup_folder_menu): Ref the folder before popping up the menu,
unref it after popping it down [the folder might be unreffed in
gnome_popup_menu_do_popup_modal() because of a folder action].
(new_storage_cb): Just queue_resort() instead of sorting.
(new_folder_cb): Likewise.
(insert_folders): Likewise.
(insert_storages): Likewise.
(folder_changed_cb): Queue a resort here too.

* e-folder.c (class_init): Set up "name_changed" signal.
(e_folder_set_name): Emit "name_changed".

* e-folder.h: New signal "name_changed".

svn path=/trunk/; revision=18093
2002-09-17 19:27:04 +00:00
bae24dcd13 Invoke gettext on strings coming from the .oaf files.
2002-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* e-shell-settings-dialog.c (page_new): Invoke gettext on
	strings coming from the .oaf files.

svn path=/trunk/; revision=18092
2002-09-17 19:25:32 +00:00
3d1b5c1a2e Remove some leftover junk.
svn path=/trunk/; revision=18088
2002-09-17 16:45:36 +00:00
b893058f41 Mark a string for translation.
2002-09-17  Kjartan Maraas  <kmaraas@gnome.org>

	* e-folder-list.c (create_display_string): Mark a string for
	translation.

svn path=/trunk/; revision=18086
2002-09-17 16:33:46 +00:00
c395aaafd6 (e_storage_removed_folder): When a highlighted
folder gets removed, update the parent to not have a highlight.
[#24062]

svn path=/trunk/; revision=18085
2002-09-17 16:23:45 +00:00
aa526a8c07 New script to run Evolution under a
non-GNOME session when using a non-default GNOME prefix and a
non-default Evolution prefix.

svn path=/trunk/; revision=18082
2002-09-16 21:01:17 +00:00
fd5752f425 (setup_bonobo_conf_private_directory): g_free() not
free(), since we allocate with glib functions.  [#19899]

svn path=/trunk/; revision=18047
2002-09-11 20:45:10 +00:00
6f4d80d825 no longer distribute the etstate files. enable_search on the view. add
2002-09-05  Mike Kestner  <mkestner@ximian.com>

	* Makefile.am : no longer distribute the etstate files.
	* e-shell-folder-selection-dialog.c : enable_search on the view.
	* e-storage-set-view.c : add search_enabled flag handling.
	(e_storage_set_view_set_show_checkboxes): manipulate the existing state
	instead of loading a state file from disk.
	(e_storage_set_view_enable_search): new. set a column in the sort_info
	on the etree to allow keystroke jumping in the etree.

svn path=/trunk/; revision=18002
2002-09-06 14:51:37 +00:00
2bd6772c82 Changed the description of the folders page in the settings dialog to be
2002-09-05  Anna Marie Dirks  <anna@ximian.com>

	* GNOME_Evolution_Shell.oaf.in : Changed the description
	of the folders page in the settings dialog to be more specific.

svn path=/trunk/; revision=17991
2002-09-05 18:54:01 +00:00
0857bf4b47 Add a -DPREFIX.
* Makefile.am (INCLUDES): Add a -DPREFIX.

* main.c (main): New command-line option "force-upgrade".
(show_development_warning): Suggest 1.0.8, not 1.0.5.
(upgrade_from_1_0_if_needed): New.
(idle_cb): Call it.

svn path=/trunk/; revision=17982
2002-09-04 22:39:30 +00:00
a6939cf10d Return FALSE here. (get_base_url): Add a cast.
* upgrade-mailer.c (upgrade): Return FALSE here.
(get_base_url): Add a cast.

* component-factory.c (storage_xfer_folder): Removed unused
variables.

* Makefile.am: Rename upgrade-mailer to evolution-mail-upgrade.

svn path=/trunk/; revision=17981
2002-09-04 22:39:24 +00:00