Commit Graph

285 Commits

Author SHA1 Message Date
ebf5dd8717 ** Fixes bug #492058
2007-11-02  Damien Carbery  <damien.carbery@sun.com>

	** Fixes bug #492058

	* shell/e-shell-window.c:
	* shell/e-shell.c:
	* widgets/table/e-table-header-item.h:
	* widgets/table/e-table-header-item.c:
	* calendar/gui/e-itip-control.c:
	Name the anonymous unions to build with the Sun Studio compiler.


svn path=/trunk/; revision=34485
2007-11-02 17:08:05 +00:00
eeb89358f6 ** Fix for bug #329823
2007-10-11  Milan Crha  <mcrha@redhat.com>

	** Fix for bug #329823

	* Evolution-Shell.idl: (setButtonIcon):
	* e-sidebar.h: (e_sidebar_change_button_icon):
	* e-sidebar.c: (struct Button), (button_new), (button_free),
	(e_sidebar_change_button_icon):
	* e-shell.h: (EMainShellFunc), (e_shell_foreach_shell_window):
	* e-shell.c: (EMainShellFunc), (e_shell_foreach_shell_window):
	* e-component-view.h: (e_component_view_set_button_icon):
	* e-component-view.c: (e_component_view_set_button_icon):
	* e-shell-window.h: (e_shell_window_change_component_button_icon):
	* e-shell-window.c: (e_shell_window_change_component_button_icon):
	* e-shell-view.c: (struct change_icon_struct),
	(change_button_icon_func), (impl_ShellView_setButtonIcon),
	(e_shell_view_class_init):
	Added support to change component's button icon.

	* mail-component.h: (mail_indicate_new_mail):
	* mail-component.c: (mail_indicate_new_mail),
	(struct _MailComponentPrivate), (impl_dispose), (impl_createView):
	New function to indicate new mails on sidebar's button and storing
	component_view in priv struct for later use.
	* em-folder-view.c: (emfv_list_done_message_selected):
	* mail-folder-cache.c: (real_flush_updates):
	Indicate changes like for plugins for new mails.


svn path=/trunk/; revision=34374
2007-10-11 14:03:13 +00:00
b32649a94c ** Fixes bug #437579
2007-10-09  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #437579

	* addressbook/conduit/address-conduit.c:
	* addressbook/gui/component/addressbook-config.c:
	* addressbook/gui/contact-editor/e-contact-editor.c:
	* addressbook/gui/widgets/eab-gui-util.c:
	* calendar/conduits/calendar/calendar-conduit.c:
	* calendar/conduits/memo/memo-conduit.c:
	* calendar/conduits/todo/todo-conduit.c:
	* calendar/gui/dialogs/alarm-dialog.c:
	* calendar/gui/dialogs/event-page.c:
	* calendar/gui/dialogs/memo-page.c:
	* calendar/gui/dialogs/task-page.c:
	* calendar/gui/e-day-view-layout.c:
	* calendar/gui/e-day-view-layout.h:
	* calendar/gui/print.c:
	* e-util/e-pilot-map.c:
	* e-util/e-plugin.c:
	* e-util/e-profile-event.c:
	* e-util/e-signature.c:
	* filter/filter-file.c:
	* mail/e-searching-tokenizer.c:
	* mail/em-folder-browser.c:
	* mail/em-format-html.c:
	* mail/em-format-view.c:
	* mail/em-format.c:
	* mail/em-mailer-prefs.c:
	* mail/em-mailer-prefs.h:
	* mail/mail-session.c:
	* mail/mail-session.h:
	* mail/mail-vfolder.c:
	* mail/message-list.c:
	* plugins/bbdb/bbdb.c:
	* plugins/bbdb/gaimbuddies.c:
	* plugins/calendar-http/calendar-http.c:
	* plugins/exchange-operations/exchange-user-dialog.c:
	* plugins/face/face.c:
	* shell/e-shell-window.c:
	* shell/e-shell.c:
	* smime/lib/e-cert-db.c:
	* tools/killev.c:
	* widgets/misc/e-cursors.c:
	* widgets/misc/e-spinner.c:
	* widgets/misc/e-unicode.c:
	* widgets/table/e-table-field-chooser-item.c:
	* widgets/table/e-table-header-item.c:
	* widgets/table/e-table-header-item.h:
	* widgets/table/e-table-header-utils.c:
	* widgets/table/e-table.c:
	* widgets/text/e-text.c:
	Fix various compiler warnings.  Patch from Milan Crha.


svn path=/trunk/; revision=34368
2007-10-10 04:54:36 +00:00
e2e5e8d754 Fix for bug #461195 from Hiroyuki Ikezoe.
Use GObject's marshalers whenever possible.


svn path=/trunk/; revision=34324
2007-09-27 20:08:55 +00:00
d440df54a8 ** Fix for bug #471791 (Move away from asserts to g_ret*)
svn path=/trunk/; revision=34159
2007-09-02 18:56:05 +00:00
8e47917e8c Update FSF address in header comments (#469886). Patch from Tobias
2007-09-02  Matthew Barnes  <mbarnes@redhat.com>

	* Update FSF address in header comments (#469886).
	  Patch from Tobias Mueller.


svn path=/trunk/; revision=34151
2007-09-02 04:19:22 +00:00
25597a3be2 ** Added a hook event after the shell is started.
svn path=/trunk/; revision=33742
2007-07-03 04:45:33 +00:00
ffb81288b2 Revert the change from 2007-05-11. (#407104)
2007-05-13  Matthew Barnes  <mbarnes@redhat.com>

	* e-shell.c (impl_Shell_handleURI):
	Revert the change from 2007-05-11.  (#407104)


svn path=/trunk/; revision=33523
2007-05-14 00:45:29 +00:00
1dd540e02b Create a shell window if the schema or an alias was found. Previously this
2007-05-11  Matthew Barnes  <mbarnes@redhat.com>

	* e-shell.c (impl_Shell_handleURI):
	Create a shell window if the schema or an alias was found.
	Previously this only opened a window if an alias was found
	but not the schema.  Makes the GNOME Clock applet able to
	correctly start Evolution once again.  (#407104)


svn path=/trunk/; revision=33514
2007-05-12 01:14:55 +00:00
64977cb1bc Massive code cleanup (bug #429422)
svn path=/trunk/; revision=33432
2007-04-19 18:53:33 +00:00
cba3097cad ** Fixes bug #419524
2007-03-20  Matthew Barnes  <mbarnes@redhat.com>

	** Fixes bug #419524

	* Include <glib/gi18n.h> instead of <libgnome/gnome-i18n.h>.

	* e-util/e-xml-utils.c (e_xml_get_child_by_name_by_lang_list):
	* mail/em-migrate.c (emm_setup_initial):
	* shell/e-component-registry.c (query_components):
	* shell/e-shell-settings-dialog.c (load_pages):
	* shell/e-shell-window-commands.c (command_quick_reference):
	* tools/killev.c (main):
	Use g_get_language_names() instead of gnome_i18n_get_language_list().

	* e-util/e-util.c: Remove e_gettext().

	* e-util/Makefile.am: Remove e-i18n.h.


svn path=/trunk/; revision=33319
2007-03-20 17:23:58 +00:00
16be45ddfa Fix memory leak of iid.
2006-12-03  Harish Krishnaswamy  <kharish@novell.com>

	* e-shell.c: (impl_dispose): Fix memory leak of iid.

svn path=/trunk/; revision=33041
2006-12-04 09:59:21 +00:00
d71bbed0bd Don't call bonobo_activation_active_server_unregister() here, it's too
2006-06-17  Tor Lillqvist  <tml@novell.com>

	* e-shell.c (impl_finalize): Don't call
	bonobo_activation_active_server_unregister() here, it's too late,
	the EShell Bonobo object has already been deactivated and its
	associated CORBA object is NULL.
	(notify_no_windows_left_idle_cb): Instead, call
	bonobo_activation_active_server_unregister() here, when the EShell
	Bonobo object is still fully active.

svn path=/trunk/; revision=32177
2006-06-19 15:21:55 +00:00
1e5de972e6 Remove unused code and fix format specifiers in some cases.
2006-01-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-corba-config-page.c: (e_corba_config_page_class_init):
	* e-shell-folder-title-bar.c: (e_shell_folder_title_bar_construct):
	* e-shell-window.c: (init_view):
	* e-shell.c: (detect_version), (e_shell_construct), (e_shell_new),
	(e_shell_attempt_upgrade), (e_shell_create_window),
	(e_shell_save_settings):
	* main.c: (idle_cb):
	Remove unused code and fix format specifiers in some cases.

svn path=/trunk/; revision=31367
2006-01-30 11:49:53 +00:00
edfe0e087d Evolution-Component.idl Evolution-Shell.idl Remove duplicate definitions
2005-12-22  Parthasarathi Susarla <sparthasarathi@novell.com>

	* Evolution-Component.idl
	* Evolution-Shell.idl
	* Evolution.idl:
	Remove duplicate definitions and circular dependencies.

	* e-shell.c: comment out the implementation for findComponent.
	If implemented, this creates a circular dependency between the
	Shell.idl and Component.idl.
	** This is just a work-around **
Evolution-Component.idl Evolution-Shell.idl CVS: 	Evolution.idl
e-shell-view.c e-shell.c CVS:
----------------------------------------------------------------------

svn path=/trunk/; revision=30934
2005-12-22 11:11:15 +00:00
87a09855fa Evolution is now Network Aware, the day of complete awareness beckons, The
2005-12-22  Shreyas Srinivasan  <sshreyas@novell.com>

	* Evolution is now Network Aware, the day of complete
	awareness beckons, The machines are taking over...

	* Network Manager support for evolution

svn path=/trunk/; revision=30926
2005-12-22 02:12:34 +00:00
57884e830b committed these files to fix http://bugzilla.gnome.org/show_bug.cgi?id=260354
ChangeLog addressbook/ChangeLog
 	addressbook/gui/component/addressbook-component.c
 	calendar/ChangeLog calendar/gui/calendar-component.c
 	calendar/gui/memos-component.c calendar/gui/tasks-component.c
 	mail/ChangeLog mail/Evolution-Mail.idl mail/mail-component.c
 	shell/ChangeLog shell/Evolution-Component.idl
 	shell/Evolution-Shell.idl shell/Evolution.idl
 	shell/Makefile.am shell/e-shell-window.c
 	shell/e-shell-window.h shell/e-shell.c

svn path=/trunk/; revision=30915
2005-12-21 07:18:49 +00:00
e89c278267 Use libedataserver's e_xml_parse_file() instead of xmlParseFile()
2005-12-17  Tor Lillqvist  <tml@novell.com>

	* e-config-upgrade.c: Use libedataserver's e_xml_parse_file()
	instead of xmlParseFile() directly.

	* e-shell.c
	* e-shell-importer.c: Use GLib API when applicable.

	* e-shell-importer.c
	* e-shell-window.c: Construct pathname of glade file at run-time.

	* e-shell-window-commands.c: Include e-util-private.h for Win32
	redefinition of EVOLUTION_DATADIR.

	* main.c: No SIGSEGV handling on Win32.
	(main): Drop unused evolution_directory variable.

svn path=/trunk/; revision=30849
2005-12-18 04:33:29 +00:00
1bcb9b4631 fix warning. (impl_Shell_findComponent): fix signature for warning.
2005-08-17  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (impl_Shell_handleURI): fix warning.
        (impl_Shell_findComponent): fix signature for warning.

2005-08-16  Not Zed  <NotZed@Ximian.com>

        ** See bug #312668.

        * e-shell.c (set_line_status, set_line_status_complete)
        (set_line_status_finished): new code to set componetns on/offline.
        (e_shell_go_online, e_shell_go_offline): use new interface.
        (offline_procedure_started_cb, offline_procedure_finished_cb): removed.
        (impl_dispose): cleanup line status listener.
        (e_shell_init): setup line status listener.

        * evolution-listener.[ch]: skeleton listener object for new
        setlinestatus call.

        * Evolution-Offline.idl, e-shell-offline-handler.[ch]: killed.  We
        just add a single interface on EvolutionComponent now, much
        simpler.

svn path=/trunk/; revision=30154
2005-08-18 04:35:31 +00:00
9f12922bd8 Merge back eplugin-import-branch.
svn path=/trunk/; revision=29725
2005-07-12 04:04:14 +00:00
27a61acf27 Retired GAL from Head. The relevant files have moved inside evolution.
2005-06-17  Kaushal Kumar  <kakumar@novell.com>

        * Retired GAL from Head. The relevant files have moved inside
        evolution. Thanks to JP Rosevear for performing the cvs surgery. The
        files have been moved in the following order.

        evolution/e-util <- gal/gal/util
        evolution/a11y <-  gal/gal/a11y
        evolution/a11y/e-table <- gal/gal/a11y/e-table
        evolution/a11y/e-text <- gal/gal/a11y/e-text
        evolution/widgets/table <- gal/gal/e-table
        evolution/widgets/text <- gal/gal/e-text
        evolution/widgets/misc <- gal/gal/widgets
        evolution/widgets/misc/pixmaps <- gal/gal/widgets/pixmaps
        evolution/widgets/menus <- gal/gal/menus

        Following is the summary of changes done to fix the build:-
        - New files added to cvs repository,
                - a11y/e-table/Makefile.am
                - a11y/e-text/Makefile.am
                - widgets/table/Makefile.am
                - widgets/text/Makefile.am
                - widgets/misc/pixmaps/Makefile.am
                - iconv-detect.h
                - iconv-detect.c
        - Updated configure.in.
        - Updated all the relevant Makefile.am files.
        - Updated the include paths to replace all gal references.
        - Updated the marshal list to suit gal files requirements.

svn path=/trunk/; revision=29522
2005-06-17 15:20:35 +00:00
df95abe300 BonoboObject wrapper for Evolution::Component interface. Abstract, doesn't
2005-06-02  Not Zed  <NotZed@Ximian.com>

        * evolution-component.c: BonoboObject wrapper for
        Evolution::Component interface.  Abstract, doesn't implement
        methods.

        * Evolution-Shell.idl: add a method to find a component by
        component alias.

        * e-shell.c (impl_Shell_findComponent): & implement it

svn path=/trunk/; revision=29443
2005-06-02 04:28:11 +00:00
735789921b fix error file build/path changes
2005-05-16  Not Zed  <NotZed@Ximian.com>

        * Makefile.am: fix error file build/path changes

svn path=/trunk/; revision=29367
2005-05-16 06:17:42 +00:00
55a2859758 don't build wizard related code
005-04-29  JP Rosevear  <jpr@novell.com>

	* Makefile.am: don't build wizard related code

	* Evolution.idl: remove wizard idl include

	* e-shell.c: remove wizard include

	* Remove wizard related code which is now in a plugin (and is much
	simpler due to eplugin)

svn path=/trunk/; revision=29245
2005-04-29 05:06:00 +00:00
d2033ff625 fix the qualifier bit assignments for the STATE target.
2005-03-17  Not Zed  <NotZed@Ximian.com>

        * es-event.h: fix the qualifier bit assignments for the STATE target.

        * e-shell.c (offline_procedure_finished_cb): fix offline state event.

svn path=/trunk/; revision=29057
2005-03-18 05:26:52 +00:00
fc1558ac98 bump version, requires
2005-02-28  JP Rosevear  <jpr@novell.com>

	* configure.in: bump version, requires

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* configure.in: add startup wizard plugin

2005-02-28  JP Rosevear  <jpr@novell.com>

  	* plugins/Makefile.am: dist standard and experimental plugins

  	* configure.in: move "all" plugins to standard and experimental
  	and default to building the standard set

svn path=/trunk/; revision=28927
2005-03-01 06:17:20 +00:00
e75013c201 Make mailer depend on libedataserverui.
2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* configure.in: Make mailer depend on libedataserverui.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* Makefile.am (eutilinclude_HEADERS)
	(libeutil_la_SOURCES): Remove e-passwords from here, it now
	lives in libedataserverui.

	* e-passwords.[ch]: Removed.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* gui/component/addressbook-view.c:
	* gui/component/addressbook.c: Include
	<libedataserverui/e-passwords.h>.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* common/authentication.c:
	* gui/e-pub-utils.c:
	* gui/alarm-notify/alarm-notify.c:
	* gui/alarm-notify/notify-main.c:
	* gui/dialogs/url-editor-dialog.c:
	Include <libedataserverui/e-passwords.h>.
	* gui/itip-utils.c: Remove e-passwords.h include, it's not
	needed.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* mail-session.c:
	* mail-config.c: Include <libedataserverui/e-passwords.h>.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* gui/component.c:
	* lib/e-cert-db.c:
	* lib/e-pkcs12.c: Include <libedataserverui/e-passwords.h>.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* e-shell-window-commands.c:
	* e-shell.c:
	* main.c: Include <libedataserverui/e-passwords.h>.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* camel-gw-listener.c: Include <libedataserverui/e-passwords.h>.

2005-02-23  Hans Petter Jansson  <hpj@novell.com>

	* send-options.c: Include <libedataserverui/e-passwords.h>.

svn path=/trunk/; revision=28871
2005-02-23 18:57:00 +00:00
4722208003 open a new window if we get a component id type url
2005-01-09  JP Rosevear  <jpr@novell.com>

	* e-shell.c (impl_Shell_handleURI): open a new window if we get a
	component id type url

	* Evolution-Shell.idl: add ComponentNotFound exception

svn path=/trunk/; revision=28302
2005-01-10 02:35:12 +00:00
c744495276 set start_offline gconf key when ever offline state is changed.
2004-12-23  Sivaiah Nallaagatla <snallagatla@novell.com>

        * e-shell.c (e_shell_go_offline)
        (e_shell_go_online) : set start_offline gconf key
        when ever offline state is changed.

svn path=/trunk/; revision=28198
2004-12-24 09:16:56 +00:00
0ea79651b8 register event hook.
2004-10-25  Not Zed  <NotZed@Ximian.com>

        * main.c (main): register event hook.

        * e-shell.c (offline_procedure_finished_cb, e_shell_go_online):
        emit new state changed event.

        * main.c (main): register the menu hook.
        (): only define DEVELOPMENT if not already.

        * e-shell-window.c (init): setup menu manager.
        (e_shell_window_new): activate menu manager.
        (update_offline_toggle_status): update the menu manager when the
        offline state changes (currently only state which requires it)

        * es-menu.[ch]: Shell plugin menu manager.

svn path=/trunk/; revision=27712
2004-10-25 04:46:18 +00:00
ef6a3af717 Merged notzed-eplugin-2-branch to head.
svn path=/trunk/; revision=27300
2004-09-20 05:59:55 +00:00
fe0bfd89fe set online status for e_passwords see #62856 (work around)
2004-09-13  Sivaiah Nallagatla <snallagatla@novell.com>

        * e-shell.c (offline_procedure_finished_cb)
        (e_shell_go_online) : set online status
        for e_passwords
        see #62856 (work around)

svn path=/trunk/; revision=27263
2004-09-14 08:46:22 +00:00
9262d7ff7f ** See bug #62856 (workaround only)
2004-08-27  Not Zed  <NotZed@Ximian.com>

        ** See bug #62856 (workaround only)

        * e-shell.c (impl_Shell_setLineStatus, e_shell_construct): set the
        online state on e_passwords.

svn path=/trunk/; revision=27075
2004-08-30 04:32:07 +00:00
94256b9919 added last_version item.
* apps_evolution_shell.schemas.in.in: added last_version item.

 	* shell-errors.xml: added upgrade-remove-1-4 and
 	upgrade-remove-1-4-confirm dialogues.

 	* e-shell.c (remove_dir): utility to recursively delete a tree of
	files and folders.
 	(e_shell_attempt_upgrade): keep track of the last upgraded
 	version, if != current version, and < 1.5, and it exists, offer to
 	remove ~/evolution.  Confirm the offer before actually doing it.

 	* e-shell-window-commands.c: include gnome-about.
 	(command_help_faq): fix comment structure

 	* e-shell.c (attempt_upgrade): moved most of this into
 	e_shell_attempt_upgrade.
 	(e_shell_attempt_upgrade): moved most of this into
	attempt_upgrade, removed rev args.  It makes sense, really!
 	(e_shell_construct): call e_shell_attempt_upgrade instead.

svn path=/trunk/; revision=26788
2004-08-01 17:58:08 +00:00
61d06c1e6e merged this into e_shell_create_window, all it was doing was adding a
2004-07-22  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (create_window): merged this into
        e_shell_create_window, all it was doing was adding a stack frame.
        (e_shell_create_window): setup the e error default window.

svn path=/trunk/; revision=26729
2004-07-26 06:52:00 +00:00
8317d34210 ** See bug #57367.
2004-06-24  Not Zed  <NotZed@Ximian.com>

        ** See bug #57367.

        * e-shell-window.c (e_shell_window_new): fix gconf client leak and
        clean up some logic.

        * e-shell.c (e_shell_construct): dont activate the components
        individually, component registry does that implictly.

        * e-component-registry.c (init): dont call query_components here.
        (query_components): setup a run-once guard.  before adding a
        component info to the list, make sure we can activate it.
        (component_info_new): take the interface as a construct argument
        now.
        (e_component_registry_peek_list): perform the component list query
        if we haven't already.
        (e_component_registry_peek_info): same.
        (e_component_registry_activate): just always return
        the reffed component, it isn't added unless it was already activated.

svn path=/trunk/; revision=26490
2004-06-24 08:14:51 +00:00
e0862e69a7 ** See #58827.
2004-05-27  Not Zed  <NotZed@Ximian.com>

        ** See #58827.

        * e-shell-window.c (switch_view): api change

        * e-shell.c (impl_Shell_handleURI): Fixed for api change.
        (impl_Shell_handleURI): check the component alias for an alternate
        uri schema path.  'quick hack' for activating components from
        command line.  This may, or may not, continue to function.

        * e-component-registry.c (e_component_registry_peek_info): added
        an id for search type.
        (e_component_registry_peek_info_for_uri_schema): ^ makes this
        redundant, removed.
        (e_component_registry_activate): fixed for api change.

svn path=/trunk/; revision=26137
2004-06-01 04:16:26 +00:00
d45880ec8e Implemented. Sends the "interactive" message when the first window is
2004-05-26  Sarfraaz Ahmed <asarfraaz@novell.com>

        * e-shell.c (set_interactive): Implemented. Sends the "interactive"
        message when the first window is created to all the components.

svn path=/trunk/; revision=26098
2004-05-26 10:06:36 +00:00
90b1aebeb8 remove unused.
2004-05-21  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (e_shell_attempt_upgrade): remove unused.

svn path=/trunk/; revision=26032
2004-05-21 09:12:44 +00:00
2cf63ca4ba add for translators.
2004-05-12  Not Zed  <NotZed@Ximian.com>

        * shell-errors.xml.h: add for translators.

2004-05-11  Not Zed  <NotZed@Ximian.com>

        * shell-errors.xml: Shell errors.

        * e-shell.c (e_shell_attempt_upgrade): handle exceptions better.
        allow the user to keep going or abort.  stop as soon as something
        fails.  Related to #53083.
        (attempt_upgrade): abort and quit if the subcall failed.  it will
        display an appropriate error box.
        (attempt_upgrade): abort if we don't have enough space.  #57290.

        * Evolution-Component.idl (upgradeFromVersion): remove the return
        code, use exceptions to indicate failure.

svn path=/trunk/; revision=25869
2004-05-12 03:33:51 +00:00
abdf6717ec Don't save window state here.
* e-shell-window-commands.c (command_quit): Don't save window
	state here.

	* e-shell.c (e_shell_quit): Do it here, so it gets called if you
	quit by closing the last window via its close button too. #57529

svn path=/trunk/; revision=25723
2004-04-30 19:05:34 +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
173ec4ea29 make sure the component is activated before calling upgradeFromVersion.
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): make sure the component is
	activated before calling upgradeFromVersion.

svn path=/trunk/; revision=25400
2004-04-09 19:01:21 +00:00
e03ebc5235 unref the component registry
* e-shell.c (impl_dispose): unref the component registry

svn path=/trunk/; revision=25398
2004-04-09 18:07:23 +00:00
65a076f8dc use BASE_VERSION to supply the major/minor version, and use
2004-04-09  Chris Toshok  <toshok@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): use BASE_VERSION to supply
	the major/minor version, and use UPGRADE_REVISION for the
	revision.
	(attempt_upgrade): store the key based on BASE_VERSION and
	UPGRADE_REVISION.

svn path=/trunk/; revision=25386
2004-04-09 17:20:51 +00:00
7f2badb024 Change this a lot. Now each component will maintain its own
* e-user-creatable-items-handler.c: Change this a lot. Now each
	component will maintain its own EUserCreatableItemsHandler and
	merge the button and menus in and out of the UI as its controls
	are activated and deactivated. (This lets the connector component
	display the correct default for the New button). Also, update to
	the Product Design Team's new organization (separating object
	types from folder types)

	* e-shell.c: Remove all creatable_items_handler references

	* e-shell-window.c (e_shell_window_new): Remove
	creatable_items_handler reference

	* Makefile.am: Move e-user-creatable-items-handler from evolution
	to libeshell, and make libeshell depend on libemiscwidgets (for
	the combo button)

	* Evolution-Component.idl: add another field to CreatableItemType
	so we can distinguish object types from folder types.

svn path=/trunk/; revision=25379
2004-04-09 15:46:00 +00:00
f61aa6b19c when we check the evolution dir exists, check the evolution dir exists,
2004-03-12  Not Zed  <NotZed@Ximian.com>

        * e-shell.c (detect_version): when we check the evolution dir
        exists, check the evolution dir exists, not the config.xmldb file.
        Move filename building/usage into the else condition so it can't
        happen again.  Fixes #53277.

svn path=/trunk/; revision=25040
2004-03-12 07:58:20 +00:00
984ebf4e06 make this C89 compliant
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell.c (e_shell_quit): make this C89 compliant

svn path=/trunk/; revision=24617
2004-02-04 20:45:45 +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
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