Commit Graph

249 Commits

Author SHA1 Message Date
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
3bb08252f2 there is no splash screen any more
2004-01-26  JP Rosevear <jpr@ximian.com>

	* e-shell.c (e_shell_construct): there is no splash screen any
	more

svn path=/trunk/; revision=24438
2004-01-26 17:00:28 +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
f13d5385ff make sure we actually upgrade between revisions
2004-01-08  JP Rosevear <jpr@ximian.com>

	* e-shell.c (e_shell_attempt_upgrade): make sure we actually
	upgrade between revisions

svn path=/trunk/; revision=24124
2004-01-09 03:13:18 +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
3270f7a07f Mark the settings dialog as transient for the main window
svn path=/trunk/; revision=24004
2003-12-22 18:32:13 +00:00
56ac1ec642 Implement.
* e-shell.c (e_shell_prepare_for_quit): Implement.

* Evolution-Component.idl (Component::requestQuit): Make sync
[i.e. just return a boolean instead of using a BonoboListener].

svn path=/trunk/; revision=23639
2003-12-04 23:12:28 +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
ac0442e31c Pass a label for the status bar control for now.
* gui/component/addressbook-component.c (impl_createControls):
Pass a label for the status bar control for now.

* gui/calendar-component.c (impl_createControls): Pass a label for
the status bar control for now.

* gui/tasks-component.c (impl_createControls): Pass a label for
the status bar control for now.

* mail-component.c (impl_createControls): Pass a label for the
status bar control for now.

* e-shell.c (struct _EShellPrivate): Remove member
activity_handler.
(setup_activity_interface): Remove.
(e_shell_init): Don't call.
(create_window): Don't attach the task bar to the activity
handler.

* e-shell-window.c (struct _ComponentView): New member
statusbar_widget.
(struct _EShellWindowPrivate): Remove member task_bar.
(init_view): Get the status bar control from createControls and
put it in the ComponentView struct.
(setup_task_bar): New.
(setup_statusbar_notebook): New.
(switch_view): Switch the statusbar notebook too.
(impl_dispose): Add missing GTK_OBJECT() cast.
(e_shell_window_peek_task_bar): Remove.

* Evolution-Component.idl (Component::createControls): New out arg
"statusbar_control"; this way components can provide their own
status bar.

* e-activity-handler.c, e-activity-handler.h: Turn into a plain
GObject; translate all the CORBA methods into plain C methods.

* Makefile.am: Move e-activity-handler to libeshell instead of it
being in the shell.

svn path=/trunk/; revision=23555
2003-12-02 02:17:34 +00:00
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
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
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
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
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
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
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
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
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
ca848e5756 Protect against the component name having slashes in it.
* e-shell.c (parse_default_uri): Protect against the component
name having slashes in it.

* e-shell-view.c (display_uri): Protect against invalid "default:"
URIs.  [#43079]

svn path=/trunk/; revision=21194
2003-05-15 18:19:16 +00:00
74ee7fe6ae release the interface if we got it
2003-05-14  JP Rosevear  <jpr@ximian.com>

	* e-shell.c (save_settings_for_component): release the interface
	if we got it

	* e-shell-view.c: include bonobo-exception.h
	(impl_dispose): release and unref the shell view corba interface
	(init): init to CORBA_OBJECT_NIL
	(e_shell_view_get_corba_interface): return the corba interface
	(setup_corba_interface): release the existing shell view, add as
	an interface and then query to get it back
	(get_view_for_uri): release and unref the control once we create
	the widget with it

	* e-corba-storage.c (storage_listener_servant_new): don't ref
ourselves
	(storage_listener_servant_free): don't unref ourselves
	(impl_dispose): free the servant info

	* e-corba-storage-registry.c
	(impl_StorageRegistry_getStorageByName): we need to ref as well as
	duplicate since we didn't create the storage here

svn path=/trunk/; revision=21176
2003-05-14 18:39:22 +00:00
a693beaab4 Free the temporary string.
2003-04-15  Hans Petter Jansson  <hpj@ximian.com>

	* e-setup.c (e_setup_check_config): Free the temporary string.

	* e-shell-user-creatable-items-handler.c (append_xml_for_menu_item):
	Free the icon xml string.

	* e-shell.c (parse_default_uri): Free the component name, the
	configuration path and the temporary path.

svn path=/trunk/; revision=20849
2003-04-15 21:27:08 +00:00
320484b37f Desensitize the window's top-level container rather than desensitizing the
* evolution-folder-selector-button.c (clicked): Desensitize the
	window's top-level container rather than desensitizing the window
	itself, which causes strange problems [#40854]. Also fix up the
	code that tries to watch for the parent window being destroyed.

	* e-shell.c (impl_Shell_selectUserFolder): Use
	e_dialog_set_transient_for_xid.

	* e-shell-folder-selection-dialog.c (impl_response): Treat
	GTK_RESPONSE_DELETE_EVENT the same as GTK_RESPONSE_CANCEL.
	(e_shell_folder_selection_dialog_construct): No need to catch
	"delete_event" signal.

svn path=/trunk/; revision=20729
2003-04-07 20:20:00 +00:00
136cf86a7c [#39467]
2003-04-02  Not Zed  <NotZed@Ximian.com>

        [#39467]

        * e-shell.c (e_shell_construct): Change the splash logic slightly,
        so that if we can't create the splash, we dont try and cast/use
        it.
        * e-splash.c (e_splash_new): dont use a g_return* for what could
        be a valid (tho incorrect) runtime condition.

svn path=/trunk/; revision=20629
2003-04-02 03:41:57 +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
7733348dcc add a "new_view_xid" arg, so the component has a window id to make use of
* Evolution-ShellComponent.idl (interactive): add a "new_view_xid"
	arg, so the component has a window id to make use of as a parent
	if it needs to pop up a dialog.

	* e-shell.c (set_interactive): Pass the new_view_xid when going
	interactive.
	(e_shell_set_interactive): Remove this since it wasn't being used,
	and couldn't be used for anything except lying to the components.

	* evolution-shell-component.c
	(evolution_shell_component_class_init): Update "interactive"
	signal definition
	(impl_interactive): Update prototype and signal emission

	* e-shell-marshal.list (NONE:BOOL,INT): add

svn path=/trunk/; revision=20493
2003-03-25 14:01:46 +00:00
ec3cf6dfcd If you can't get a pixbuf icon for the folder's type, do not crash.
* evolution-folder-selector-button.c (set_folder): If you can't
get a pixbuf icon for the folder's type, do not crash.  [#39599]

* e-shell.c (impl_Shell__get_displayName): Removed.  [#38974]
(e_shell_class_init): Do not install anymore.

* Evolution-Shell.idl: Remove displayName attribute.

svn path=/trunk/; revision=20359
2003-03-19 18:32:52 +00:00
647671b615 ** reverted the following patch from ettore, this is a gnome 2.2 api
2003-03-07  Not Zed  <NotZed@Ximian.com>

        ** reverted the following patch from ettore, this is a gnome 2.2
        api change, and shouldn't be used yet.

        * e-shell.c (impl_finalize): Use
        bonobo_activation_unregister_active_server() instead of
        bonobo_activatino_active_server_unregister().
        (e_shell_construct): Use
        bonobo_activation_register_active_server() instead of
        bonobo_activation_active_server_register().

svn path=/trunk/; revision=20214
2003-03-07 02:26:11 +00:00
8f3ca8febc (impl_Shell_selectUserFolder): At least for now,
disable the nasty XWMHints trick to fool WMs; it is not needed now
that everything is in-proc.

svn path=/trunk/; revision=20211
2003-03-06 19:44:13 +00:00
6681286707 (impl_finalize): Use
bonobo_activation_unregister_active_server() instead of
bonobo_activatino_active_server_unregister().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().

svn path=/trunk/; revision=20198
2003-03-06 17:22:10 +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
8d5640e6ce (e_shell_construct): Use
bonobo_activation_server_register() instead of
bonobo_activation_register_active_server() again, since we want to
be able to build against bonobo-activation 2.0 and the latter is
2.2-specific.
(impl_finalize): Likewise, use
bonobo_activation_active_server_unregister() instead of
bonobo_activation_unregister_active_server().

svn path=/trunk/; revision=19668
2003-01-28 17:08:05 +00:00
8cf2b93847 Set GTK_RESPONSE_OK as the default response.
* e-shell-importer.c (choose_importer_from_list): Set
GTK_RESPONSE_OK as the default response.

* Makefile.am (INCLUDES): Add -DGNOME_DISABLE_DEPRECATED,
-DBONOBO_DISABLE_DEPRECATED.

* e-shortcuts.c (update_shortcut_and_emit_signal): Use
g_signal_emit() instead of gtk_signal_emit().

* e-shortcuts-view.c (destroy_group_cb): Port from GnomeMessageBox
to GtkMessageDialog.

* e-shell.c (get_icon_path_for_component_info): Use
gnome_program_locate_file() instead of gnome_pixmap_file().
(impl_finalize): Use bonobo_activation_unregister_active_server()
instead of bonobo_activation_active_server_register().
(e_shell_construct): Use
bonobo_activation_register_active_server() instead of
bonobo_activation_active_server_register().

* e-shell-view-menu.c (command_submit_bug): Use e_notice().
(launch_pilot_settings): Use g_find_program_in_path() instead of
gnome_is_program_in_path().
(command_submit_bug): Likewise.

* e-shell-utils.c (get_icon_path): Use g_file_test() instead of
g_file_exists().

* e-shell-startup-wizard.c (prepare_importer_page): Port from
GnomeMessageBox to GtkMessageDialog.

* e-shell-shared-folder-picker-dialog.c (show_dialog): Update for
GtkDialog.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(create_progress_dialog): Ported to GnomeDialog.

* e-shell-offline-sync.c: Add member parent_window to struct
SyncData.
(e_shell_offline_sync_all_folders): Set it from the parent_window
arg.
(progress_dialog_close_callback): Removed.
(progress_dialog_clicked_callback): Removed.
(progress_dialog_response_callback): New.
(setup_dialog): Create a GtkDialog instead of a GnomeDialog.
(sync_folder): Updated for GtkDialog.

* e-shell-offline-handler.c (dialog_handle_ok): Make it get a
GtkDialog instead of a GnomeDialog.
(dialog_handle_cancel): Likewise.
(dialog_clicked_cb): Removed.
(dialog_response_cb): New.
(pop_up_confirmation_dialog): Connect the new dialog_response_cb()
instead of the old dialog_clicked_cb().  Removed
gnome_dialog_set_default() call.

* e-shell-folder-creation-dialog.c (dialog_response_cb): Make
first arg a GtkDialog, not a GnomeDialog.

* e-shell-folder-commands.c (e_shell_command_delete_folder):
Expect delete_dialog() to return a GtkResponseType.
(delete_dialog): Ported to GtkMessageDialog; Return a
GtkResponseType.

* e-shell-config-default-folders.c
(e_shell_config_default_folders_create_widget): Removed unused
variable.

* e-setup.c (check_evolution_directory): Remove Evolution
directory installation message.
(e_setup): Remove check for the Executive-Summary directory.

* e-local-storage.c (create_folder_directory): Use g_file_test()
instead of g_file_exists().

* evolution-shell-component-utils.c (e_pixmaps_update): Use
g_build_filename() of g_concat_dir_and_file().
* e-folder-dnd-bridge.c (handle_data_received_path): Likewise.
* e-local-folder.c (construct_loading_metadata): Likewise.
(save_metadata): Likewise.
* e-local-storage.c (remove_folder_directory): Likewise.
(append_xfer_item_list): Likewise.
* e-setup.c (check_dir_recur): Likewise.
(e_shell_rm_dir): Likewise.
(setup_bonobo_conf_private_directory): Likewise.
* e-shell-folder-commands.c
(folder_selection_dialog_folder_selected_callback): Likewise.
(e_shell_command_rename_folder): Likewise.
* e-shell-folder-creation-dialog.c (dialog_response_cb): Likewise.
* e-shell-settings-dialog.c (load_pages): Likewise.
* e-shell-utils.c (get_icon_path): Likewise.
* e-shell.c (setup_local_storage): Likewise.
(get_icon_path_for_component_info): Likewise.
(e_shell_construct): Likewise.
* main.c (main): Likewise.

svn path=/trunk/; revision=19658
2003-01-27 21:09:56 +00:00
092ccc49c4 s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)
* s/BonoboXObject/BonoboObject/ (for BONOBO_DISABLE_DEPRECATED)

svn path=/trunk/; revision=19427
2003-01-13 18:51:39 +00:00
b08b93d946 Make the view save its settings as the default ones if it's the last one.
* e-shell.c (e_shell_request_close_view): Make the view save its
settings as the default ones if it's the last one.

* e-shell-view-menu.c (command_quit): Make this view save its
settings as the defaults before quitting.

svn path=/trunk/; revision=19410
2003-01-10 20:43:48 +00:00