Commit Graph

1335 Commits

Author SHA1 Message Date
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
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
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
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
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +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
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
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
beb604cfc9 connect to "key_press_event" signal with key_press_event_callback.
2003-09-23  Charles Zhang  <charles.zhang@sun.com>

	* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
	to "key_press_event" signal with key_press_event_callback.
	(key_press_event): Handle `ESC` key press event. [#48145]

svn path=/trunk/; revision=22657
2003-09-23 08:19:56 +00:00
c5a06d54f6 libical.la -> libical-evolution.la
2003-09-22  Hans Petter Jansson  <hpj@ximian.com>

	* calendar/cal-util/Makefile.am (libical_util_la_LIBADD):
	libical.la -> libical-evolution.la

	* calendar/importers/Makefile.am
	(libevolution_calendar_importers_la_LIBADD):
	libicalvcal.la -> libicalvcal-evolution.la

	* shell/Makefile.am (evolution_LDADD):
	libical.la -> libical-evolution.la

	* libical/configure.in: Require flex 2.5.31 and add a test for it.
	Rename WITH_CXX conditional to WITH_CXX_BINDINGS.

	* libical/examples/Makefile.am (doesnothing_LDADD): Add -evolution to
	lib names.

	* libical/src/test/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add
	-evolution to lib names.

	* libical/src/test/regression.c (main): WITH_CXX -> WITH_CXX_BINDINGS.

	* libical/src/libicalcap/Makefile.am: Add -evolution to lib names.
	Install to Evolution's priv dirs.

	* libical/src/libicalvcal/Makefile.am: Ditto.

	* libical/src/libical/Makefile.am: WITH_CXX -> WITH_CXX_BINDINGS. Add
	-evolution to lib names. Install in privlibdir. Install includes to
	$(privincludedir)/libical.

	* libical/src/libicalss/Makefile.am: Ditto.

	* libical/src/libicalss/icalsslexer.l: Replace option reentrant-bison
	with reentrant and bison-bridge. Use new Flex variable names.

	* libical/src/libical/icallexer.l:
	* libical/src/libical/icalyacc.y:
	* libical/src/libicalss/icalsslexer.c:
	* libical/src/libicalss/icalssyacc.c:
	* libical/src/libicalss/icalssyacc.h: Removed from repository.

svn path=/trunk/; revision=22633
2003-09-22 07:32:34 +00:00
f5415de532 Fix migration of shortcuts.xml which was incorrectly encoded by libxml1.
* e-config-upgrade.c: (utf8_reencode), (upgrade_xml_1_2_rec),
        (e_config_upgrade):
        Fix migration of shortcuts.xml which was incorrectly encoded by
        libxml1. (Mdk bug #4927)

svn path=/trunk/; revision=22548
2003-09-12 07:36:15 +00:00
e0d3bea8e3 If the right_click_row_path is not NULL (i.e. a menu is being popped up
2003-09-11  Ettore Perazzoli  <ettore@ximian.com>

	* e-storage-set-view.c (impl_right_click): If the
	right_click_row_path is not NULL (i.e. a menu is being popped up
	already), don't pop up the menu again.  [#48388]

2003-09-11  Ettore Perazzoli  <ettore@ximian.com>

	[#47875, thanks to Calvin Liu for figuring this out.]

	* e-shortcuts.c (e_shortcuts_add_default_shortcuts): Use the
	group_num arg, so it gets added to the proper group.
	(e_shortcuts_add_default_group): Pass the actual group number to
	e_shortcuts_add_default_shortcuts().

svn path=/trunk/; revision=22541
2003-09-11 23:07:06 +00:00
697761cc33 Import new libical from mainline HEAD and make appropriate changes to
Evolution.

svn path=/trunk/; revision=22538
2003-09-11 22:04:44 +00:00
a9c62472aa Use gtk_label_new_with_mnemonic() to replace gtk_label_new(). Use
2003-09-05  Yuedong Du  <yuedong.du@sun.com>

        * e-shell-importer.c: (importer_file_page_new),
        (importer_type_page_new), (show_import_wizard): Use
        gtk_label_new_with_mnemonic() to replace gtk_label_new(). Use
        gtk_label_set_mnemonic_widget() to set up label<-> entry
        relationship. Change gtk_button_set_label() to
        gtk_button_set_use_underline() and gtk_button_set_label(). Change
        gtk_radio_button_new_with_label_from_widget() to
        gtk_radio_button_new_with_mnemonic_from_widget(). fix bug #47867

svn path=/trunk/; revision=22502
2003-09-10 03:12:18 +00:00
6fb2775ecb fix crash when user escape the dialog. see bug #46700.
2003-07-24  Yuedong Du  <yuedong.du@sun.com>

        * e-shell-offline-handler.c: (dialog_response_cb): fix crash when user escape the
        dialog. see bug #46700.

svn path=/trunk/; revision=21931
2003-07-24 03:11:44 +00:00
fa88a2c61f Ooops, revert changes: wrong branch.
svn path=/trunk/; revision=21926
2003-07-23 22:17:32 +00:00
a238c463dd Create a new EShellWindow and show it.
* main.c (idle_cb): Create a new EShellWindow and show it.

* e-storage.c: New signal "async_open_folder".
(impl_async_open_folder): Removed.
(class_init): Declare new signal.

* e-shell.c (setup_components): Don't actually activate any
components.

* e-storage-browser.c, e-storage-browser.h: New.

* e-shell-window.c, e-shell-window.h: New.

* e-shell-marshal.list: Add an entry for
NONE:STRING,POINTER,POINTER.

* Evolution.idl: Include Evolution-Component.idl.

* Evolution-Component.idl: New interface for Evolution components.

svn path=/trunk/; revision=21925
2003-07-23 21:58:28 +00:00
ce4fd1f3fb Use EVO_MARSHAL_RULE
* Makefile.am: Use EVO_MARSHAL_RULE

svn path=/trunk/; revision=21915
2003-07-23 16:43:05 +00:00
6742a6ed12 Fix a warning
* e-shell-importer.c (prepare_intelligent_page): Fix a warning

svn path=/trunk/; revision=21907
2003-07-23 15:06:55 +00:00
e18a5b7762 connect to "delete_event" signal with startup_wizard_delete. [#46284]
2003-07-22  Antonio Xu  <antonio.xu@sun.com>

	* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
	to "delete_event" signal with startup_wizard_delete. [#46284]

svn path=/trunk/; revision=21885
2003-07-22 08:30:04 +00:00
b4e252d26e use g_signal_connect_after to connect "prepare" signal.
2003-07-22  Antonio Xu <antonio.xu@sun.com>

	* e-shell-importer.c: (show_import_wizard): use
	g_signal_connect_after to connect "prepare" signal.
	(prepare_intelligent_page): Display some error log and disable
	forward button rather than jump to finish page.  [#46017]

svn path=/trunk/; revision=21884
2003-07-22 08:15:09 +00:00
b59ab9da29 connect "back" signal to back_finish_func in finish page.
2003-07-21 Antonio Xu <antonio.xu@sun.com>

	* e-shell-startup-wizard.c (e_shell_startup_wizard_create): connect
        "back" signal to back_finish_func in finish page.
        (back_finish_func): handle "back" signal.
        (prepare_importer_page): Jump to finish page when running equal zero.
        [#46026]

svn path=/trunk/; revision=21875
2003-07-21 06:41:52 +00:00
2b960e3b75 fix the date on my last commit to keep things in order
svn path=/trunk/; revision=21860
2003-07-17 17:10:37 +00:00
1016194c44 free the folder_type
* e-shell-user-creatable-items-handler.c (free_menu_items): free
	the folder_type

	* e-splash.c (e_splash_new): Unref the pixbuf.

	* evolution-shell-component.c (impl_finalize): Add some missing
	frees.
	(user_creatable_item_type_free): free the tooltip

svn path=/trunk/; revision=21859
2003-07-17 17:09:38 +00:00
a5a33cf4aa (e_shell_command_rename_folder): Do
not overwrite an existing folder.  Also, cleaned up the code a
bit.  [#45982]

svn path=/trunk/; revision=21783
2003-07-09 19:54:25 +00:00
87e3905bf8 add general_map and a reference to it in gconf_remap_list. Should fix
2003-06-25  Chris Toshok  <toshok@ximian.com>

	* e-config-upgrade.c: add general_map and a reference to it in
	gconf_remap_list.  Should fix 44477.

svn path=/trunk/; revision=21544
2003-06-25 16:52:18 +00:00