Commit Graph

578 Commits

Author SHA1 Message Date
d2f749b6ab Get the shell to unregister the components on exit again.
svn path=/trunk/; revision=10475
2001-06-25 08:29:35 +00:00
57a9a15d42 Break the build so the current shell breakage doesn't get into the
builds.

svn path=/trunk/; revision=10474
2001-06-25 07:56:56 +00:00
6e07a7685a Remove some spurious "\n"s from g_warnings.
svn path=/trunk/; revision=10472
2001-06-25 07:01:06 +00:00
b4457f6518 Ooops. I missed one ChangeLog entry in the previous commit.
svn path=/trunk/; revision=10471
2001-06-25 06:38:53 +00:00
060e43e79b Fixed a nasty chain of broken fixes to broken fixes to broken fixes,
thus getting the shell refcounting in better shape.  The quit sequence
is still not quite right, but we are getting there.

Also fixed a nasty bug in destroying the EStorageSet due to a very old
commit by the Meekster.

svn path=/trunk/; revision=10470
2001-06-25 06:36:22 +00:00
8a77a47f19 Remove the ugliness that was `e_shell_quit()'; implement an
`e_shell_destroy_all_views()' function instead, and get the "Exit"
menu item to use that instead.

svn path=/trunk/; revision=10467
2001-06-25 04:41:32 +00:00
5cd485fec1 Rename `GNOME_Evolution_TestComponent.oafinfo' into
`GNOME_Evolution_TestComponent.oaf'.

svn path=/trunk/; revision=10466
2001-06-25 04:30:03 +00:00
4270cc1d3e Change EShell to derive from BonoboXObject for sake of simplicity.
Also change it so that it cleanly unregisters from OAF on ::destroy.

svn path=/trunk/; revision=10465
2001-06-25 04:24:59 +00:00
2f67aaaf88 Actually implement the "clicked" signal for the EActivityHandler, and
add some small testing code for it in the test component.

svn path=/trunk/; revision=10464
2001-06-25 02:54:12 +00:00
be46f0d11c Fix a gazillion warnings.
svn path=/trunk/; revision=10451
2001-06-24 15:32:00 +00:00
4e1fe266e7 Derive ETaskWidget from GtkEventBox instead of GtkFrame so that we can
get button_press events from it.  Also, get the EActivtyHandler to
properly dispatch "Clicked" events when the user clicks on an
ETaskWidget.

svn path=/trunk/; revision=10450
2001-06-24 15:25:44 +00:00
ea40bb0823 Added an EvolutionActivityClient object to libeshell, to handle
updating of progress information from the component's side.  This
object allows to automatically set a lower limit to the delay between
CORBA calls towards the shell, so that the component isn't slowed down
too much by doing too frequent updates.

Also changed the test component to use this instead of doing CORBA
calls directly.

svn path=/trunk/; revision=10449
2001-06-24 13:13:50 +00:00
5b52672a15 Add code to query the ::Activity interface in the
EvolutionShellComponent class and get the test component to use it.

svn path=/trunk/; revision=10448
2001-06-24 10:39:51 +00:00
602fee638e (Implemented deleting folders in the shell. Files changed that aren't
(Implemented deleting folders in the shell.  Files changed that aren't
 noted below were simply small indentation/space changes.  To play
 with deleting folders, right click on a selected folder in the folder
 tree, then choose Delete.)

2001-06-23  Jason Leach  <jleach@ximian.com>

	* e-shell-folder-selection-dialog.c
	(e_shell_folder_selection_dialog_construct): Make the folder tree
	have a similar expanded state as the shell's folder tree.

	* e-local-storage.c (remove_folder): New function that does the
	meat of actual deletion stuff.
	(remove_folder_directory): A helper function that remove_folder()
	uses.
	(component_async_remove_folder_callback): A new callback to do the
	removing stuff from shell (if there weren't errors from the
	component).
	(impl_async_remove_folder): Implemented this.

	* evolution-shell-component-client.c
	(evolution_shell_component_client_async_remove_folder):
	Implemented this.

	* e-shell-view.c (e_shell_view_remove_control_for_uri): New
	function.

svn path=/trunk/; revision=10446
2001-06-23 18:58:02 +00:00
92d5ddd3b1 Stylistical changes: move
e_shell_view_{get,set}_current_shortcuts_group_num() at the bottom of
the file, add pre-conditions to them, and reindent the header file
slightly.

svn path=/trunk/; revision=10444
2001-06-23 17:47:35 +00:00
e35f33a592 Remove some useless `#if 0'ed code.
svn path=/trunk/; revision=10442
2001-06-23 09:43:29 +00:00
86027d9cf0 Get rid of the tons of ugly Bonobo Warnings by removing the code that
tried to put messages in the status bar which doesn't exist anymore.

svn path=/trunk/; revision=10441
2001-06-23 09:42:11 +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
bb9e2eb060 Fix a bunch of stupid warnings caused by missing includes. Also
placate GCC on a bogus "uninitialized variable" error.

svn path=/trunk/; revision=10438
2001-06-23 07:14:23 +00:00
1373f7ac73 Get the menu hints to work with the new status bar.
svn path=/trunk/; revision=10437
2001-06-23 07:03:46 +00:00
0d018e19d3 Add `evolution-test-component'.
svn path=/trunk/; revision=10436
2001-06-23 06:51:51 +00:00
c94ca2b00d Fix the "Quit" command so that the shell actually exits properly.
svn path=/trunk/; revision=10435
2001-06-23 06:49:59 +00:00
b106b13525 Implemented an Evolution::Activity interface for keeping track of
background tasks.  The Activity interface is added to the shell, and
the status of the various tasks is now displayed in a task bar widget
at the bottom of the EShellView.

I also implemented a simple test component to test all this stuff.

svn path=/trunk/; revision=10434
2001-06-23 06:46:13 +00:00
7c46a40c7c Oops, small fix.
svn path=/trunk/; revision=10371
2001-06-21 18:29:01 +00:00
09b9a3a4da Fix bug #3409: Removing an EvolutionStorage from the shell's folder
tree.

svn path=/trunk/; revision=10362
2001-06-21 16:03:26 +00:00
b6b3732f00 Remove DB3_LDADD
* Makefile.am (evolution_LDADD): Remove DB3_LDADD

svn path=/trunk/; revision=10275
2001-06-18 20:10:54 +00:00
3a4f16b681 Fix the help URLs
* e-shell-view-menu.c: Fix the help URLs

svn path=/trunk/; revision=10265
2001-06-18 17:50:51 +00:00
3a0539c91a Check priv->uri isn't null before strcmp'ing it here too.
2001-06-13  Not Zed  <NotZed@Ximian.com>

        * e-shell-view.c (switch_on_folder_tree_click): Check priv->uri
        isn't null before strcmp'ing it here too.

svn path=/trunk/; revision=10206
2001-06-13 02:07:20 +00:00
e3e33f6f0b Don't destroy the offline_toggle_pixmap: the offline_toggle 0wnz it.
* e-shell-view.c (destroy): Don't destroy the
	offline_toggle_pixmap: the offline_toggle 0wnz it.
	(update_for_current_uri): Check priv->uri isn't NULL before
	strcmp()ing it.

svn path=/trunk/; revision=10187
2001-06-11 18:38:00 +00:00
7d4569259e Fixed folder creation on IMAP storages (by notifying bonobo listener with
2001-06-11  Jason Leach  <jleach@ximian.com>

	* evolution-storage.c (impl_Storage_async_create_folder): Fixed
	folder creation on IMAP storages (by notifying bonobo listener
	with the result).

	* evolution-storage-listener.c: Some cleaning.

svn path=/trunk/; revision=10186
2001-06-11 16:31:04 +00:00
d09d496299 Committing the new My Evolution.
svn path=/trunk/; revision=10163
2001-06-08 20:47:52 +00:00
63f6e70ecc Allow a NULL @shell_view arg in
`e_shell_command_add_to_shortcut_bar()'.

svn path=/trunk/; revision=10160
2001-06-08 18:51:04 +00:00
216d52cd43 Fix splash setup to keep it from giving two Gtk-CRITICAL assertions when
2001-06-08  Jason Leach  <jleach@ximian.com>

	* e-shell.c (e_shell_construct): Fix splash setup to keep it from
	giving two Gtk-CRITICAL assertions when you do --no-splash.

svn path=/trunk/; revision=10158
2001-06-08 18:00:37 +00:00
632f8e0634 Removed some left-over conflict indicators.
svn path=/trunk/; revision=10140
2001-06-06 22:35:55 +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
66782a0fc5 Changed the dialog box and added a Don't Ask Me Again button. Oh yeah!
svn path=/trunk/; revision=10138
2001-06-06 22:06:49 +00:00
aa71323c61 (Fix bug #3205: Component crash causes folder switch even when not needed)
2001-06-06  Jason Leach  <jleach@ximian.com>

	(Fix bug #3205: Component crash causes folder switch even when not
	 needed)

	 * e-shell-view.c (socket_destroy_cb): Only flip around the
	 ShellView to different folders when we're currently viewing the
	 URI that's being closed/crashed.

svn path=/trunk/; revision=10137
2001-06-06 21:22:04 +00:00
c77b7e3020 (Fix bug #418: Save state of folder tree view)
2001-06-06  Jason Leach  <jleach@ximian.com>

	(Fix bug #418: Save state of folder tree view)

	* e-shell-view.c (e_shell_view_save_settings): Changed the char *
	@prefix argument to an int @view_num.
	(e_shell_view_load_settings): Ditto.
	(get_local_prefix_for_view): New function that gets us a prefix
	from a view_num.

	* e-shell-view.c (e_shell_view_save_settings): Save the
	expanded/collapsed information for each storage-set-view here.
	(e_shell_view_load_settings): Load it here.

	* e-storage-set-view.c (e_storage_set_view_construct): Make it so
	new storage set views have their storages expanded by default, but
	will respsect the expanded state information that we load into it.
	(insert_storages): Minor change here too.
	(new_folder_cb): Ditto.

svn path=/trunk/; revision=10135
2001-06-06 19:38:28 +00:00
9a3c412e4f Plug in all the folder tree right click menu verbs so bonobo-warnings
2001-06-05  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c: Plug in all the folder tree right click
	menu verbs so bonobo-warnings aren't emitted (even though the
	respective implementation functions are currently unimplemented).
	(command_delete_folder): New function, see above.
	(command_rename_folder): Ditto.
	(command_folder_properties): Ditto.

	* e-shell-folder-commands.c (e_shell_command_delete_folder): New
	function, currently unimplemented.

svn path=/trunk/; revision=10128
2001-06-06 00:05:53 +00:00
8f366de2a4 (Fixing bug #1299: Shell saves shortcuts when display name changes)
2001-06-04  Jason Leach  <jleach@ximian.com>

	(Fixing bug #1299: Shell saves shortcuts when display name
	 changes)

	* e-shortcuts.c (class_init): New signal: "update_shortcut".

	* e-shortcuts-view-model.c (e_shortcuts_view_model_construct):
	Connect thew new signal here.

	* e-shortcuts-view-model.c (shortcuts_update_shortcut_cb): New
	function, uses the new e_shortcut_model_update_item().

	* e-shell-view.c (corba_interface_set_folder_bar_label): Fix a
	warning here.

svn path=/trunk/; revision=10116
2001-06-05 17:10:32 +00:00
b8306eaf97 Fix linking order for `$(DB3_LDADD)'s so that we avoid pulling
functions from a different Berkeley DB library when we really don't
mean to.

svn path=/trunk/; revision=10105
2001-06-03 07:41:05 +00:00
b537b315eb Add some missing `$(DB3_LDADD)'s to get it to compile.
svn path=/trunk/; revision=10078
2001-06-01 11:48:39 +00:00
65460ea535 New function (probably should just be static).
2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-view.c (e_shell_view_set_current_shortcuts_group_num):
	New function (probably should just be static).
	(e_shell_view_load_settings): Load the current shortcut group here
	using the above new function.
	(e_shell_view_save_settings): Save current shortcut group in here.

2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-folder-title-bar.c: New 'folder_bar_label' member for
	EShellFolderTitleBar, it's for information that's shown to the
	left of the icon like the dates in the calendar (or, potentially
	total and unread numbers for mailer).
	(e_shell_folder_title_bar_set_folder_bar_label): New function,
	lets others set the title bar extra label.

	* Evolution-ShellView.idl: New method 'setFolderBarLabel' for our
	exposed ShellView interface.

	* evolution-shell-view.c (class_init): New signal
	"set_folder_bar_label" for EvolutionShellViewClass.

	* evolution-shell-view.c (impl_ShellView_set_folder_bar_label):
	Emit the new signal here.

	* e-shell-view.c (setup_corba_interface): Connect the signal here.

	* e-shell-view.c (corba_interface_set_folder_bar_label): New
	function, callback for the above signals, does the actual extra
	label setting for the folder title bar.

	* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
	Fix a warning here.

svn path=/trunk/; revision=10059
2001-05-31 00:24:59 +00:00
225120f19f Removed an unecessary sleep(2) call, so evolution will start up 2 seconds
2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell.c (e_shell_construct): Removed an unecessary sleep(2)
	call, so evolution will start up 2 seconds faster now.

2001-05-30  Jason Leach  <jleach@ximian.com>

	* e-shell-view-menu.c: Connect the AddFolderToShortcutBar verb to
	their implementation functions.

	* e-shell-view.c (e_shell_view_get_current_shortcuts_group_num):
	New function, use it to find out which shourtcut group is
	currently open on the shortcut bar.

	* e-shell-folder-commands.c (e_shell_command_add_to_shortcut_bar):
	Implement this using new function described above.

svn path=/trunk/; revision=10052
2001-05-30 19:39:47 +00:00
5fe6cec0fe Added missing castt. (setup_offline_toggle): Likewise.
2001-05-29  Federico Mena Quintero  <federico@ximian.com>

	* e-shell-view.c (setup_progress_bar): Added missing castt.
	(setup_offline_toggle): Likewise.

svn path=/trunk/; revision=10048
2001-05-29 23:48:42 +00:00
6ce483ec6c unref the control when finished with it (setup_offline_toggle): ditto
2001-05-29  JP Rosevear  <jpr@ximian.com>

	* e-shell-view.c (setup_progress_bar): unref the control when
	finished with it
	(setup_offline_toggle): ditto
	(destroy): destroy offline and progress widgets

svn path=/trunk/; revision=10043
2001-05-29 19:13:30 +00:00
d591587d8f Call e_tree_node_set_expanded on the storage_set_view, not the storage_set
* e-storage-set-view.c (new_storage_cb): Call
	e_tree_node_set_expanded on the storage_set_view, not the
	storage_set (which is not an ETree).

svn path=/trunk/; revision=10033
2001-05-28 21:06:34 +00:00
c22a58021c add *.lo, libeshell.la
svn path=/trunk/; revision=10028
2001-05-28 18:29:20 +00:00
6eb6e536f9 New file. (e_pixmaps_update): Moved here from e-util to break e-util
* evolution-shell-component-utils.c: New file.
	(e_pixmaps_update): Moved here from e-util to break e-util bonobo
	dependency.

	* e-shell-view-menu.c: #include
	"evolution-shell-component-utils.h" instead of "e-gui-utils.h"

	* Makefile.am (libeshell_la_SOURCES, eshellinclude_HEADERS): Add
	evolution-shell-component-utils.[ch]

svn path=/trunk/; revision=10018
2001-05-27 18:00:52 +00:00
ddc7d71827 Don't free the hash keys in priv->path_to_etree_node, because they're
* e-storage-set-view.c (destroy): Don't free the hash keys in
	priv->path_to_etree_node, because they're owned by the ETree now.
	(e_storage_set_view_set_show_folders): Likewise.

svn path=/trunk/; revision=10012
2001-05-26 19:17:02 +00:00