Commit Graph

513 Commits

Author SHA1 Message Date
3e6eb6c202 implement the CORBA side of dragging.
2001-05-12  Chris Toshok  <toshok@ximian.com>

	* e-storage-set-view.c (tree_drag_data_received): implement the
	CORBA side of dragging.
	(convert_gdk_drag_action_set_to_corba): rename
	convert_gdk_drag_action_to_corba to this.
	(convert_corba_drag_action_set_to_gdk): rename
	convert_corba_drag_action_to_gdk to this.
	(convert_gdk_drag_action_to_corba): new function that doesn't
	build a bitmask, useful for the Action types, instead of
	ActionSet.
	(convert_corba_drag_action_to_gdk): same.

svn path=/trunk/; revision=9780
2001-05-12 08:26:35 +00:00
d35a3f652b add RemoveFolder menu item and verb. (folder_context_menu_remove_cb): new
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* e-storage-set-view.c
	(populate_folder_context_menu_with_common_items): add RemoveFolder
	menu item and verb.
	(folder_context_menu_remove_cb): new function, call
	e_storage_set_async_remove_folder.
	(remove_cb): callack for e_storage_set_async_remove_folder.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_populate_folder_context_menu):
	fix prototype to reflect Component -> Container.

	* evolution-shell-component-client.h: same.

svn path=/trunk/; revision=9778
2001-05-11 23:59:32 +00:00
12de520a89 add this define for the xml path to use when adding menu items to the
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component.h
	(EVOLUTION_SHELL_COMPONENT_POPUP_PLACEHOLDER): add this define for
	the xml path to use when adding menu items to the folder popup.

	* e-storage-set-view.c
	(populate_folder_context_menu_with_common_items): add (#ifdef
	DEBUG_XML) a menu item to dump the bonobo xml.
	(popup_folder_menu): pass the BonoboUIContainer to the
	populate_folder_context_menu CORBA call, instead of the component.
	Also, reorder things a bit so the component doesn't get an error
	when setting xml the first time.

svn path=/trunk/; revision=9777
2001-05-11 23:13:28 +00:00
dd032fc24d Ask for a folder to import into.
svn path=/trunk/; revision=9775
2001-05-11 21:19:33 +00:00
b4796b6376 component_new refs the object itself, so unref ours when we finish with it
2001-05-11  JP Rosevear  <jpr@ximian.com>

	* e-component-registry.c (register_component): component_new refs
	the object itself, so unref ours when we finish with it

	* e-shell.c (e_shell_construct): There is no need to explicitly
	ref the folder type registry, storage set and shortcuts because we
	are the creator and hold the initial ref count of 1.

svn path=/trunk/; revision=9766
2001-05-11 19:41:27 +00:00
dadbbd6f8f Lots of people seem to have "broken" local storage hierarchies. So ignore
* e-local-storage.c (load_folder): Lots of people seem to have
	"broken" local storage hierarchies. So ignore errors (like the old
	code did) and just print a warning.

svn path=/trunk/; revision=9758
2001-05-11 16:41:31 +00:00
7da5a58462 the only problematic area - pass NULL for now in as the BonoboUIContainer.
2001-05-11  Chris Toshok  <toshok@ximian.com>

	* evolution-storage-set-view-factory.c
	(evolution_storage_set_view_factory_new_view): the only
	problematic area - pass NULL for now in as the BonoboUIContainer.
	how do we pass this container to the control?

	* e-storage-set-view.c (folder_context_menu_activate): un-#if 0
	this function.
	(populate_folder_context_menu_with_common_items): build our popup
	using the new xml bonobo stuffs.
	(popup_folder_menu): convert to using the new xml bonobo stuffs.
	(right_click): only do the popup menu if we have a
	BonoboUIContainer.
	(e_storage_set_view_new): add BonoboUIContainer* arg.
	(e_storage_set_view_construct): same.

	* e-storage-set-view.h: add BonoboUIContainer* args to
	e_storage_set_view_new and e_storage_set_view_construct.

	* e-shell-folder-creation-dialog.c (add_storage_set_view): pass
	NULL for the BonoboUIContainer, since we shouldn't (?) have a
	popup in this dialog.

	* e-shell-folder-selection-dialog.c
	(e_shell_folder_selection_dialog_construct): pass NULL for the
	BonoboUIContainer, since we shouldn't (?) have a popup in this
	dialog.

	* e-storage-set.h: add BonoboUIContainer* arg to
	e_storage_set_new_view.

	* e-storage-set.c (e_storage_set_new_view): add arg, and track
	change to e_storage_set_view_new.

	* e-shell-view.h: add prototype for
	e_shell_view_get_bonobo_ui_container.

	* e-shell-view.c (setup_storage_set_subwindow): track change to
	e_storage_set_view_new.
	(e_shell_view_construct): the BonoboUIContainer is now part of our
	private structure.
	(e_shell_view_get_bonobo_ui_container): new function.

svn path=/trunk/; revision=9756
2001-05-11 11:14:45 +00:00
33b9baa063 Made this function static. Removed the unused variable placeholder.
2001-05-09  Christopher James Lahey  <clahey@ximian.com>

	* importer/intelligent.c (create_gui): Made this function static.
	Removed the unused variable placeholder.
	(intelligent_importer_init): Cast from gpointer to int here
	properly using GPOINTER_TO_INT.

svn path=/trunk/; revision=9730
2001-05-09 19:55:04 +00:00
f344dd0ad3 Remove get_physical_path and load_folders, and replace the calls to them
* e-local-storage.c: Remove get_physical_path and load_folders,
	and replace the calls to them with calls to the e_path_* functions
	they inspired.

svn path=/trunk/; revision=9726
2001-05-09 17:20:08 +00:00
a9dabb8523 Rename "port" to "type" here too.
* glade/e-active-connection-dialog.glade: Rename "port" to "type"
	here too.

svn path=/trunk/; revision=9725
2001-05-09 16:52:31 +00:00
c64eccfe00 Importer changes
svn path=/trunk/; revision=9722
2001-05-08 22:53:41 +00:00
10a1eb46a9 Removed EVOLUTION_VERSION from the rest of makefiles. use VERSION instead. So
you must include <config.h>, heh.

and a stil-not-working "fix" for galview menus.

svn path=/trunk/; revision=9707
2001-05-08 00:28:34 +00:00
fe1de979a2 Fix a free of non-malloc'ed memory introduced by my last change.
* e-shell-offline-handler.c (update_dialog_clist_hash_foreach):
	Fix a free of non-malloc'ed memory introduced by my last change.

svn path=/trunk/; revision=9702
2001-05-07 21:47:20 +00:00
46e839289d Added command entry for 'ToggleOffline'.
2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* evolution.xml: Added	command entry for 'ToggleOffline'.

2001-05-07  Jon Trowbridge  <trow@ximian.com>

	* e-shell-view-menu.c (update_offline_menu_item): Changed some
	references to /commands/WorkOffline to /commands/ToggleOffline.

svn path=/trunk/; revision=9699
2001-05-07 20:51:50 +00:00
d56b9ce7fb take a physical_uri and pass it to the callback.
2001-05-04  Chris Toshok  <toshok@ximian.com>

	* evolution-shell-component-dnd.c
	(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleMotion):
	take a physical_uri and pass it to the callback.
	(impl_GNOME_Evolution_ShellComponentDnd_DestinationFolder_handleDrop):
	same.

	* evolution-shell-component-dnd.h: add physical_uri args to the
	destination folder HandleMotion and HandleDrop types.

	* Evolution-ShellComponentDnd.idl: add "in string physical_uri" to
	DestinationFolder::handleMotion and DestinationFolder::handleDrop.

	* e-storage-set-view.c (tree_drag_motion): pass the physical uri
	of the folder to handleMotion.

svn path=/trunk/; revision=9678
2001-05-04 22:25:21 +00:00
5eb2d61037 Use type instead of portNumber.
* e-shell-offline-handler.c (update_dialog_clist_hash_foreach,
	(duplicate_connection_list): Use type instead of portNumber.
	(e_shell_offline_handler_put_components_offline): Fix the logic of
	when to show the connection dialog here. (Show it when there *are*
	connections, not when there aren't.)

	* Evolution-Offline.idl: Have a "string type" instead of "short
	portNumber" in Connection.

svn path=/trunk/; revision=9676
2001-05-04 17:59:35 +00:00
7e617f37b8 Remove a line of code that caused the offline confirmation dialog to
be popped up even if no connections were active (it was there for
testing purposes only).

svn path=/trunk/; revision=9675
2001-05-04 17:11:44 +00:00
79dd5a50b2 Undo a broken leak fix.
svn path=/trunk/; revision=9674
2001-05-04 16:09:54 +00:00
b8fea86c9d Plug more leaks.
svn path=/trunk/; revision=9671
2001-05-04 15:56:34 +00:00
ce2456dde6 Plug a leak in the folder creation dialog (a string was being
unnecessarily duplicated twice).

svn path=/trunk/; revision=9669
2001-05-04 15:41:13 +00:00
134cba36bc Plug a leak (the return value from `oaf_query()' must be freed!).
svn path=/trunk/; revision=9668
2001-05-04 15:35:27 +00:00
76c3e060b7 Change `e_shell_get_icon_path()' to only look up the Evolution image
directory instead of using `gnome_pixmap_file()' which is broken and
looks in the current working directory first.  (Why?!)

svn path=/trunk/; revision=9666
2001-05-04 14:23:42 +00:00
771096d3e7 Change the mode for the GtkCList in the active connection dialog to be
`GTK_BROWSE_SINGLE' to at least avoid some GtkCList ugliness.

svn path=/trunk/; revision=9663
2001-05-04 02:52:47 +00:00
be2f9a67f6 Complete the shell side for supporting off-line operations, getting
the dialog to fully work and the menu item to change its label
according to the current status of the line.

svn path=/trunk/; revision=9662
2001-05-04 02:47:33 +00:00
7cfacb2f84 Initial implementation for the "warning, some connections are still
active" dialog.

svn path=/trunk/; revision=9661
2001-05-03 23:03:18 +00:00
9a904c937f Make the `EShellOfflineHandler' object non-floating in the construct
method.

svn path=/trunk/; revision=9655
2001-05-03 12:18:43 +00:00
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