Commit Graph

160 Commits

Author SHA1 Message Date
e4c32f3ec4 init epasswords.
2004-08-10  Not Zed  <NotZed@Ximian.com>

        * main.c (main): init epasswords.

svn path=/trunk/; revision=26884
2004-08-12 06:57:15 +00:00
6ab671872b Remove AUTOHELP option since GNOME adds this itself. Fixes bug #60374.
2004-06-18  Jeffrey Stedfast  <fejj@novell.com>

	* main.c (main): Remove AUTOHELP option since GNOME adds this
	itself. Fixes bug #60374.
	(main): Before exiting from main(), call shutdown() routines.

svn path=/trunk/; revision=26431
2004-06-18 21:19:39 +00:00
f4cea63565 test for skip_warning_dialog value in gconf here and not in
2004-06-18  Radek Doulik  <rodo@ximian.com>

	* main.c (main): test for skip_warning_dialog value in gconf here
	and not in show_development_warning, otherwise we don't add or
	call idle_cb and evo will not run
	(show_development_warning): do not read skip_warning_dialog here

svn path=/trunk/; revision=26423
2004-06-18 18:16:28 +00:00
01a1d40096 ** See bug #54498.
2004-06-18  Not Zed  <NotZed@Ximian.com>

        ** See bug #54498.

        * main.c (idle_cb): don't do dev warning stuff here anymore.

        * main.c (main): show the dev warning before doing anything else
        if we are going to.
        (warning_dialog_response_callback): kick off the actual
        application once we're finished.
        (window_map_callback, new_window_created_callback): removed, not
        needed anymore.

svn path=/trunk/; revision=26412
2004-06-18 06:49:40 +00:00
d8fcdfcb0f Call gnome_sound_init() before bonobo_main().
2004-06-17  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): Call gnome_sound_init() before bonobo_main().

svn path=/trunk/; revision=26386
2004-06-17 12:27:00 +00:00
68fbde50f8 added noshell and noshell-reason error strings. the latter seems a waste,
2004-05-18  Not Zed  <NotZed@Ximian.com>

        * shell-errors.xml: added noshell and noshell-reason error
        strings.  the latter seems a waste, but ...

        * main.c (idle_cb): use e_error for the new no shell errors.

svn path=/trunk/; revision=25946
2004-05-18 04:44:39 +00:00
684ba99560 #include <gtk/gtkvbox.h>
2004-05-17  Jeffrey Stedfast  <fejj@novell.com>

	* main.c: #include <gtk/gtkvbox.h>

	* e-shell-startup-wizard.c (make_importer_page): Use
	E_ICON_SIZE_DIALOG

svn path=/trunk/; revision=25936
2004-05-17 20:01:24 +00:00
5a0f1a50cc Call e_icon_factory_shutdown() after bonobo_main() exits.
2004-05-12  Jeffrey Stedfast  <fejj@novell.com>

	* main.c (main): Call e_icon_factory_shutdown() after
	bonobo_main() exits.

svn path=/trunk/; revision=25888
2004-05-12 18:20:56 +00:00
6f6440de61 set title to just Evolution (show_development_warning): ditto for warning
2004-05-10  JP Rosevear  <jpr@ximian.com>

	* main.c (show_development_warning): set title to just Evolution
	(show_development_warning): ditto for warning
	(idle_cb): ditto for title

	* e-shell-window.c (update_offline_toggle_status): set tooltip to
	just Evolution
	(e_shell_window_new): ditto for window title

	* e-shell-window-commands.c (command_about_box): set title to
	just Evolution

svn path=/trunk/; revision=25835
2004-05-10 12:59:36 +00:00
c086c794ae Call gnome_program_init with PACKAGE "-" BASE_VERSION so that we start up
2004-04-28  Rodney Dawes  <dobey@ximian.com>

	* main.c (main): Call gnome_program_init with PACKAGE "-" BASE_VERSION
	so that we start up the right version of evolution when we get killed
	by logout or whatever

	Fixes #54087

svn path=/trunk/; revision=25673
2004-04-28 19:42:12 +00:00
9b8a686094 Change component icons to use the icon theme names for icons Remove
2004-04-19  Michael Terry  <mike@mterry.name>

	* GNOME_Evolution_Test.server.in.in: Change component icons to use the
	icon theme names for icons
	* Makefile.am: Remove e-icon-factory.[ch]
	* e-component-registry.c: Use the icon theme for component icons
	* e-icon-factory.[ch]: Removed these files
	* e-shell-importer.c:
	* e-shell-settings-dialog.c:
	* e-shell-startup-wizard.c:
	* e-shell-window-commands.c:
	* e-user-creatable-items-handler.c:
	* evolution-shell-component-utils.[ch]:
	* main.c:
	* glade/evolution-startup-wizard.glade:
	* importer/import.glade: Use the icon theme via EIconFactory for all
	of the icons in the shell, and the window icons

svn path=/trunk/; revision=25512
2004-04-19 15:17:54 +00:00
2cc9ceb11f Don't activate the components here. (e_shell_construct): Activate them all
2004-04-09  Jeffrey Stedfast  <fejj@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): Don't activate the
	components here.
	(e_shell_construct): Activate them all here instead (before we
	attempt to upgrade). Fixes a bug where the shell would start up in
	online mode but never notify the components to go online.

	* main.c (idle_cb): s/Cannot access/Cannot register/

svn path=/trunk/; revision=25405
2004-04-09 21:56:34 +00:00
331fe02266 Remove dialog separators Change the border with of the dialog's vbox and
2004-03-31  Rodney Dawes  <dobey@ximian.com>

	* e-shell-importer.c (choose_importer_from_list):
	(start_import):
	(prepare_intelligent_page): Remove dialog separators
	* e-shell-offline-handler.c (pop_up_confirmation_dialog): Change the
	border with of the dialog's vbox and action area to be HIG-compliant
	* e-shell-settings-dialog.c (init): Remove the dialog separator
	* e-shell-startup-wizard.c (prepare_importer_page): Remove the dialog
	separator to be more HIG-compliant
	(key_press_event_callback): Fix compile warnings and cast to the
	correct widget types for calling various gtk api
	Remove the dialog separator to be more HIG-compliant
	* main.c (show_development_warning): Make the devel warning dialog
	that pops up for unstable versions be HIG-compliant
	* glade/e-active-connection-dialog.glade: Make the active connection
	dialog for going off-line be HIG-compliant
	* importer/intelligent.c (create_gui): Remove the dialog separator
	and set the dialog's vbox and action area border widths to be more
	compliant with the HIG

svn path=/trunk/; revision=25267
2004-03-31 17:05:52 +00:00
3a96d74c2b ** See bug #53683.
2004-02-04  Not Zed  <NotZed@Ximian.com>

	** See bug #53683.

	* Evolution-Component.idl: added EvolutionComponent::quit() call.

	* main.c (quit_box_new): removed, dont show quit box anymore at
	the end, we've already shutdown by now with the new shutdown
	sequence.

	* e-shell-window-commands.c (command_quit): call e_shell_quit to
	quit.

	* e-shell.c (e_shell_prepare_for_quit): renamed es_run_quit, now
	internal, and a gtktimeout function, so return code inverted.
	(e_shell_quit): new public entry, find out if we can shutdown, if
	so, then trigger a shutdown.
	(e_shell_request_close_window): just call e_shell_quit to exit
	when we've run out of windows.
	(e_shell_quit): desensitise all of the app windows before running
	shutdown.  looks a bit weird, but not doing so looks worse.

svn path=/trunk/; revision=24609
2004-02-04 10:55:25 +00:00
8fdd1935b6 turn development stuff back on
2004-01-29  JP Rosevear <jpr@ximian.com>

	* main.c: turn development stuff back on

svn path=/trunk/; revision=24519
2004-01-29 14:36:39 +00:00
e2ad337fd3 g_message this (destroy_config): remove the various pieces to create a
2004-01-28  JP Rosevear <jpr@ximian.com>

	* main.c (kill_dataserver): g_message this
	(destroy_config): remove the various pieces to create a cleanish
	state for re-migrating from 1.4.x
	(main): add --force-migrate option when in development mode

svn path=/trunk/; revision=24504
2004-01-29 00:48:34 +00:00
2cf803cfc6 attempt the upgrade before trying to startup the wizard.
2004-01-21  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (attempt_upgrade, detect_version, e_shell_construct):
        attempt the upgrade before trying to startup the wizard.

        * main.c (detect_version, attempt_upgrade): move to e-shell.c
        (idle_cb): remove call to attempt_upgrade.

svn path=/trunk/; revision=24461
2004-01-27 12:31:22 +00:00
6520af983e drop now useless gtkhtml/gconf check
2004-01-26  JP Rosevear <jpr@ximian.com>

	* main.c: drop now useless gtkhtml/gconf check

svn path=/trunk/; revision=24437
2004-01-26 16:53:54 +00:00
8f4d01823c Move uri_list loop into a separate function so we don't duplicate code in
2004-01-23  Rodney Dawes  <dobey@ximian.com>

	* main.c (idle_cb): Move uri_list loop into a separate function
	so we don't duplicate code in both instances where we are creating
	a new shell or using a current one, and don't open a new shell window
	if we are passing in a uri and a shell is already up

	Fixes #53216

svn path=/trunk/; revision=24394
2004-01-23 23:27:03 +00:00
0e6bca7616 kill the correct binary, tidy includes
2004-01-15  JP Rosevear <jpr@ximian.com>

	* main.c (kill_dataserver): kill the correct binary, tidy includes

svn path=/trunk/; revision=24243
2004-01-15 16:02:40 +00:00
babacb9101 move version detection here
2004-01-15  JP Rosevear <jpr@ximian.com>

	* main.c (detect_version): move version detection here

	* e-config-upgrade.c: remove it from here; clean out all the
	mailer and bonobo conf conversion stuff, its been moved to the
	mailer and e-util

	* e-config-upgrade.h: remove proto

svn path=/trunk/; revision=24242
2004-01-15 15:56:11 +00:00
f17f36a31e detect the version more completely with the new util routine (main): don't
2004-01-13  JP Rosevear <jpr@ximian.com>

	* main.c (attempt_upgrade): detect the version more completely
	with the new util routine
	(main): don't upgrade the config db here

	* e-shell.h: update proto

	* e-shell.c (e_shell_attempt_upgrade): take the current version as
	numerical params

	* e-config-upgrade.h: update prototypes

	* e-config-upgrade.c (e_config_upgrade): remove version detection
	and saving code
	(e_upgrade_detect_version): routine to do the version detection

	* e-config-upgrade.c: drop my-evolution upgrade code

svn path=/trunk/; revision=24205
2004-01-13 18:51:54 +00:00
391ca0f24d these just handle creating the ~/evolution dir and so are no longer needed
2003-12-30  JP Rosevear <jpr@ximian.com>

	* e-setup.[hc]: these just handle creating the ~/evolution dir and
	so are no longer needed

	* main.c (main): don't setup the old ~/evolution dir

	* Makefile.am: don't build dead files

	* e-shell.c (e_shell_go_online): get the id from the component
	info

svn path=/trunk/; revision=24024
2003-12-30 15:09:35 +00:00
9407166101 If component_id is the empty string, pass NULL for it to
* e-shell.c (impl_Shell_createNewWindow): If component_id is the
empty string, pass NULL for it to e_shell_create_window() so we
get the default.

* main.c (idle_cb): Pass an empty string for component_id to
createNewWindow() if the default_component_id is NULL.

svn path=/trunk/; revision=23620
2003-12-03 20:08:14 +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
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
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
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
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
200606f928 Various changes to merge in evolution-data-server reliance.
svn path=/trunk/; revision=23206
2003-11-07 05:52:24 +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
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
0fb08f3ff8 Merge new-ui-branch to the trunk.
svn path=/trunk/; revision=22964
2003-10-21 18:28:34 +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
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
4710bfbfe3 #ifdef'ed wombat killing code, depending on whether KILL_PROCESS_CMD is
2003-05-15  Rodrigo Moya <rodrigo@ximian.com>

	* main.c: #ifdef'ed wombat killing code, depending on whether
	KILL_PROCESS_CMD is defined or not.
	(kill_wombat): kill also the alarm daemon process.

svn path=/trunk/; revision=21190
2003-05-15 15:57:34 +00:00
7b20b772d2 Add a #include to fix a warning.
2003-05-09  Jeremy Katz  <katzj@redhat.com>

	* main.c: Add a #include to fix a warning.

	* e-shell-offline-handler.c (update_dialog_clist): Use a list
	store instead of a tree model for the store.

svn path=/trunk/; revision=21136
2003-05-09 15:00:46 +00:00
8cb06f7966 (main): Add e_proxy_init()
svn path=/trunk/; revision=20987
2003-04-28 18:17:22 +00:00
365ad25fab Add a "--setup-only" flag, to just run e_setup() and exit. (For #40889)
* main.c (main): Add a "--setup-only" flag, to just run e_setup()
        and exit. (For #40889)

svn path=/trunk/; revision=20788
2003-04-09 17:14:54 +00:00
a14c9abfeb Substitute version number into the evolution binary name in the server
* Makefile.am ($(server_in_files)): Substitute version number into
	the evolution binary name in the server file
	(INCLUDES): define EVOLUTION_TOOLSDIR

	* GNOME_Evolution_Shell.server.in.in: Clean up server names. Add
	"-@VERSION@" to the end of the shell binary name

	* main.c (main): if KILL_PROCESS_CMD is defined, add a
	--force-shutdown argument that runs killev and exits.

svn path=/trunk/; revision=20702
2003-04-07 16:08:11 +00:00
583bbec280 (kill_old_wombat): New.
(kill_wombat): New.
(idle_cb): Call kill_old_wombat().

svn path=/trunk/; revision=20565
2003-03-28 21:52:31 +00:00
b04bd957c7 Update for e_notice move. Likewise Likewise Likewise Likewise Likewise
* e-folder-dnd-bridge.c: Update for e_notice move.
	* e-setup.c: Likewise
	* e-shell-folder-commands.c: Likewise
	* e-shell-folder-creation-dialog.c: Likewise
	* e-shell-offline-sync.c: Likewise
	* e-shell-shared-folder-picker-dialog.c: Likewise
	* e-shell-view-menu.c: Likewise
	* e-shell.c: Likewise
	* evolution-shell-component-utils.c: Likewise

	* Makefile.am (libeshell_la_LIBADD): libeshell depends on
	libeutil.

	* e-corba-storage.c: Fix warnings

svn path=/trunk/; revision=20500
2003-03-25 15:48:33 +00:00
42261b4c8a [Patch from Not Zed <NotZed@Ximian.com>]
(show_development_warning): Separated the current stable
version number from the warning prompt, and fixed a minor
grammatical error.  For bug #38775.

svn path=/trunk/; revision=20196
2003-03-06 16:53:31 +00:00
2c488d4c81 Added a key for /apps/evolution/version - seems the best place to put it.
2003-02-26  Not Zed  <NotZed@Ximian.com>

        * apps_evolution_shell.schemas: Added a key for
        /apps/evolution/version - seems the best place to put it.  This
        should not return any value if unset, so i'm not sure if this is
        the right mechanism ...

        * e-config-upgrade.c: Upgrade settings from earlier versions of evolution.

        * main.c (upgrade_from_1_0_if_needed): Removed.
        (main): Call e_config_upgrade before going into gmainloop.
        (main): Turn off the --force-upgrade option, since it doesn't work
        yet ...

svn path=/trunk/; revision=20068
2003-02-26 12:49:04 +00:00
6e61ef2ee4 fix the conf keys, currently unused.
2003-02-20  Not Zed  <NotZed@Ximian.com>

        * main.c (upgrade_from_1_0_if_needed): fix the conf keys, currently unused.

        * e-shell.c (save_settings_for_component): lower-case the config prefix.

svn path=/trunk/; revision=20021
2003-02-24 03:12:46 +00:00
aaa88bb0e4 (segv_redirect): New, SIGSEGV signal handler.
(setup_segv_redirect): New function to set it up.
(main): Call setup_segv_redirect().

svn path=/trunk/; revision=19907
2003-02-13 21:11:58 +00:00
1bf4369e83 Suggest people use 1.2.x instead of 1.0.x.
2003-02-11  Joe Shaw  <joe@ximian.com>

	* main.c (show_development_warning): Suggest people use 1.2.x instead
	of 1.0.x.

svn path=/trunk/; revision=19886
2003-02-11 22:24:00 +00:00