Commit Graph

537 Commits

Author SHA1 Message Date
483ebae539 Add interfaces to the shell to handle off-line operation, as well as a
first (unfinished/untested) implementation for them.

svn path=/trunk/; revision=9653
2001-05-03 01:10:46 +00:00
0ac06ee5b0 new file.
2001-05-02  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component-dnd.c: new file.

	* evolution-shell-component-dnd.h: new file.

	* Makefile.am (libeshell_a_SOURCES): add
	evolution-shell-component-dnd.[ch].

svn path=/trunk/; revision=9652
2001-05-02 22:23:16 +00:00
0d7717153d Remove $(UNICODE_LIBS).
* Makefile.am (evolution_LDADD): Remove $(UNICODE_LIBS).

	* main.c (main): Remove call to unicode_init.

svn path=/trunk/; revision=9567
2001-04-25 21:18:44 +00:00
bdae39504b free the private member
2001-04-25  JP Rosevear  <jpr@ximian.com>

	* evolution-shell-client.c (destroy): free the private member

svn path=/trunk/; revision=9565
2001-04-25 20:57:13 +00:00
65464a8165 #include <glib.h> and move corresponding local includes to the top.
2001-04-25  Kjartan Maraas  <kmaraas@gnome.org>

	* e-component-register.c, e-corba-storage.c, e-folder-tree.c,
	e-folder-tree.h, e-folder.c, e-local-folder.c, e-shell.c,
	e-shortcuts-view-model.c, e-shortcuts.c, e-splash.c,
	e-storage-set-view.c, e-storage-set.c, evolution-local-storage.c,
	evolution-shell-component-client.c, evolution-shell-component.c,
	evolution-storage.[ch], importer/evolution-importer-client.[ch],
	importer/evolution-importer-listener.[ch],
	importer/evolution-importer.[ch],
	importer/evolution-intelligent-importer.[ch], importer/intelligent.c:
	#include <glib.h> and move corresponding local includes to the top.

svn path=/trunk/; revision=9556
2001-04-25 07:55:21 +00:00
bf5d2ea43c #include gnome-window-icon.h
2001-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* e-splash.c: #include gnome-window-icon.h

svn path=/trunk/; revision=9527
2001-04-23 22:19:59 +00:00
fe466a70b6 Set window_icon of the splash screen to "evolution.png"
svn path=/trunk/; revision=9488
2001-04-21 20:19:42 +00:00
9d3f261e7c #include <unistd.h>
svn path=/trunk/; revision=9439
2001-04-18 13:52:29 +00:00
ccd69a31fd Proxy events to the tooltip object properly.
2001-04-17  Christopher James Lahey  <clahey@ximian.com>

	* e-shell-view.c (storage_set_view_box_event_cb): Proxy events to
	the tooltip object properly.

svn path=/trunk/; revision=9428
2001-04-17 18:35:37 +00:00
fbe64c2aee Pull up fix from the branch:
Make sure the OK button in the folder creation dialog is not sensitive
if no parent folder is selected.

Fix a Gtk-Warning that would happen if you selected "New" in the
folder selection dialog and then "Cancel" in the folder creation
dialog.

svn path=/trunk/; revision=9325
2001-04-15 14:51:19 +00:00
04fac44de1 Do this everywhere, also fixup CLEANFILES
Do this everywhere, also fixup CLEANFILES

2001-04-14  Michael Meeks  <michael@ximian.com>

	* Makefile.am (dist-hook): remove built sources from dist.

svn path=/trunk/; revision=9309
2001-04-14 08:02:59 +00:00
a5e6e0b5f3 Pull up fix from the 0-10 branch (chain the ::destroy handler for
ESplash to the parent class' ::destroy handler, thus fixing an
extremely stupid memory leak).

svn path=/trunk/; revision=9308
2001-04-14 02:32:15 +00:00
e54abe319e Implemented these.
2001-04-12  Christopher James Lahey  <clahey@ximian.com>

	* e-storage-set-view.c (etree_has_get_node_by_id,
	etree_get_node_by_id): Implemented these.

svn path=/trunk/; revision=9291
2001-04-13 00:48:18 +00:00
ac31cddc10 Don't get into an infinite loop when clicking on an IMAP storage. Might
* e-shell-view.c (switch_on_folder_tree_click): Don't get into an
	infinite loop when clicking on an IMAP storage. Might not be the
	best fix?

svn path=/trunk/; revision=9258
2001-04-11 22:55:20 +00:00
2eac67c34c fix type. we want the destination interface, not source.
2001-04-08  Chris Toshok  <toshok@ximian.com>

	* e-storage-set-view.c (tree_drag_motion): fix type.  we want the
	destination interface, not source.

svn path=/trunk/; revision=9204
2001-04-08 09:20:19 +00:00
f66390af64 Here goes my additional simple include fixes.
svn path=/trunk/; revision=9191
2001-04-05 00:39:19 +00:00
8fe47459cf Fix headers. Same here. Same here. Same here. Same here.
2001-04-04  Kjartan Maraas  <kmaraas@gnome.org>

	* e-local-folder.c: Fix headers.
	* e-shell-view.c: Same here.
	* e-shortcuts-view.c: Same here.
	* e-shortcuts.c: Same here.
	* e-storage-set-view.c: Same here.

svn path=/trunk/; revision=9184
2001-04-04 20:48:04 +00:00
7296e1c664 set content type to utf8. fix warning. just call on_link_clicked().
2001-04-04  Gediminas Paulauskas <menesis@delfi.lt>

	* mail-config-druid.c (create_html): set content type to utf8.
	* mail-config.c (mail_config_check_service): fix warning.
	* mail-display.c (link_open_in_browser): just call on_link_clicked().
	(link_menu): Open link works.
	(link_copy_location): claim selection.
	(on_selection_get): new function, selection handler.
	(mail_display_new): connect to selection_get. FIXME: does not work.

2001-04-04  Gediminas Paulauskas <menesis@delfi.lt>

	* importer/importer.c (create_html): copied newer and fixed function
	from mail/mail-config-druid.c.
	(html_new, put_html): removed.
	(show_import_wizard): use create_html instead of html_new/put_html pair.
	* importer/importer.glade: a try to set logo. removed source generation
	options.

svn path=/trunk/; revision=9161
2001-04-04 02:14:11 +00:00
f24a51e470 Don't declare debug_log as extern in evolution-shell-component-client.c,
* main.c:
	* evolution-shell-component-client.c: Don't declare debug_log as
	extern in evolution-shell-component-client.c, because that's part
	of libeshell and so gets linked into the other components.
	Instead, declare it there and extern it from main.c.
	(Noticed by Peter Williams)

svn path=/trunk/; revision=9136
2001-04-03 17:26:54 +00:00
785567b919 Merge fix for #1117 (g-warning being emitted when clicking on storage
nodes) from evolution-0-10-branch.

svn path=/trunk/; revision=9135
2001-04-03 17:23:17 +00:00
d5dc15ddf0 Pulled up fixes from evolution-0-10-branch.
svn path=/trunk/; revision=9133
2001-04-03 16:57:27 +00:00
dacf8177a9 Iain's fix did not help, fixing myself. closes #1914
svn path=/trunk/; revision=9112
2001-04-03 01:00:56 +00:00
042704ddd3 Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.

Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.

Accidentally got a couple of includes fix in, but they won't break anything.

svn path=/trunk/; revision=9092
2001-04-02 03:59:11 +00:00
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