Commit Graph

1326 Commits

Author SHA1 Message Date
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
c20675d201 Don't leak parent_path, even on error
* e-folder-tree.c (e_folder_tree_add): Don't leak parent_path,
        even on error

svn path=/trunk/; revision=21498
2003-06-20 14:37:29 +00:00
c574e97663 Add missing stub/skel to BUILD_SOURCES (bug 44717)
svn path=/trunk/; revision=21450
2003-06-16 17:19:59 +00:00
aaa0d1aba4 ** For #42691.
2003-06-05  Not Zed  <NotZed@Ximian.com>

        ** For #42691.

        * Makefile.am (%.server.in): use implicit rule.
        (BUILT_SOURCES): added server_DATA.

2003-05-22  Not Zed  <NotZed@Ximian.com>

        * e-config-upgrade.c (CONF_MAJOR, CONF_MINOR, CONF_REVISION): Set
        to 1.4.0 for release.

svn path=/trunk/; revision=21406
2003-06-11 04:18:12 +00:00
12f3747114 don't leak nr.name.
2003-06-10  Larry Ewing  <lewing@ximian.com>

	* e-corba-storage-registry.c (listener_notify): don't leak nr.name.

svn path=/trunk/; revision=21399
2003-06-11 00:22:02 +00:00
fd2f3a6d7a Roll over ChangeLogs.
svn path=/trunk/; revision=21387
2003-06-09 17:31:26 +00:00
704071e391 Add Mark Gordon.
svn path=/trunk/; revision=21329
2003-05-22 20:39:32 +00:00
6f02daa384 (storage_weak_notify): Set
the storage member to NULL.
(shell_weak_notify): Set the shell member to NULL.
(cleanup_discovery): g_object_weak_unref() shell, parent and
storage.

svn path=/trunk/; revision=21280
2003-05-20 15:22:41 +00:00
f68ef51327 Removed "forced_upgrade" unused variable. (show_development_warning): Put
* main.c: Removed "forced_upgrade" unused variable.
(show_development_warning): Put in a DEVELOPMENT_WARNING cpp
conditional.
(warning_dialog_response_callback): Likewise.
(view_map_callback): Likewise.
(new_view_created_callback): Likewise.
(idle_cb) [DEVELOPMENT_WARNING]: Do not connect
new_view_created_callback() to the "new_view" shell signal
anymore.

* Makefile.am (install-evolution) [DEFAULT_BINARY]: Make a
symbolic link from evolution to evolution-$(BASE_VERSION).

* e-shell-folder-creation-dialog.c (dialog_data_destroy):
g_object_weak_unref shell and dialog if they are not NULL.
(dialog_destroy_notify): Set ->dialog to NULL in all cases.

svn path=/trunk/; revision=21267
2003-05-19 19:41:05 +00:00
30551d3f83 Remove some padding which I incorrectly added to the wrong vbox. This
2003-05-19  Anna Marie Dirks  <anna@ximian.com>

	* e-corba-config-page.c: Remove some padding which I incorrectly
	added to the wrong vbox. This shoulda been fixed in
	widgets/misc/e-multi-config-dialog.c . (And it is, now.)

svn path=/trunk/; revision=21264
2003-05-19 18:50:09 +00:00