Commit Graph

464 Commits

Author SHA1 Message Date
b62329bb0c Include <gal/util/e-util.h> here.
2001-03-31  Christopher James Lahey  <clahey@ximian.com>

	* evolution-storage-set-view.c: Include <gal/util/e-util.h> here.

svn path=/trunk/; revision=9077
2001-03-31 21:05:25 +00:00
60d5bd3fc9 If the importer can't be started, don't continue
svn path=/trunk/; revision=9064
2001-03-31 03:32:48 +00:00
5d97d3fa51 Fix a crash when the evolution-importer-client tries to pass NULL for the folderpath.
svn path=/trunk/; revision=9055
2001-03-30 22:46:53 +00:00
1e9dff62bd Since this is an ETree now, the signature of the double click callback has
2001-03-30  Christopher James Lahey  <clahey@ximian.com>

	* e-shell-folder-selection-dialog.c (dbl_click_cb): Since this is
	an ETree now, the signature of the double click callback has
	changed.

svn path=/trunk/; revision=9052
2001-03-30 20:24:28 +00:00
bfdcfc7949 add a "debug" method to tell a component to output debugging messages to a
* Evolution-ShellComponent.idl: add a "debug" method to tell a
	component to output debugging messages to a given file.

	* main.c (main): Add a "--debug filename" argument, to direct
	debugging output for all components to a file. Redirect the
	shell's stdout/stderr to that file if this argument is used.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_set_owner): If debug_log is set,
	call the component's debug method as well.

	* evolution-shell-component.c (impl_ShellComponent_debug):
	redirect stdout/stderr to the named file and emit a "debug"
	signal.

svn path=/trunk/; revision=9046
2001-03-30 16:39:46 +00:00
d6f661cd37 Remove/replace unneeded includes and move around stuff so that system
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-component-registry.c: Remove/replace  unneeded includes and
	move around stuff so that system headers are included first.
	* e-corba-storage.c: Replace #include <bonobo.h>
	* e-folder-tree.c: Shuffle.
	* e-folder.c: Remove #include <gtk/gtkobject.h>
	* e-local-storage.c: Replace #include <gnome.h> and <bonobo.h>
	* e-setup.c: Replace #include <glib.h> and <gnome.h>
	* e-shell-folder-creation-dialog.c: Replace #include <gnome.h>
	* e-shell-folder-title-bar.c: Replace <gnome.h>
	* e-shell-utils.c: Same here.
	* e-shell-view-menu.c: Same here (and <bonobo.h>)
	* e-shell-view.c: Replace <gnome.h> and <bonobo.h>
	* e-shell.c: Replace <gnome.h>
	* e-shell.h: Shuffle.
	* e-shortcuts-view-model.c: Replace <gnome.h>
	* e-shortcuts-view.c: Remove #include <gnome.h>
	* e-shortcuts.c: Move <string.h> up.
	* e-splash.c: Replace <gnome.h>
	* e-storage-set-view.c: Replace <gnome.h>
	* e-storage-set.c: Shuffle
	* e-storage.c: Replace <gnome.h>
	* evolution-local-storage.c: Same here
	* evolution-local-storage.h: And here.
	* evolution-session.c: Same here too.
	* evolution-session.h: Replace <bonobo.h>
	* evolution-shell-client.c: Here too.
	* evolution-shell-component-client.c: Shuffle.
	* evolution-shell-component.c: Replace <bonobo.h>
	* evolution-shell-view.c: Remove #include <bonobo.h>
	* evolution-shell-view.h: Replace <gnome.h>
	* evolution-storage-listener.c: Replace <gnome.h> and <bonobo.h>
	* evolution-storage-listener.h: Replace <gnome.h>
	* evolution-storage-set-view-listener.c: Replace <gnome.h> and <bonobo.h>
	* evolution-storage-set-view.c: Remove <gnome.h>
	* evolution-storage.c: Replace <bonobo.h>
	* main.c: Replace <gnome.h> and <bonobo.h>
	* importer/importer.c: Replace <gnome.h>
	* importer/intelligent.c: Replace <gnome.h>. Add prototype for

svn path=/trunk/; revision=9019
2001-03-29 18:39:21 +00:00
a517be1231 Use g_strcasecmp()' instead of strcasecmp()', just to be anal about
portability.

svn path=/trunk/; revision=9005
2001-03-29 02:08:40 +00:00
74292600ef Use strcasecmp instead of strcmp.
2001-03-28  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (storage_sort_callback,
	folder_sort_callback): Use strcasecmp instead of strcmp.

svn path=/trunk/; revision=9002
2001-03-28 23:57:01 +00:00
838ab4dc66 Sigh. Use the right variable, idiot. And fix a crash bug that
happened when doing dnd in the folder tree.

svn path=/trunk/; revision=8998
2001-03-28 22:31:07 +00:00
51ef717794 In a fit of egomania, added myself to the authors array.
2001-03-28  Jon Trowbridge  <trow@gnu.org>

        * e-shell-view-menu.c: In a fit of egomania, added myself to the
        authors array.

svn path=/trunk/; revision=8989
2001-03-28 07:06:04 +00:00
7b792443de Get the shell to compile by implementing a missing function.
svn path=/trunk/; revision=8959
2001-03-26 23:31:10 +00:00
f342817e88 Finish the DnD stuff by implementing move/copy on the shell side as
well.  Now we should just need to implement the corresponding bits in
the components...

svn path=/trunk/; revision=8949
2001-03-26 18:55:41 +00:00
e8d6fc2756 Refactor ELocalStorage a bit so that it's easier to implement the
missing operations.

svn path=/trunk/; revision=8913
2001-03-23 05:07:40 +00:00
35c7cc9018 Fix some warnings, Allow the importers to import into any folder. Update
Fix some warnings,
Allow the importers to import into any folder.
Update all importers for this change.
Don't emit the create_folder callback if the folder to be created already exists.
This should fix the libibex crash when importing.

svn path=/trunk/; revision=8912
2001-03-23 02:09:29 +00:00
f7827253de Leak plug: free the target list after starting the drag.
svn path=/trunk/; revision=8904
2001-03-22 21:56:01 +00:00
120830dbe4 Fix the signature of a callback for the `e_storage_set_async_create()'
call to match the changes in the API.

svn path=/trunk/; revision=8903
2001-03-22 21:30:06 +00:00
a2ae2d718b Changed the EStorageSet API to have a single `xfer()' method instead
of separate copy/move (as in the IDL).  Actually implement the
`xfer()' operation for the case when source and destination are in the
same storage.  Fix the `EStorageSet' API by having a special
`EStorageSetResultCallback' callback type for it (instead of using
`EStorageResultCallback', which would never work).

Also, removed some unused variables in `e-storage-set-view.c'.

svn path=/trunk/; revision=8895
2001-03-22 13:41:01 +00:00
03765ef0bb Added an xfer method to EStorage' and GNOME::Evolution::Storage'.
svn path=/trunk/; revision=8894
2001-03-22 12:47:16 +00:00
2df293b5c7 More DnD work. Now we handle copying and moving of folders, although
the hooks to actually make the physical operation happen are missing.

Also, fix a stupid cut & paste error in Chris' commit (and re-indent
the code a bit to make it match the surrounding style).

svn path=/trunk/; revision=8890
2001-03-22 10:41:44 +00:00
a52b65816a renaming icons to make Miguel's speedups possible
svn path=/trunk/; revision=8884
2001-03-22 09:15:30 +00:00
e549f119aa Changed get_save_id to just return a strdup of the path. (new_storage_cb,
2001-03-22  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_get_save_id): Changed get_save_id to
	just return a strdup of the path.
	(new_storage_cb, new_folder_cb, insert_folders, insert_storages):
	Call e_tree_memory_sort_node.

svn path=/trunk/; revision=8883
2001-03-22 08:10:13 +00:00
33688c3aec Fix a stupid g_warning caused by calling EStorageSet functions on a
NULL pointer.

svn path=/trunk/; revision=8865
2001-03-21 08:31:29 +00:00
97f26b5a13 s/helixcode\.com/ximian.com/ and update all the copyrights in the IDL
files.

svn path=/trunk/; revision=8864
2001-03-21 08:08:10 +00:00
d469c48d14 Update description of the file and my email address in it.
svn path=/trunk/; revision=8863
2001-03-21 08:05:59 +00:00
c0174ecb4e StudlyCapsify struct members to match the new IDL naming standards.
svn path=/trunk/; revision=8862
2001-03-21 08:02:28 +00:00
3c927d0702 Handle the destination side of drag and drop too.
svn path=/trunk/; revision=8861
2001-03-21 07:56:18 +00:00
726712806e make sure intelligent.h gets disted
2001-03-20  JP Rosevear  <jpr@ximian.com>

	* importer/Makefile.am: make sure intelligent.h gets disted

svn path=/trunk/; revision=8845
2001-03-20 10:13:28 +00:00
68a731e0a0 Bumped gal requirement to 0.5.99.8.
2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped gal requirement to 0.5.99.8.

From addressbook/ChangeLog:

2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* Merged branch:

2001-03-14  Christopher James Lahey  <clahey@ximian.com>

	* gui/widgets/e-minicard-view.c: Call
	e_selection_model_simple_insert_rows and
	e_selection_model_simple_delete_rows instead of
	e_selection_model_simple_insert_row and
	e_selection_model_simple_delete_row.

End of branch

From mail/ChangeLog:

2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* Merged e-tree-rework-branch:

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c: Added has_save_id and get_save_id methods.

	* subscribe-dialog.c: Added arguments for
	e_tree_memory_callbacks_new of get_save_id and has_save_id to
	NULL.

2001-03-16  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c: Added a call to
	e_tree_memory_set_expanded_default to TRUE.  Removed all calls to
	set_expanded on nodes while the tree is frozen since this fails
	miserably now.

2001-03-13  Christopher James Lahey  <clahey@ximian.com>

	* message-list.c (message_list_get_layout): Turned off draw-grid.

2001-03-09  Christopher James Lahey  <clahey@ximian.com>

	* folder-browser-factory.c, folder-browser.c, message-list.c,
	message-list.h, subscribe-dialog.c, subscribe-dialog.h,
	mail-callbacks.c: Converted these all to use ETree instead of
	ETable.

End of branch

From shell/ChangeLog:

2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* Merged e-tree-rework-branch:

2001-03-19  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_get_save_id): Made "root" detection
	deal properly with removed nodes.

2001-03-18  Christopher James Lahey  <clahey@ximian.com>

	* e-shell-view.c (e_shell_view_save_settings): Added some unused
	code to implement saving of the expanded state.

	* e-storage-set-view.c: Added has_save_id and get_save_id methods.

2001-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (ETREE_SPEC): Set draw-grid here to false.

2001-03-09  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c, e-storage-set-view.h: Chaned this to use
	ETree instead of ETable.

End of branch

svn path=/trunk/; revision=8839
2001-03-20 04:48:59 +00:00
0629bbb778 Added a simple FIXME comment about possibly using the
EvolutionShellComponentShell API for querying the SourceFolder DnD
interface.

svn path=/trunk/; revision=8836
2001-03-20 04:05:44 +00:00
c0a1369297 Added calls to the `EvolutionShellComponentClient' API to query the
DnD interfaces with caching.

svn path=/trunk/; revision=8835
2001-03-20 04:04:14 +00:00
b542452064 Sigh. Fix a few really stupid crashes in EStorageSetView.
svn path=/trunk/; revision=8826
2001-03-19 17:47:37 +00:00
553bdcc9bd Use the new DnD interfaces on the source side of DnD actions.
svn path=/trunk/; revision=8825
2001-03-19 17:22:50 +00:00
32543a84d5 Initial step for refactoring of the DnD API for ShellComponents.
svn path=/trunk/; revision=8820
2001-03-19 12:25:35 +00:00
9bc0a19510 Added Azeri language file
fixed various po files
fixed a no-c-format tag

svn path=/trunk/; revision=8733
2001-03-15 10:42:18 +00:00
8391885d18 Removed .oafinfo files -- they are obsolete. Moved pixmaps from
2001-03-15  Gediminas Paulauskas <menesis@delfi.lt>

Removed .oafinfo files -- they are obsolete.
Moved pixmaps from calendar/gui/ to art/
Moved evolution.png to art/
Moved evolution.desktop.in to data/
Generate doc/devel/executive-summary/Makefile

svn path=/trunk/; revision=8727
2001-03-15 03:46:54 +00:00
1a983f0dd7 builddir != srcdir fixes. Yay!
svn path=/trunk/; revision=8706
2001-03-14 11:42:37 +00:00
b4269e1f42 Have a "Do not ask me again" box for the importers.
svn path=/trunk/; revision=8676
2001-03-13 18:54:15 +00:00
8c2f3a00ef All my changes to get the folder creation working, and the magic Netscape
importer.

svn path=/trunk/; revision=8661
2001-03-13 02:26:18 +00:00
9618cd2cb6 Added a ShellComponent method to retrieve the selection for drag and
drop and support for it in the shell.  Untested.

svn path=/trunk/; revision=8594
2001-03-08 12:55:05 +00:00
3f72523dfa Added the ability for components to specify drag/drop types, and
started some work to get the EStorageSetView to use them.  Still in
progress, nothing really happens for the user yet.

svn path=/trunk/; revision=8589
2001-03-07 23:48:18 +00:00
303052ac31 Don't try to generate a Makefile in camel/providers/vee as it's empty.
2001-03-07  Kjartan Maraas  <kmaraas@gnome.org>

	* configure.in: Don't try to generate a Makefile in
	camel/providers/vee as it's empty.

svn path=/trunk/; revision=8583
2001-03-07 19:57:31 +00:00
455d1eabc1 Override cursor_activated signal instead of cursor_changed signal.
2001-03-05  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c: Override cursor_activated signal instead
	of cursor_changed signal.

svn path=/trunk/; revision=8554
2001-03-05 14:35:57 +00:00
ad0dcb2798 Update this again.
* main.c (development_warning): Update this again.

svn path=/trunk/; revision=8417
2001-02-27 23:04:37 +00:00
a75e12466d Added accepted_dnd_mime_types' and exported_dnd_mime_types' members
to the `FolderType' struct and renamed `Evolution::Shell::FolderTypeList'
to `Evolution::Shell::FolderTypeNameList' to avoid confusion.

svn path=/trunk/; revision=8400
2001-02-27 03:58:25 +00:00
bef47a6364 Don't free a const pointer.
2001-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* e-storage.c (folder_changed_cb): Don't free a const pointer.

svn path=/trunk/; revision=8380
2001-02-24 18:57:33 +00:00
31fa26751e Remove a warning....DOH!
svn path=/trunk/; revision=8372
2001-02-23 19:18:08 +00:00
48fb58e530 Changes to allow folders to be created from a callback.
svn path=/trunk/; revision=8371
2001-02-23 19:12:02 +00:00
f581cae993 add include. (show_import_wizard): update signature to that of a verb.
2001-02-21  Michael Meeks  <michael@ximian.com>

	* importer/importer.c: add include.
	(show_import_wizard): update signature to that of a verb.

	* evolution-shell-component.c (corba_class_init): move into
	(class_init): here & upd.
	(evolution_shell_component_construct): upd.
	(create_servant): kill.
	(E_MAKE_TYPE) -> E_MAKE_X_TYPE.

svn path=/trunk/; revision=8359
2001-02-23 00:53:41 +00:00
33041e67fc split "highlighted" into self_highlight and child_highligh.
* e-folder.c (_EFolderPrivate): split "highlighted" into
	self_highlight and child_highligh.
	(e_folder_get_highlighted): Return TRUE if either self_highlight
	is true or any child is highlighted.
	(e_folder_set_child_highlight): New function to tell the folder
	about a child highlight change.

	* e-storage.c (folder_changed_cb): Update child highlights
	correctly on folders so that folders will be highlighted whenever
	their children are.

svn path=/trunk/; revision=8311
2001-02-21 01:42:12 +00:00
ec5d0a0fab Cast this fucntion pointer.
2001-02-17  Christopher James Lahey  <clahey@ximian.com>

	* e-shell-view-menu.c (file_verbs): Cast this fucntion pointer.

	* e-storage-set-view.c (ETABLE_SPEC): Turn on horizontal scrolling
	here.

	* evolution-shell-component.c
	(impl_ShellComponent_async_copy_folder): Commented out this unused
	function.

	* evolution-storage.c (storage_gtk_to_corba_result): Removed an
	unused variable here.

	* importer/importer.c: Include gal/widets/e-gui-utils.h.

svn path=/trunk/; revision=8269
2001-02-17 11:06:39 +00:00