Commit Graph

20 Commits

Author SHA1 Message Date
74d8c78022 Fix strings and the importer window not drawing correctly
svn path=/trunk/; revision=13636
2001-10-12 22:12:21 +00:00
a36bd3b0be New place to start the intelligent importers
svn path=/trunk/; revision=13230
2001-09-28 21:04:27 +00:00
e6ab5554d4 Allow callers to set the default type of folder to be created.
svn path=/trunk/; revision=13220
2001-09-28 18:58:17 +00:00
b138a2e0ab Expand a ~ in the path
svn path=/trunk/; revision=13062
2001-09-21 20:30:09 +00:00
2fe3340586 Fix crash and remove warning
svn path=/trunk/; revision=12828
2001-09-14 19:48:10 +00:00
3e92e7a0eb Removed unused variable.
* e-shell-importer.c (start_import): Removed unused variable.

svn path=/trunk/; revision=12827
2001-09-14 19:31:17 +00:00
81b29a04e5 [Remove a bunch of debugging messages, as per #7741.]
* evolution-wizard.c (impl_GNOME_Evolution_Wizard_notifyAction):
Removed debugging messages.

* e-storage-set.c (storage_removed_folder_cb): Removed debugging
message.

* e-storage-set-view.c (tree_drag_begin): Removed debugging
message.
(tree_drag_data_received): Removed debugging messages.

* e-shortcuts.c (idle_cb): Removed debugging message.

* e-shortcuts-view-model.c (get_icon_for_item): Removed debugging
message.

* e-shell.c (setup_components): Removed debugging message.

* e-shell-startup-wizard.c (druid_event_notify_cb): Removed
debugging message.
(e_shell_startup_wizard_create): Removed debugging message.

* e-shell-offline-handler.c (finalize_offline_hash_foreach):
Removed debugging message.

* e-shell-importer.c (start_import): Removed debugging message.
(item_selected): Same here.

* e-local-storage.c (async_xfer_folder_step): Removed debugging
message.

* e-corba-storage.c (impl_StorageListener_notifyFolderCreated):
Changed the error from a g_print() into a g_warning().  Removed
debugging message.

* e-corba-storage-registry.c (impl_StorageRegistry_addStorage):
Removed debugging message.
(impl_StorageRegistry_removeStorageByName): Likewise.

* e-component-registry.c (component_free): Removed debugging
message.
(register_component): Don't printf() about the registered folder
type.
(register_component): Don't printf() about the registered schema
type.

svn path=/trunk/; revision=12811
2001-09-13 21:26:42 +00:00
49510132a1 only allow importing to /local folders.
2001-09-12  Chris Toshok  <toshok@ximian.com>

	* e-shell-importer.c (start_import): only allow importing to
	/local folders.

svn path=/trunk/; revision=12790
2001-09-13 00:02:18 +00:00
afdc8acc65 Purify run. All small leaks.
* e-shell-folder-commands.c
	(folder_selection_dialog_folder_selected_callback): Free the
	folder_command_data when destroying the dialog.

	* e-local-storage.c (remove_folder): Free physical_uri if we
	allocated it.

	* e-shortcuts-view.c (pop_up_right_click_menu_for_group): Unref
	the popup menu, don't destroy it.
	(destroy_group_cb): Free the question string.
	(rename_group_cb): Free the new_name.

	* e-shell-importer.c (create_plugin_menu): Free the list of
	importers.
	(get_iid_for_filetype): Likewise.
	(import_druid_finish): #ifdef out some g_strdups that are only
	used by other #ifdef'ed-out code.

	* e-shell-view.c: Make sure the keys in the uri_to_view hash get
	freed.

	* e-shell-folder-title-bar.c (set_title_bar_label_style): Unref
	the style after setting it on the widget.

	* e-shell-offline-handler.c (impl_destroy): free priv.

	* e-storage-set-view.c (tree_drag_data_received): Make sure
	target_type always gets freed.

	* e-shell-folder-creation-dialog.c (add_folder_types): Don't leak
	the type names.

svn path=/trunk/; revision=12715
2001-09-09 18:24:15 +00:00
4a0b4b24d0 Report errors in the dialog
svn path=/trunk/; revision=12611
2001-09-04 23:11:18 +00:00
00164176ef Check the file exists before trying to import it
svn path=/trunk/; revision=12603
2001-09-04 21:42:45 +00:00
d671e29102 Studlycapsize all the IDs that are not. Likewise. Updated accordingly.
* 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
2001-08-28 00:18:34 +00:00
fa883ee48a Don't print a NULL. Crashes on Solaris
svn path=/trunk/; revision=12349
2001-08-21 19:22:12 +00:00
f3d8243e63 Do the import correctly.
svn path=/trunk/; revision=12327
2001-08-20 22:28:04 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
d09d496299 Committing the new My Evolution.
svn path=/trunk/; revision=10163
2001-06-08 20:47:52 +00:00
53fe0954cb Changed purely informational debug spew from a g_warning to a g_message.
2001-06-06  Jon Trowbridge  <trow@gnu.org>

	* evolution-storage.c (impl_Storage_async_create_folder): Changed
	purely informational debug spew from a g_warning to a g_message.

	* e-shell-importer.c (show_import_wizard): The import wizard
	defined in import.glade only has three pages... yet we were trying
	to manipulate "page4" as the finish page, with the expected bad
	results.  My guess is that the .glade file got changed, but the
	code didn't get updated.
	(start_import): We were trying to bonobo_object_unref
	(BONOBO_OBJECT (icd->client)), which is fine except for the
	fact that icd->client is just a GtkObject, not a BonoboObject.
	Changed to a gtk_object_unref.
	(start_import): Changed a purely informational bit of debug
	spew from a g_warning to a g_message.

svn path=/trunk/; revision=10139
2001-06-06 22:35:22 +00:00
9288ec2e2c Added ETSPECDIR. Added e-storage-set-view.etspec to get installed.
2001-05-21  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Added ETSPECDIR.  Added
	e-storage-set-view.etspec to get installed.

	* e-local-storage.c (remove_folder_directory): Commented out this
	function since it is unused.

	* e-shell-folder-commands.c
	(folder_selection_dialog_folder_selected_callback), e-shell-view.c
	(update_offline_toggle_status): Fixed warnings here by adding a
	return; after the g_assert_not_reached();.

	* e-shell-importer.c (start_import): Got rid of real_folderpath
	here and just reused folderpath (It was causing uninitialized
	variable warnings.)

	* e-shell.c (impl_Shell_getLocalStorage): Use
	bonobo_object_dup_ref here.  It makes things simpler.

	* e-storage-set-view.c: Removed ETREE_SPEC since it's no longer
	needed.
	(convert_corba_drag_action_set_to_gdk,
	folder_context_menu_activate_cb, remove_cb,
	folder_context_menu_remove_cb): Commented out these functions
	since they're unused.
	(new_storage_cb, new_folder_cb, insert_folders, insert_storages):
	Don't bother using insert_id here since it no longer does
	anything.
	(new_storage_cb, removed_storage_cb, removed_folder_cb): Don't
	free the data returned from e_tree_memory_node_remove.
	(e_storage_set_view_construct): Set the destroy func here so that
	memory will automatically get freed when nodes are destroyed.
	g_strdup the root node string here.  Use
	e_tree_construct_from_spec_file here to use an external file.
	(e_storage_set_view_set_show_folders): g_strdup the root node
	string here.

	* e-storage-set-view.etspec: New etspec file.

	* evolution-shell-component-client.c
	(free_ShellComponentListener_servant): Added a prototype here.

svn path=/trunk/; revision=9989
2001-05-25 18:35:40 +00:00
f093b333fb Add a caption to the folder selection dialog widget, and get the
existing dialogs in the shell to use it.

svn path=/trunk/; revision=9894
2001-05-19 16:11:47 +00:00
dd032fc24d Ask for a folder to import into.
svn path=/trunk/; revision=9775
2001-05-11 21:19:33 +00:00