Commit Graph

42 Commits

Author SHA1 Message Date
Matthew Loper b9630445a0 + * addressbook/gui/component/addressbook.c (control_activate): Make
+	"New Contact" menuitem add a card with new_contact_cb().
+
+	* e-shell-view.c (e_shell_view_setup): Set the default height
+	bigger, to 600, so that everything in the shortcut-bar shows up.

svn path=/trunk/; revision=2353
2000-04-09 19:00:50 +00:00
Matthew Loper 59606c2849 + * folder-browser.c (folder_browser_destroy): Unref the shell
+	interface that we have a handle to.
+
+	* folder-browser-factory.c (control_destroy_cb): New function;
+	destroys a folder-browser when its control is destroyed.
+	(folder_browser_factory): Hook up to the above.
+
+	* e-shell-view.c (destroy_folder_view): New function;
+	Bonobo_Unknown_unref's the controls that have the views in them.
+	(esv_destroy): Calls the above for each folder_view in the
+	hashtable.
+	(get_view): unref the ServiceRepository interface of the control
+	when we're done with it.
+

svn path=/trunk/; revision=2333
2000-04-07 21:42:56 +00:00
Miguel de Icaza 664197d445 Moved all ChangeLog entries for the shell to shell/ChangeLog.
Moved all ChangeLog entries for the shell to shell/ChangeLog.

Fixed the icon loading for the shortcut bar bug.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Append a slash here.
	(shell_icons): Only list the filenames.

	* shell/main.c (evolution_boot): Be less rude.

svn path=/trunk/; revision=2310
2000-04-06 18:38:54 +00:00
Matthew Loper eb9e774246 + * shell/main.c (evolution_boot): Make sure our data directory is
+	available with e_setup_base_dir ().
+
+	* e-setup.c (e_setup_base_dir): Get/set Evolution's base directory
+	via gnome-config.

svn path=/trunk/; revision=2309
2000-04-06 16:45:54 +00:00
Miguel de Icaza bbc6d63ef0 Load the icons from the installation path, not form the GNOME-libs
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* shell/e-shortcut.c (shell_icon_cb): Load the icons from the
	installation path, not form the GNOME-libs installation prefix.
	(shell_icon_cb): Memory leak fix.

	* shell/Makefile.am (imagesdir): Pass the EVOLUTION_IMAGES
	installation directory here.

	* art/Makefile.am (images_DATA): Renamed from pixmaps to images.

2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* message-list.c: Stick pixmaps here.

	* mail-display.c (embeddable_destroy_cb): Replaced C++ comments
	with C comments.

	* message-list.c (load_internal_images): New function, loads images.
	(message_list_init_renderers): Load images, fix previous attempt
	at loading images.

	* Makefile.am (dist-hook): Added distribution of pixmaps.

	* pixmaps: New directory, used to hold the XPMs we ship with.

	* pixmaps/envelope-closed.xpm, pixmaps/envelope-open.xpm: Tigert's
	envelopes incorporated.
2000-04-06  Miguel de Icaza  <miguel@gnu.org>

	* e-cell-text.c: Killed ARG_EDITABLE.
	(ect_event): Updated to new editable setup.
	(e_cell_text_new): Kill editable argument.

	* e-cell-toggle.c (etog_event): Handle editability here

	* e-cell-text.h: Removed editable bit field from here, it is now
	taken care at the e-cell level.

	* e-cell.c (e_cell_set_editable): New function.
	(e_cell_init): Set editable to TRUE by default.

	* test-check.c (check_test): update to new api

	* test-table.c (table_browser_test): ditto.
	(do_e_table_demo): ditto.

	* test-cols.c (multi_cols_test): ditto

svn path=/trunk/; revision=2302
2000-04-06 06:46:20 +00:00
Seth Alves 51a7de64e2 hook up control:calendar
* shell/e-shell-view.c (get_view): hook up control:calendar

svn path=/trunk/; revision=2295
2000-04-05 20:14:40 +00:00
Dan Winship 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
Dan Winship 04b899a36e Hold off on deactivating the "outgoing" control until after setting up the
* shell/e-shell-view.c (e_shell_view_set_view): Hold off on
	deactivating the "outgoing" control until after setting up the
	"incoming" control. That way if the new control takes a few
	seconds to load, there won't be an ugly empty spot where the
	toolbar used to be while the new control loads.

svn path=/trunk/; revision=2262
2000-03-30 20:52:07 +00:00
Dan Winship 4435a5db63 Call bonobo_control_frame_activate on the folder_view every time it is
* shell/e-shell-view.c (e_shell_view_set_view): Call
	bonobo_control_frame_activate on the folder_view every time it
	is displayed, and bonobo_control_frame_deactivate every time it is
	hidden.

	* folder-browser-factory.c (control_activate): build a toolbar.
	(control_deactivate): and hide it.

svn path=/trunk/; revision=2250
2000-03-30 00:22:56 +00:00
Matthew Loper d78bd3829c + * shell/e-shell-view.c (get_view): Move CORBA_Environment to
+	different scope.
+
+	* ebook/e-book.c,
+	ebook/e-book.h,
+	ebook/e-book.h,
+	ebook/e-card-fields.h,
+	ebook/e-card.h,
+	ebook/e-commerce.h: old, removed. Up-to-date EBook stuff is kept
+	in addressbook/backend/ebook.

svn path=/trunk/; revision=2162
2000-03-25 22:33:30 +00:00
Matthew Loper 175fcc0ed5 Added some assertions.
* e-table-text-model.c (e_table_text_model_destroy): Added some
	assertions.

svn path=/trunk/; revision=2146
2000-03-22 17:22:08 +00:00
Matthew Loper f286676ead + * shell/main.c (evolution_boot): gtk_signal_connect'ed "destroy"
+	to gtk_main_quit, so that the shell dies when you want it to.
+
+	* shell/e-shell-view.c (get_view): Reorganized, and added
+	assertions.
+	(e_shell_view_set_view): Added assertions.
+
+	* camel/camel-formatter.c (debug): Disabled some useless debug
+	messaging.

svn path=/trunk/; revision=2141
2000-03-22 16:35:58 +00:00
Matthew Loper b76bf69d8d New private field in EShellView added, which contains the notebook and a
* shell/e-shell-view.h: New private field in EShellView added,
	which contains the notebook and a hashtable of folders to views.

	* shell/e-shell-view.c (e_shell_view_set_view): Instead of
	creating a new control every time we set the view, we now keep our
	controls in a notebook. This function now switches to the correct
	notebook page, or creates a new page/control as necessary.
	(e_shell_view_new): Creates and inserts the notebook into the
	shell.

svn path=/trunk/; revision=2122
2000-03-21 01:27:04 +00:00
Christopher James Lahey f59d7438e2 Added an E_FOLDER_CONTACTS section to the get_view function.
2000-03-13  Christopher James Lahey  <clahey@helixcode.com>

        * shell/e-shell-view.c: Added an E_FOLDER_CONTACTS section to the
        get_view function.

        * addressbook/demo/Makefile.am: Added files for addressbook bonobo
        component.  Changed non bonobo version to compile as
        test-addressbook.

        * addressbook/demo/addressbook.c,
        addressbook/demo/addressbook.gnorba,
        addressbook/demo/addressbook.h,
        addressbook/demo/addressbook-factory.c,
        addressbook/demo/addressbook-widget.c,
        addressbook/demo/addressbook-widget.h: New factory to create an
        addressbook bonobo component.

svn path=/trunk/; revision=2114
2000-03-13 16:59:34 +00:00
bertrand 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
bertrand 470823e288 (get_view): added a parameter to have a reference to the EShellView.
2000-03-13  bertrand  <bertrand@helixcode.com>

	(get_view): added a parameter to have
	a reference to the EShellView.
	(get_view): In the case of the mail component
	use the Evolution_ServiceRepository to
	give the component a reference to the
	Shell server.

The Mail component now has a reference to the shell corba
server. It is gonna make it possible to register new services
in the shell.

svn path=/trunk/; revision=2111
2000-03-13 06:09:26 +00:00
bertrand b380094567 once we have the bonobo control widget, disable the autoactivation and
2000-03-13  bertrand  <bertrand@helixcode.com>

	* shell/e-shell-view.c (get_view):
	once we have the bonobo control widget,
	disable the autoactivation and activate
	the control frame.

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

	* folder-browser-factory.c (folder_browser_factory_init):
	name change.
	(control_activate_cb): when the control is activated,
	it merges its own UI with the remote UIHandler.
	(control_add_menu): sample menu merging.
	(folder_browser_factory): connect the control "activate" signal.


(Bonobo control / shell view) UIMenu merging.

svn path=/trunk/; revision=2110
2000-03-13 05:04:31 +00:00
bertrand b21cd06a46 name change
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-shell-view.c (get_view): name change

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

	* folder-browser-factory.c (folder_browser_factory_init):
	name change.

	* evolution-mail.gnorba:
	name changes

svn path=/trunk/; revision=2109
2000-03-13 01:56:12 +00:00
bertrand 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
bertrand 303d95e31c creates an Evolution_ServiceRepository object.
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/evolution-service-repository.c:
	(evolution_service_repository_new): creates an
	Evolution_ServiceRepository object.
	(create_evolution_service_repository):
	create the corresponding servant.
	(evolution_service_repository_construct): set
	the closure as well as the virtual functions.

Completed the implementation.
The bonobo components can now implement a
Evolution::ServiceRepository interface.

svn path=/trunk/; revision=2106
2000-03-12 20:03:12 +00:00
Bertrand Guiheneuf d1aae0079c forgotten file.
svn path=/trunk/; revision=2105
2000-03-12 15:50:27 +00:00
bertrand 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
bertrand f669ff481f add a field refering to a service associated to the efolder. In the case
2000-03-12  bertrand  <bertrand@helixcode.com>

	* shell/e-folder.h: add a field refering to a
	service associated to the efolder. In the case of
	distant folders, it is generally a server.

	* shell/e-service.c: New class. Models a service.
	A service is an object with an URI and a root folder.
	It genreally reporesents a distant folder.
	A service is generally a ressource shared amongst
	several folders.
	* shell/e-service.h:


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

	* camel-service.h: cosmetic changes.

svn path=/trunk/; revision=2100
2000-03-12 05:09:43 +00:00
bertrand 207a1395e1 plug mem leaks due to bad documentation of
2000-03-07  bertrand  <bertrand@helixcode.com>

	* camel-formatter.c (handle_mime_part):
	plug mem leaks due to bad documentation
	of camel_content_field_get_mime_type
	(print_camel_body_part): idem
	(handle_multipart_alternative): idem

	* gmime-content-field.c (gmime_content_field_get_mime_type):
	documentation fix.


	* camel-mime-part.c (my_finalize): unref the
	content_input_stream if any.

	* shell/e-shell-shortcut.c (shortcut_bar_item_selected):
	removed a test that prevented the standard menu
	to be shown.

svn path=/trunk/; revision=2089
2000-03-08 19:53:31 +00:00
Bertrand Guiheneuf 7c164f12b9 More changes than a man can remember.
The UI works now.

svn path=/trunk/; revision=2074
2000-03-06 09:38:42 +00:00
Ettore Perazzoli 799d7f54fd Various building fixes. At least, now it builds for me.
svn path=/trunk/; revision=2007
2000-03-02 00:09:45 +00:00
bertrand 6b21505b40 added a reset method. Thanks message-browser to find so much bugs :)
2000-02-22  bertrand  <Bertrand.Guiheneuf@aful.org>

	* camel-stream-b64.c (reset__static): added a
	reset method. Thanks message-browser to find
	so much bugs :)

	* providers/mbox/Makefile.am (libcamelmbox_la_LIBADD): readd
	Unicode libs.

	* shell/Makefile.am (evolution_LDADD):
	add libetext.a.

Fixes.

svn path=/trunk/; revision=1900
2000-02-22 08:13:34 +00:00
Matthew Loper 7b725d20a3 + * widgets/e-minicard/.cvsignore: Added minicard-label-test,
+	minicard-test, and reflow-test.
+
+	* shell/.cvsignore: added files autogenerated from Evolution.idl.
+
+	* libversit/.cvsignore: Added .libs, vcc.c, vcc.lo, vobject.lo,
+	vcaltmp.lo, libversit.la
+
+	* libical/src/test/.cvsignore: New file.
+
+	* libical/src/libical/.cvsignore: New file.
+
+	* libical/src/libicalss/.cvsignore: New file.
+
+	* libical/.cvsignore: New file, with config.log in it.
+
+	* calendar/.cvsignore: Added tlacuache and tl-test.
+
+	* libibex/.cvsignore: added lookup.
+
+	* mail/.cvsignore: added test-mail.

svn path=/trunk/; revision=1859
2000-02-19 21:28:47 +00:00
Miguel de Icaza 1b5c5de151 Further Makefile.am fixage -miguel
svn path=/trunk/; revision=1846
2000-02-19 00:35:14 +00:00
Iain Holmes 6e1f98f09a Changed the order of the compilation so the CORBA stuff was generated
2000-02-08  Iain Holmes  <ih@csd.abdn.ac.uk>

	* mail/Makefile.am: Changed the order of the compilation so the CORBA
	stuff was generated before it was needed.

	* shell/Makefile.am: Same.

svn path=/trunk/; revision=1695
2000-02-08 16:21:19 +00:00
Arturo Espinosa 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
Arturo Espinosa 711ce9920a More work on the code. Added more for the framework.
More work on the code.  Added more for the framework.

Miguel.

svn path=/trunk/; revision=1593
2000-01-19 07:57:20 +00:00
Arturo Espinosa 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
Arturo Espinosa 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
Arturo Espinosa 41342256b0 Add missing file -mig
svn path=/trunk/; revision=1577
2000-01-17 07:33:49 +00:00
Miguel de Icaza 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
Arturo Espinosa c1209c281e More
More

svn path=/trunk/; revision=1561
2000-01-12 04:25:38 +00:00
Arturo Espinosa 89db309e06 More work. Before the shortcut changes -mig
svn path=/trunk/; revision=1545
2000-01-09 05:21:37 +00:00
Arturo Espinosa a664190751 shut up cvs action -mig
svn path=/trunk/; revision=1543
2000-01-07 00:33:10 +00:00
Arturo Espinosa f2950fe85a shut up cvs action -mig
svn path=/trunk/; revision=1542
2000-01-07 00:31:26 +00:00
Arturo Espinosa c80c14ffd0 More framework work -miguel
svn path=/trunk/; revision=1539
2000-01-07 00:25:56 +00:00
Arturo Espinosa ed4e8afecd Lots of reorganization to get the Evolution shell to begin its life. It
Lots of reorganization to get the Evolution shell to begin its life.
It also includes a new evolution widget from Damon.

Miguel.

svn path=/trunk/; revision=1536
2000-01-06 05:48:27 +00:00