Commit Graph

606 Commits

Author SHA1 Message Date
8b6c94e7cd Missing ChangeLog entries for the previous commit.
svn path=/trunk/; revision=10654
2001-07-01 08:24:50 +00:00
8fc1cb82fe Implemented a "Rename Group" command. Unfortunately, it doesn't work
very well due to EShortcutBar breakage.  But we'll fix that later.

svn path=/trunk/; revision=10653
2001-07-01 07:12:56 +00:00
6077a94d84 Change EShortcuts to not use group titles to access specific groups.
Also, allow more than one group with the same title.

svn path=/trunk/; revision=10652
2001-07-01 06:25:43 +00:00
3950295c0f Implemented a "Rename Shortcut" command.
svn path=/trunk/; revision=10651
2001-07-01 06:14:59 +00:00
d801d2df67 Change the internal structure for shortucts, so that it contains a
type and a name too.  The name will allow renaming shortcuts (thus
decoupling the name of the folder the shortcuts points to from the
name of the shortcut); the type member is used to cache the type of
the folder we point to so that we can still display the right icon
even if the folder is currently not in the storage (e.g. this happens
for IMAP folders when you haven't opened the corresponding IMAP node
yet).

I don't like the way this is designed at all (mainly, the
responsibility for saving the values should be moved elsewhere), but
I'll fix it later.

Also, I added an "Open in New Window" right-click menu item for
shortcuts.

svn path=/trunk/; revision=10649
2001-07-01 05:11:43 +00:00
786e6eada9 Pass the event time to gtk_menu_popup() so that we can release the button
2001-06-30  Federico Mena Quintero  <federico@ximian.com>

	* e-storage-set-view.c (popup_folder_menu): Pass the event time to
	gtk_menu_popup() so that we can release the button and have the
	menu stay up.

svn path=/trunk/; revision=10633
2001-06-30 18:29:39 +00:00
d6372c9ae9 This is a first shoot at making shortcuts renameable [#3719];
unfinished.  Also, it causes the shortcut bar to stop displaying
message unread count, but this is unfixable until we get rid of the
::LocalStorage interface, which should hopefully happen soon.

svn path=/trunk/; revision=10621
2001-06-30 02:28:44 +00:00
7f21c999f5 Replaced GList with GSList here to fix a type mismatch.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* e-shortcuts-view-model.c (load_all_shortcuts_into_model):
	Replaced GList with GSList here to fix a type mismatch.

svn path=/trunk/; revision=10619
2001-06-30 02:12:32 +00:00
6f940aed6e Changed $(datadir)/evolution/etspec to "$(etspecdir)" here.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am (INCLUDES): Changed $(datadir)/evolution/etspec to
	"$(etspecdir)" here.

svn path=/trunk/; revision=10618
2001-06-30 02:06:42 +00:00
e8b463223e Replaced GList with GSList here to fix a type mismatch.
2001-06-29  Christopher James Lahey  <clahey@ximian.com>

	* e-shortcuts-view-model.c (load_group_into_model): Replaced GList
	with GSList here to fix a type mismatch.

svn path=/trunk/; revision=10617
2001-06-30 02:01:44 +00:00
019a20555b Change EShortcuts to use GSLists instead of GLists.
svn path=/trunk/; revision=10615
2001-06-30 00:15:11 +00:00
f2d683ced7 Fix the fix.
svn path=/trunk/; revision=10589
2001-06-29 04:12:42 +00:00
136f298c2e Ooops. Update ChangeLog entry correctly.
svn path=/trunk/; revision=10588
2001-06-29 03:53:47 +00:00
9d83b98a54 Fix #3756, `--debug' option not working anymore.
svn path=/trunk/; revision=10586
2001-06-29 03:52:44 +00:00
9b087b2497 Fix #3382, shortcut bar crashes when checking mail, and all the
different incarnations involving updates to an shortcut bar having
shortcuts to non-existent folders.  Also, this fixes #1643, shortcuts
not visible until you enable an IMAP account, and #2436,
i.e. misbehavior of shortcut groups when IMAP or invalid shortcuts are
involved.

svn path=/trunk/; revision=10583
2001-06-29 02:04:43 +00:00
fcc55e12d5 (e_storage_new_folder): Move the folder_changed_cb() call to avoid
a g_warning.

svn path=/trunk/; revision=10570
2001-06-28 19:47:55 +00:00
07fcfdf436 Call folder_changed_cb after adding the new folder so that if it was added
* e-storage.c (e_storage_new_folder): Call folder_changed_cb after
	adding the new folder so that if it was added highlighted, its
	parent will get its child_highlight set.

svn path=/trunk/; revision=10569
2001-06-28 19:05:41 +00:00
d77b63aa3c Rename e_shell_new_view()' into e_shell_create_view()' to avoid
confusion with `e_shell_view_new()'.

svn path=/trunk/; revision=10556
2001-06-28 05:56:16 +00:00
268c7dbe42 Make the shell to be able to display URIs that the user specified on
the command-line.

svn path=/trunk/; revision=10554
2001-06-28 04:50:02 +00:00
764cfb5a6b Added a URI schema registry to the shell, and changed the bootstrap
sequence to get the schema lists from the components and register them
into it.

svn path=/trunk/; revision=10553
2001-06-28 02:22:40 +00:00
b09674da4e Remove redundant declaration for `free_ShellComponentListener_servant()'.
svn path=/trunk/; revision=10551
2001-06-27 23:53:33 +00:00
f61048ada1 Get EvolutionShellComponent to emit a "handle_external_uri" when it
gets an handleExternalURI CORBA invokation.

svn path=/trunk/; revision=10550
2001-06-27 23:44:36 +00:00
411d79d488 Rename the method implementation functions to match the CORBA names.
svn path=/trunk/; revision=10549
2001-06-27 23:37:01 +00:00
d82d5a7997 Add method `ShellComponent::handleExternalURI' and an
`external_uri_schemas' attribute.  Update the EvolutionShellComponent
GTK+ wrapper accordingly.  Update all the components to pass a NULL
`external_uri_schemas' list when initializing themselves as
EvolutionShellComponents.

svn path=/trunk/; revision=10548
2001-06-27 23:17:41 +00:00
63e66cab10 Remove a ChangeLog entry that referred to code that I haven't
committed yet.  Ooops.  :-)

svn path=/trunk/; revision=10528
2001-06-27 08:07:53 +00:00
98ba73cd57 Plug a leak. Every time the ETable would query the model for the
string at the top of the tree, a "My Evolution" string would be
leaked.

svn path=/trunk/; revision=10523
2001-06-27 02:39:03 +00:00
eb2c101eaf Avoid calling the listener directly in `e-local-folder.c'; instead,
just return appropriate values from the signal handlers, as expected
by the API.

svn path=/trunk/; revision=10522
2001-06-27 00:44:52 +00:00
4d5ccfcb23 display a selected uri in a timeout rather than right away, so the UI
2001-06-25  jacob berkman  <jacob@ximian.com>

	* e-shell-view.c: (set_folder_timeout): display a selected uri in
	a timeout rather than right away, so the UI feels a bit more
	responsive, and the tree is more navigable via keyboard
	(switch_on_folder_tree_click): use the timeout rather than setting
	the URI right away
	(destroy): remove the timeout if it still exists
	(update_for_current_uri): if there is a timeout set, don't update
	(e_shell_view_display_uri): remove the timeout if it exists

svn path=/trunk/; revision=10490
2001-06-25 20:30:42 +00:00
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