Commit Graph

1509 Commits

Author SHA1 Message Date
5f2ba41078 New member offline_handler. (offline_procedure_started_cb): New.
* e-shell.c (struct _EShellPrivate): New member offline_handler.
(offline_procedure_started_cb): New.
(offline_procedure_finished_cb): New.
(e_shell_go_offline): Implement (putting back the code that we had
#if 0'ed out).
(e_shell_go_online): Likewise.

* e-shell-offline-handler.c, e-shell-offline-handler.h: Put back
in, massage for the changes in the Offline interface.

* e-shell-offline-sync.c, e-shell-offline-sync.h: Remove from CVS.

* Evolution-Offline.idl (SyncFolderProgressListener): Remove.
(Offline::SyncFolder): Remove.

svn path=/trunk/; revision=23505
2003-11-30 20:53:42 +00:00
550038cb1f remove gtk deprecated flag
2003-11-23  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: remove gtk deprecated flag

svn path=/trunk/; revision=23468
2003-11-23 16:55:05 +00:00
ebc902721d Reimplemented using EComponentRegistry.
* e-shell.c (impl_Shell_handleURI): Reimplemented using
EComponentRegistry.

* main.c (idle_cb): Create a new window even if we have a URI
list.

* e-component-registry.c
(e_component_registry_peek_info_for_uri_schema): New.

svn path=/trunk/; revision=23461
2003-11-20 17:51:07 +00:00
0fede2ff4a Free ->uri_schemas. (set_schemas): New function to get the list of URI
* e-component-registry.c (component_info_free): Free
->uri_schemas.
(set_schemas): New function to get the list of URI schemas given a
component's ServerInfo.
(query_components): Call it.

* e-component-registry.h (struct _EComponentInfo): Add
"uri_schemas" member.

* Evolution-Component.idl (Component.handleURI): New method.

svn path=/trunk/; revision=23447
2003-11-19 19:06:46 +00:00
9130b26c7b (evolution_activity_client_construct): Get a raw
GNOME_Evolution_Shell as an arg instead of an
EvolutionShellClient.
(get_shell_activity_iface): New helper function.
(evolution_activity_client_construct): Use it.

svn path=/trunk/; revision=23440
2003-11-19 09:54:50 +00:00
1003ebf619 Destroy the tooltips instead of unreffing them.
* e-shell-window.c (impl_dispose): Destroy the tooltips instead of
unreffing them.

* e-shell.c (struct _EShellPrivate): New member activity_handler.
(setup_activity_interface): New.
(impl_dispose): Add a comment about why we must not unref
activity_handler here.
(create_window): Attach the task bar to the new window.

* e-shell-window.c (e_shell_window_peek_task_bar): New.

svn path=/trunk/; revision=23439
2003-11-19 09:43:17 +00:00
8ca3936a98 (struct _EShellWindowPrivate): New members
status_bar, offline_toggle, offline_toggle_image, menu_hint_label,
task_bar, tooltips.
(init): Initialize ->tooltips.
(impl_dispose): Unref ->tooltips.
(offline_toggle_clicked_callback): New.
(e_shell_window_new): Connect shell_line_status_changed_callback()
to the shell's "line_status_changed" signal.
(shell_line_status_changed_cb): New.
(setup_offline_toggle): New.
(setup_menu_hint_label): New.
(setup_task_bar): New.
(setup_status_bar): New.
(setup_widgets): Call setup_status_bar() and add add the status
bar to the window.
(update_offline_toggle_status): New.
(update_send_receive_sensitivity): New.
(load_icons): New.
(class_init): Call load_icons().
(ui_engine_remove_hint_callback): New.

svn path=/trunk/; revision=23438
2003-11-19 09:29:05 +00:00
0a2c5b0c06 Add a pixmap for the toolbar
SendReceive button.

svn path=/trunk/; revision=23411
2003-11-18 01:05:55 +00:00
c6b3809b47 New helper function. (idle_cb): Call it if we have a local shell. Also,
* main.c (attempt_upgrade): New helper function.
(idle_cb): Call it if we have a local shell.  Also, remove unused
variables.

* e-shell.c (e_shell_attempt_upgrade): New.

* Evolution-Component.idl (Component.upgradeFromeVersion): New.

svn path=/trunk/; revision=23403
2003-11-17 21:27:21 +00:00
98e3582f18 (command_open_new_window): New,
implement "OpenNewWindow" verb.

svn path=/trunk/; revision=23399
2003-11-17 20:02:57 +00:00
8f502cffbc Do not #include "e-local-folder.h".
* e-setup.c: Do not #include "e-local-folder.h".

* Makefile.am: Don't build evolution-test-component for now since
it's all out of date.

* main.c (evolution_debug_log): Make static instead of extern.

* e-user-creatable-items-handler.c: #include
<bonobo/bonobo-control.h>.

* e-shell.h: Do not include "e-uri-schema-registry.h" or
"evolution-shell-component-client.h".
* e-shell.c: Likewise.

* e-shell.c (struct _EShellPrivate): Removed member
uri_schema_registry.
(impl_Shell_handleURI): #if 0 it out for now.
(e_shell_peek_uri_schema_registry): Disabled for now.

* e-corba-storage-registry.c: Remove.
* e-corba-storage-registry.h: Remove.
* e-corba-storage.c: Remove.
* e-corba-storage.h: Remove.
* e-folder-dnd-bridge.c: Remove.
* e-folder-dnd-bridge.h: Remove.
* e-folder-selection-dialog.c: Remove.
* e-folder-selection-dialog.h: Remove.
* e-folder-type-registry.c: Remove.
* e-folder-type-registry.h: Remove.
* e-local-folder.c: Remove.
* e-local-folder.h: Remove.
* e-local-storage.c: Remove.
* e-local-storage.h: Remove.
* e-shell-folder-selection-dialog.c: Remove.
* e-shell-folder-selection-dialog.h: Remove.
* e-shell-view.c: Remove.
* e-shell-view.h: Remove.
* e-storage-browser.c: Remove.
* e-storage-browser.h: Remove.
* e-storage-set-view.c: Remove.
* e-storage-set-view.h: Remove.
* e-storage-set.c: Remove.
* e-storage-set.h: Remove.
* e-storage.c: Remove.
* e-storage.h: Remove.
* evolution-shell-component-client.c: Remove.
* evolution-shell-component-client.h: Remove.
* evolution-shell-component-dnd.c: Remove.
* evolution-shell-component-dnd.h: Remove.
* evolution-storage-listener.c: Remove.
* evolution-storage-listener.h: Remove.
* evolution-storage-set-view-listener.c: Remove.
* evolution-storage-set-view-listener.h: Remove.

svn path=/trunk/; revision=23396
2003-11-17 19:12:04 +00:00
66d47badff use the server.mk file to get rules for building versioned .server files
2003-11-17  JP Rosevear <jpr@ximian.com>

	* configure.in: use the server.mk file to get rules for building
	versioned .server files

	* */Makefile.am: use simplified rule subst

svn path=/trunk/; revision=23387
2003-11-17 15:13:35 +00:00
cac6efa61f Remove spurious puts()s.
svn path=/trunk/; revision=23342
2003-11-13 22:47:02 +00:00
3a3ad909d7 (DEVELOPMENT_WARNING): Define.
svn path=/trunk/; revision=23337
2003-11-13 21:51:00 +00:00
5880c00dd2 New.
* e-shell.c (e_shell_send_receive): New.

* Evolution-Component.idl (Component.sendAndReceive): New.

* evolution.xml: Add back send/receive command and toolbar button.

svn path=/trunk/; revision=23334
2003-11-13 21:32:39 +00:00
4c1f563a18 (ensure_menu_items): Reverse
the list so we get the items in the same order they were given to
us [since we are using g_slist_prepend() to build the list].

svn path=/trunk/; revision=23326
2003-11-13 13:42:35 +00:00
63c51cf724 (GNOME.Evolution.Component.UnknownType):
New exception.

svn path=/trunk/; revision=23323
2003-11-13 11:56:29 +00:00
7a5ecfbb6c New signal "component_changed". (class_init): Install. (switch_view):
* e-shell-window.c: New signal "component_changed".
(class_init): Install.
(switch_view): Emit.
(e_shell_window_new): Call
e_user_creatable_items_handler_attach_menus() to attach the
"New..."  menus.
(e_shell_window_peek_current_component_id): New.
(e_shell_window_peek_shell): Add precondition.
(e_shell_window_peek_current_component_id): Likewise.
(e_shell_window_peek_bonobo_ui_component): Likewise.

* e-user-creatable-items-handler.c: New.
* e-user-creatable-items-handler.h: New.

* e-shell-window.h: #include <bonobo/bonobo-ui-component.h>.

* e-shell.c (struct _EShellPrivate): Add member
user_creatable_items_handler.
(e_shell_get_user_creatable_items_handler): Remove.
(e_shell_peek_user_creatable_items_handler): New.

* Evolution-Component.idl (GNOME.Evolution.RequestCreateItem): New
method.
(GNOME.Evolution.creatableItems): New attribute.

* e-shell-user-creatable-items-handler.c: Remove.
* e-shell-user-creatable-items-handler.h: Remove.

svn path=/trunk/; revision=23314
2003-11-13 05:56:14 +00:00
8e1251fa17 merged spam filtering branch
svn path=/trunk/; revision=23302
2003-11-12 21:13:05 +00:00
5d07b9739f Call e_sidebar_select_button() instead of switch_view().
* e-shell-window.c (e_shell_window_switch_to_component): Call
e_sidebar_select_button() instead of switch_view().

* e-sidebar.c (update_buttons): New helper function.
(e_sidebar_select_button): New.

svn path=/trunk/; revision=23299
2003-11-12 20:22:12 +00:00
b24eaafcb8 kill the right thing (kill_old_dataserver): rename and check the version
2003-11-11  JP Rosevear <jpr@ximian.com>

	* main.c (kill_dataserver): kill the right thing
	(kill_old_dataserver): rename and check the version correctly

2003-11-11  JP Rosevear <jpr@ximian.com>

	* configure.in: determine the e-d-s version, version the gettext
	files properly

svn path=/trunk/; revision=23288
2003-11-11 18:43:09 +00:00
a99f0c4290 Added a new "-c" command-line arg. (idle_cb): If the arg is specified,
* main.c: Added a new "-c" command-line arg.
(idle_cb): If the arg is specified, open the component with that
id/alias.

* e-shell.c (impl_Shell_createNewView): New, implementation for
the Shell::createNewView() CORBA method.
(e_shell_class_init): Install.
(e_shell_create_window): Get a component_id arg.

* e-shell-window.c (e_shell_window_new): Get a component_id arg
and create the window with that component activated if not NULL.

* Evolution-Shell.idl (createNewView): Remove.
(createNewWindow): New.

svn path=/trunk/; revision=23274
2003-11-11 01:01:11 +00:00
d40faeb22e New member "component_alias". (component_view_new): Get a new "alias" arg,
* e-shell-window.c (struct _ComponentView): New member
"component_alias".
(component_view_new): Get a new "alias" arg, set the member in the
struct accordingly.
(component_view_free): Free ->component_alias.
(setup_widgets): Pass the alias from the ComponentInfo to
e_component_view().
(switch_view): New utility function.
(sidebar_button_selected_callback): Use it.
(e_shell_window_switch_to_component): New public function.
(e_shell_window_new): Switch to the component whose id is in the
/apps/evolution/shell/view_defaults/component_id GConf key.

* apps_evolution_shell.schemas: Removed view_defaults/folder_path.
New key view_defaults/component_id.

* e-component-registry.c (component_info_free): Free ->alias.
(component_info_new): Get an "alias" arg and set the member
accordingly.
(query_components): Remove debugging messages.  Get an
"evolution:component_alias" property from the component and set
the alias from that.

* e-component-registry.h (struct _EComponentInfo): New member
"alias".

svn path=/trunk/; revision=23265
2003-11-10 21:21:47 +00:00
d84b270458 don't include top level libical
2003-11-07  JP Rosevear <jpr@ximian.com>

	* Makefile.am: don't include top level libical

svn path=/trunk/; revision=23226
2003-11-07 17:48:48 +00:00
3c5481fefb make sure the marshal header is in the sources too
2003-11-07  JP Rosevear <jpr@ximian.com>

	* Makefile.am: make sure the marshal header is in the sources too

svn path=/trunk/; revision=23220
2003-11-07 08:36:39 +00:00
d6e7c730ae Shush.
svn path=/trunk/; revision=23214
2003-11-07 07:33:43 +00:00
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +00:00
9b809ae73a (setup_name_selector):
Append "_2" to the SelectNames OAFIID.

svn path=/trunk/; revision=23178
2003-11-03 21:09:45 +00:00
875c4bb354 Update factory ID.
* gui/component/select-names/e-select-names-factory.c: Update
factory ID.

* gui/component/select-names/GNOME_Evolution_Addressbook_SelectNames.server.in.in:
Version the SelectNames server IDs by appending a "_2".

svn path=/trunk/; revision=23175
2003-11-03 21:07:24 +00:00
b7db046f8d Use "evolution2:config_item" attributes instead of "evolution:config_item"
* GNOME_Evolution_Shell.server.in.in: Use "evolution2:config_item"
attributes instead of "evolution:config_item" ones.

* e-shell-settings-dialog.c (load_pages): Expect
"evolution2:config_item" properties instead of
"evolution:config_item" so they do not conflict with 1.4's.

svn path=/trunk/; revision=23171
2003-11-03 20:15:50 +00:00
bdf19d3204 set up vars and rules for versioning the .server files
2003-10-31  JP Rosevear <jpr@ximian.com>

	* configure.in: set up vars and rules for versioning the .server
	files

	* Makefile.am's: use rules for versioning .server file, ensure
	built files are removed before disting

svn path=/trunk/; revision=23149
2003-10-31 13:28:44 +00:00
464b8503fe declare an exception for createControls to return, so we don't have to
* Evolution-Component.idl: declare an exception for createControls
	to return, so we don't have to just crash if it fails.

svn path=/trunk/; revision=23120
2003-10-29 17:52:37 +00:00
c13d31f332 Add e-shell-view.h to evolution_SOURCES
2003-10-28  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Add e-shell-view.h to evolution_SOURCES

svn path=/trunk/; revision=23105
2003-10-28 16:38:03 +00:00
f635d88c63 Fix automake warning, and add e-shell-user-creatable-items-handler.h to
2003-10-28  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Fix automake warning, and add
	e-shell-user-creatable-items-handler.h to evolution_SOURCES

svn path=/trunk/; revision=23104
2003-10-28 15:33:53 +00:00
39e56385b1 handle the case where label == NULL, and set it to _("Unknown").
2003-10-23  Chris Toshok  <toshok@ximian.com>

	* e-component-registry.c (query_components): handle the case where
	label == NULL, and set it to _("Unknown").

svn path=/trunk/; revision=23040
2003-10-23 15:51:57 +00:00
0935ca72c9 Add a little border to the buttons so it looks nicer.
* e-sidebar.c (e_sidebar_add_button): Add a little border to the
buttons so it looks nicer.

* e-component-registry.c (query_components): Set an icon from the
"evolution:button_icon" attribute.

svn path=/trunk/; revision=23023
2003-10-23 00:20:01 +00:00
dc6bea5487 New member "component_registry". (e_shell_construct): Don't call
* e-shell.c (struct _EShellPrivate): New member
"component_registry".
(e_shell_construct): Don't call e_shell_unregister_all().
(e_shell_unregister_all): Removed.
(e_shell_init): Use g_new0(), removed a bunch of NULL/FALSE
assignments.
(e_shell_init): Initialize the component_registry.
(e_shell_peek_uri_schema_registry): Rename from
e_shell_get_uri_schema_registry.
(e_shell_peek_component_registry): New.
(setup_components): Remove.
(e_shell_construct): Don't call.

* main.c (no_windows_left_cb): Don't call e_shell_unregister_all().

* e-shell.c (parse_default_uri): Removed.
(parse_evolution_uri): Removed.
(e_shell_parse_uri): Removed.

* e-component-info.c: Remove.
* e-component-info.h: Remove.

svn path=/trunk/; revision=23017
2003-10-22 21:48:49 +00:00
fa6985828e Emit the right signal. (impl_tree_drag_data_get): Same.
2003-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-storage-set-view.c (impl_tree_drag_data_received): Emit the
	right signal.
	(impl_tree_drag_data_get): Same.

svn path=/trunk/; revision=23002
2003-10-22 20:57:16 +00:00
df3238a735 Make the scrolled window have a GTK_SHADOW_IN shadow.
* importer/intelligent.c (create_gui): Make the scrolled window
have a GTK_SHADOW_IN shadow.

* e-shell-window.c (setup_widgets): Make the notebooks not have
borders.
(setup_widgets): Fix typo: e_get_language_list() returns a GSList,
not a GList.

svn path=/trunk/; revision=22995
2003-10-22 19:16:48 +00:00
b7eeda03e9 Make the scrolled window have a GTK_SHADOW_IN shadow. Likewise.
* gui/calendar-component.c (impl_createControls): Make the
scrolled window have a GTK_SHADOW_IN shadow.
* gui/dialogs/meeting-page.c (meeting_page_construct): Likewise.

svn path=/trunk/; revision=22994
2003-10-22 19:15:36 +00:00
36ea89fbb9 Use e_storage_browser_peek_widget_scrolled() to retrieve the scrolled
* mail-component.c (impl_createControls): Use
e_storage_browser_peek_widget_scrolled() to retrieve the scrolled
window that the EStorageSetView is contained in.

* e-storage-browser.c (struct _EStorageBrowserPrivate): New member
"storage_set_view_scrolled".
(e_storage_browser_new): Put the storage_set_view in a scrolled
window.  Set priv->storage_set_view_scrolled to this scrolled
window.
(e_storage_browser_peek_tree_widget_scrolled): New.

svn path=/trunk/; revision=22993
2003-10-22 18:07:34 +00:00
ec0f879ca6 (PADDING): Increase to 6 pixels.
(button_toggled_callback): Add a cast.
(e_sidebar_set_selection_widget): Handle the NULL widget case
properly.
(impl_remove): New, implementation for GtkContainer::remove.
(do_layout): Add padding between the selection_widget and the
button box.

svn path=/trunk/; revision=22989
2003-10-22 17:24:38 +00:00
3dbe4a3ce1 Add an "evolution:button_label" property on the component for use in the
* gui/component/GNOME_Evolution_Addressbook.server.in.in: Add an
"evolution:button_label" property on the component for use in the
shell.

* gui/GNOME_Evolution_Calendar.server.in.in: Add an
"evolution:button_label" property on the component for use in the
shell.

* GNOME_Evolution_Mail.server.in.in: Add an
"evolution:button_label" attribute to the Component for use in the
shell.

* e-shell-window.c (struct _ComponentView): New member button_id.
(struct _EShellWindowPrivate): New member sidebar.
(component_new_new): Get a button_id arg.
(component_button_clicked_callback): Removed.
(sidebar_button_selected_callback): New.
(create_component_button): Removed.
(setup_widget): Set up the sidebar using ESidebar and hook up its
"button_selected" signal.  Also get the component name from a
property on the server info.
(e_shell_window_new): Use BASE_VERSION for the version in the app
name instead of hardcoding "1.5".

* e-sidebar.c: New.
* e-sidebar.h: New.

svn path=/trunk/; revision=22988
2003-10-22 17:14:05 +00:00
f34b946559 Append a _2 to all the IIDs.
* GNOME_Evolution_Shell.server.in.in: Append a _2 to all the IIDs.

* e-shell.h (E_SHELL_OAFIID): Change to "GNOME_Evolution_Shell_2"
so it does not conflict with the old IID.

svn path=/trunk/; revision=22987
2003-10-22 17:05:54 +00:00
1dc27af3fd Change to "evolution-1.5" - although, ideally, this should be a config.h
2003-10-22  Jeffrey Stedfast  <fejj@ximian.com>

	* e-shell-window.c (e_shell_window_new): Change to "evolution-1.5"
	- although, ideally, this should be a config.h macro or something.

svn path=/trunk/; revision=22984
2003-10-22 15:16:33 +00:00
31be44baaa Remove e_proxy_init call. (e-proxy is gone now)
* main.c: Remove e_proxy_init call. (e-proxy is gone now)

svn path=/trunk/; revision=22975
2003-10-22 14:10:45 +00:00
b147a00deb Rewrote the drag & drop code.
2003-10-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-storage-set-view.c: Rewrote the drag & drop code.

svn path=/trunk/; revision=22971
2003-10-21 21:08:44 +00:00
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +00:00
5bce9a8c76 INCLUDE path fixes for changes made to libical build.
2003-10-09  Jeffrey Stedfast  <fejj@ximian.com>

	* Makefile.am: INCLUDE path fixes for changes made to libical
	build.

svn path=/trunk/; revision=22840
2003-10-09 20:55:15 +00:00
7d9119733a fixed encoding for Spanish translators.
2003-09-30  Ismael Olea <ismael@olea.org>

	* e-shell-about-box.c: fixed encoding for Spanish translators.

svn path=/trunk/; revision=22769
2003-09-30 09:58:02 +00:00