Commit Graph

170 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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