Commit Graph

196 Commits

Author SHA1 Message Date
5778265e23 add "in string evolution_homedir" to ShellComponent::set_owner's
* Evolution-ShellComponent.idl: add "in string evolution_homedir"
        to ShellComponent::set_owner's arguments.

        * e-shell.c (e_shell_get_local_directory): Expose local_directory.

        * e-component-registry.c (register_component): Pass the shell's
        "local_directory" to the component as its evolution_homedir.

        * evolution-shell-component.c (impl_ShellComponent_set_owner):
        Update to include evolution_homedir.
        (class_init): Update signal prototype.

        * evolution-shell-component-client.c
        (evolution_shell_component_client_set_owner): Update to include
        evolution_homedir.

        * e-init.c: Remove. This wasn't being used.

svn path=/trunk/; revision=4710
2000-08-10 23:59:41 +00:00
d2ef306a99 Fixed some warnings.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-setup.c, e-shell.c: Fixed some warnings.

svn path=/trunk/; revision=4661
2000-08-09 19:49:29 +00:00
09e1677c54 Actually commit this - I though it went in already.
2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* configure.in: Remove gconf check

2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* mail-config.glade: Increase window size slightly, rename
	"Transport" to "Mail Transport"

	* mail-config.c (init_config): Remove gconf references
	(clear_config): ditto
	(read_config): ditto
	(write_config): ditto
	(mail_config): Null provider lists before filling them
	(mail_config_druid): ditto
	(identity_page_new): Increase spacing of vbox
	(service_page_new): ditto

	* Makefile.am: Remove gconf references.

2000-08-03  JP Rosevear  <jpr@helixcode.com>

	* e-shell.h: Remove gconf references

	* e-shell-view.h: Remove gconf references

	* main.c (idle_cb): Remove gconf references

	* Makefile.am: Remove gconf cflags and libs

	* e-shell-view.c (e_shell_view_load_settings): Change to use
	gnome-config
	(e_shell_view_save_settings): ditto

	* e-shell.c (e_shell_restore_from_settings): Change to
	use gnome_config
	(save_settings_for_views): ditto

svn path=/trunk/; revision=4530
2000-08-04 14:58:43 +00:00
6d6b9ec70e Remove erroneous refs on folder_type_registry, storage_set.
2000-08-04  Michael Meeks  <michael@helixcode.com>

	* e-shell.c (e_shell_construct): Remove erroneous refs on
	folder_type_registry, storage_set.

	* e-shortcuts-view.c (destroy): unref the shortcuts, causing a
	massive ripple chain ref-count reaction.

svn path=/trunk/; revision=4522
2000-08-04 01:14:32 +00:00
dbf077d9dd Remove GOAD support.
* e-shell.c, main.c: Remove GOAD support.

	* evolution-shell-component-client.c: Remove GOAD support.
	(evolution_shell_component_client_new): Give the "maybe
	OAF_INFO_PATH" message if no oafinfo file was found, and give a
	"consult previous error messages" message if the component was
	found but not activated. Abort in either case.

svn path=/trunk/; revision=4299
2000-07-25 01:16:38 +00:00
be07467191 Fix a braino that caused Evolution to unref a NULL object when the
shortcut file was not found.

svn path=/trunk/; revision=4272
2000-07-21 23:36:11 +00:00
b40242c395 Add support for saving the current configuration of all the
components.

svn path=/trunk/; revision=4237
2000-07-20 13:37:56 +00:00
1168da7072 Added/fixed support for multiple views.
svn path=/trunk/; revision=4234
2000-07-20 07:32:34 +00:00
52d48e02c1 Translate a default_folder of "" into NULL (which can't be passed over
* e-shell.c (impl_Shell_user_select_folder): Translate a
	default_folder of "" into NULL (which can't be passed over CORBA).

svn path=/trunk/; revision=4057
2000-07-10 22:17:43 +00:00
c2afd80bd6 Add an extra ref for the CORBA storage BonoboObject so that the number
of refs and unrefs matches again.

svn path=/trunk/; revision=3951
2000-07-07 17:54:25 +00:00
a4e1613aae Use the correct gconf path (/apps, not /app), and call
* e-shell.c (e_shell_save_settings): Use the correct gconf path
	(/apps, not /app), and call gconf_client_suggest_sync at the end.
	(e_shell_restore_from_settings): Use the correct gconf path.

svn path=/trunk/; revision=3907
2000-07-06 02:31:40 +00:00
fbc6a557a6 Added an extra @allowed_types parameter to the shell's folder
selection dialog, and update the code that uses it accordingly.

svn path=/trunk/; revision=3854
2000-07-02 04:46:36 +00:00
a84feecf5b Removed bogus extra gtk_object_ref() that caused the shell not to quit
correctly.

svn path=/trunk/; revision=3853
2000-07-02 01:40:28 +00:00
83387a7fdd add "cancel" to FolderSelectionListener.
* Evolution-Shell.idl: add "cancel" to FolderSelectionListener.

	* evolution-shell-client.c (impl_FolderSelectionListener_cancel):
	Implement cancel (set *uri and *physical_uri to NULL).
	(evolution_shell_client_user_select_folder): document %NULL uri
	and physical_uri return values.

	* e-shell.c (folder_selection_dialog_clicked_cb): If the user
	clicked "Cancel" or used the wm to close the dialog, call _cancel
	instead of _selected.

svn path=/trunk/; revision=3831
2000-06-30 19:04:42 +00:00
eb200d7ae0 Typo fix
svn path=/trunk/; revision=3794
2000-06-29 16:36:43 +00:00
d2875d9e05 Fixes brought to us by Purify
svn path=/trunk/; revision=3792
2000-06-29 15:31:01 +00:00
3bedc38a94 Implement saving of configuration information. Now when you run
Evolution it will display the same folder as the last time, and will
hide/show the shortcut/folder bars as the last time.

This uses GConf so I also put a GConf check into configure.in.

svn path=/trunk/; revision=3787
2000-06-29 07:37:55 +00:00
74ada04fb2 Close the dialog when done. Dont do anything if 'new' was pressed, and
2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

        * e-shell.c (folder_selection_dialog_clicked_cb): Close the dialog
        when done.  Dont do anything if 'new' was pressed, and always
        return empty strings if 'cancel' was pressed.

2000-06-27  Michael Zucchi  <zucchi@zedzone.mmc.com.au>

        * e-shell.c (impl_Shell_user_select_folder): Set the listener as
        the corba_listener data, not the shell.

svn path=/trunk/; revision=3747
2000-06-27 03:43:17 +00:00
0097872c13 Folder selection dialog, (untested) CORBA interfaces for it, and a new
"Go to folder..." menu item.  Also made the creation dialog slightly
larger.

svn path=/trunk/; revision=3508
2000-06-10 20:35:52 +00:00
bbb6a6942f Implemented folder creation dialog (File -> New -> Folder). To make
it really work though, the components should implement creation
functionality by passing an appropriate function pointer in
`e_shell_component_new()' for @create_folder_fn.

svn path=/trunk/; revision=3504
2000-06-10 17:56:46 +00:00
7f36752a67 Initial support for creating/removing folders. This implies some new
IDL methods and new functions to implement on the component side.  I
have also added a simple folder creation dialog in the shell.  It's
quite unfinished and untested.

svn path=/trunk/; revision=3491
2000-06-09 19:19:36 +00:00
e7971bb4f5 Fixed a refcount leak and added interfaces to add/remove folders
from an EStorage (although they are not implemented yet).

svn path=/trunk/; revision=3460
2000-06-07 17:01:52 +00:00
ef233d76ee Free the uri variable.
2000-06-02  Christopher James Lahey  <clahey@helixcode.com>

	* e-shell-view.c: Free the uri variable.

	* e-shell.c: Free the local_directory variable.

svn path=/trunk/; revision=3385
2000-06-02 08:01:25 +00:00
fad1048c1b Make quit work again by implementing a CORBA method to unregister
components in ShellComponent.  Implemented toggle menu items to
hide/show the shortcut bar and the folder bar (but they don't work,
apparently because of some BonoboUIHandler bogosity).  Implemented a
CORBA method in Shell to allow a client to get the component that
handles a certain folder type.

svn path=/trunk/; revision=3303
2000-05-30 23:59:22 +00:00
bdf6f37a8a Added a title bar for the folder view. Removed title bar from the
shortcut view.  Made shortcuts behave correctly when moved around.
Also, implemented automatic re-saving of the shortcuts when they
change.

svn path=/trunk/; revision=3276
2000-05-30 06:32:14 +00:00
47ab2202ba Made the storage view update at changes in the storage, and
implemented a BonoboObject for wrapping the Evolution::Storage CORBA
interface.  Also fixed a few bugs.

This makes the shell's storage extensibility usable for Evolution
components.

svn path=/trunk/; revision=3219
2000-05-26 14:49:12 +00:00
bb241192eb Reorganized the shell to allow dynamic registration of storages and
folder types, and changed all the components to work with the new
setup.

svn path=/trunk/; revision=3199
2000-05-25 05:55:59 +00:00
d00e525efc Get rid of the old `evolution-service-repository' cruft and start
implementing new CORBA storage interfaces for the shell.

svn path=/trunk/; revision=3178
2000-05-23 10:15:30 +00:00
7198aa064a Initial implementation of the tree view for the folders.
svn path=/trunk/; revision=3020
2000-05-14 01:32:19 +00:00
0f8c6c783d Display the default inbox at startup, instead of an empty view.
svn path=/trunk/; revision=2944
2000-05-09 15:37:57 +00:00
3ee0a4c49e Fix misplaced `g_free()' that resulted in garbage to be printed out
in the case of an initialization failure.

svn path=/trunk/; revision=2941
2000-05-09 14:41:31 +00:00
e7150f5163 Fix brainos so that the application quits after closing all the
windows (shell views).

svn path=/trunk/; revision=2865
2000-05-07 07:18:55 +00:00
83a766e5af Machinery for quitting and handling the relationship between a shell
and its views.

svn path=/trunk/; revision=2862
2000-05-07 06:47:44 +00:00
fe27ab1179 Portability fix (use readdir()', not readdir_r()'). Also, be safer
about NULL objects when destroying the shell or the shortcuts.

svn path=/trunk/; revision=2850
2000-05-07 02:22:08 +00:00
725d0a088d Big shell reorganization.
svn path=/trunk/; revision=2848
2000-05-07 01:57:49 +00:00
7e4f187a10 Update for shortcut bar changes.
* shell/e-shortcut.c (e_shortcut_bar_view_new, shell_icon_cb):
	Update for shortcut bar changes.

	* shell/e-folder.h: add E_FOLDER_SUMMARY
	* shell/e-shell.c (e_shell_setup_default_folders): make the
	"Today" icon be of type E_FOLDER_SUMMARY, not E_FOLDER_MAIL.

svn path=/trunk/; revision=2269
2000-03-31 18:34:59 +00:00
2a3293368b i2000-03-13 bertrand <bertrand@helixcode.com>
* folder-browser-factory.c (folder_browser_set_shell):
	for testing and demonstration purpose, immediately
	register a fake service.

2000-03-13  bertrand  <bertrand@helixcode.com>

	* shell/e-shell.c (EShell_register_service):
	test implementation. Show the uri and the type
	of service that	has just been registered.


Test the registering mechanism. Actually seems to work well.

svn path=/trunk/; revision=2112
2000-03-13 06:53:48 +00:00
4ec9945f05 added the get_e_folder_type function.
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-folder.c (e_folder_get_folder_type): added the
	get_e_folder_type function.

2000-03-12  bertrand  <bertrand@helixcode.com>

	* folder-browser.h: added a reference to an
	Evolution::Shell object.

	* folder-browser-factory.c (folder_browser_set_shell):
	(folder_browser_control_add_service_repository_interface):
	(folder_browser_factory): the folder-browser control now
	implements the Evolution/ServiceRepository interface.

Sync for matt

svn path=/trunk/; revision=2108
2000-03-13 00:10:21 +00:00
5adb1dedf6 Implementation of the service repository interface as a bonobo object.
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/evolution-service-repository.c:
	* shell/evolution-service-repository.h:
	Implementation of the service repository interface
	as a bonobo object.

	* shell/evolution-service-repository.idl:
	new file. Contains the definition for the service
	repository interface.

	* shell/Shell.idl: move the shell related stuff
	here

svn path=/trunk/; revision=2103
2000-03-12 15:17:01 +00:00
9f31ce86ff Make Evolution compile with the latest Bonobo changes.
Make Evolution compile with the latest Bonobo changes.

Miguel.

svn path=/trunk/; revision=1636
2000-01-26 00:04:16 +00:00
ec6a1f4288 More work; Model view for the shortcut bar is better; More menus; More features -migu
svn path=/trunk/; revision=1587
2000-01-18 08:47:25 +00:00
173a420369 Shaping up; Model/view is still not fully setup, but coming, coming
svn path=/trunk/; revision=1580
2000-01-17 08:58:29 +00:00
3c49032de4 Use e_bar_set_item_data.
2000-01-10  Miguel de Icaza  <miguel@gnu.org>

	* widgets/shortcut-bar/e-shortcut-bar.c (e_shortcut_bar_add_item):
	Use e_bar_set_item_data.

	Drop item_url;  Require image argument;  Require user data
	argument.

2000-01-09  Miguel de Icaza  <miguel@gnu.org>

	* widgets/shortcut-bar/e-icon-bar.c (e_icon_bar_init): Turn on anti-aliasing.

svn path=/trunk/; revision=1573
2000-01-15 20:08:30 +00:00
c1209c281e More
More

svn path=/trunk/; revision=1561
2000-01-12 04:25:38 +00:00
89db309e06 More work. Before the shortcut changes -mig
svn path=/trunk/; revision=1545
2000-01-09 05:21:37 +00:00
c80c14ffd0 More framework work -miguel
svn path=/trunk/; revision=1539
2000-01-07 00:25:56 +00:00