Commit Graph

1583 Commits

Author SHA1 Message Date
cf89e7ea3f add a component name argument, so we don't use 'this_component', and
2004-04-13  Not Zed  <NotZed@Ximian.com>

        * e-user-creatable-items-handler.c (create_verb): add a component
        name argument, so we don't use 'this_component', and everything
        comes from tasks!  Fix callers to pass the component alias.
        (struct _EUserCreatableItemsHandlerPrivate): change
        default_menu_item to be fallback_menu_item for the mail message
        new fallback.  Make default_menu_item be the default for the view
        (which some code seems to think it should be).  Fixes #56866.
        (ensure_menu_items): setup the fallback_menu_item here.
        (get_default_action_for_view): use the fallback as the fallback,
        not default.
        (setup_toolbar_button): set the default menu item here for the
        current view.

svn path=/trunk/; revision=25429
2004-04-13 10:37:19 +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
5ffbd12053 Removed the "apply" method.
2004-04-07  Jeffrey Stedfast  <fejj@ximian.com>

	* Evolution-ConfigControl.idl: Removed the "apply" method.

	* e-corba-config-page.c: We can probably remove this entire file,
	it seems pretty useless. But until I know for sure, I guess I
	won't bother.
	(impl_apply): Removed, no longer a valid interface.
	(listener_event_callback): Huh? calls a non-existant function if
	the event name was "changed". Uhm, yea...ok. Removed.
	(setup_listener): Removed. Did nothing but to setup the above
	listener.

	* evolution-config-control.c: No longer needs to keep 'changed'
	state.
	(evolution_config_control_changed): Removed.
	(impl_apply): Removed. No lonegr a valid interface.

svn path=/trunk/; revision=25361
2004-04-07 20:48:40 +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
b4dc945f6e We don't need this really (class_init): We don't need to have our own
2004-03-26  Rodney Dawes <dobey@ximian.com>

	* e-shell-settings-dialog.c (impl_realize): We don't need this really
	(class_init): We don't need to have our own realize impl for setting
	the default window size of the dialog, especially since we are setting
	the size before we actually get realized, anyway
	(init): Set the dialog size here, and don't set the border width of the
	dialog

2004-03-26  Rodney Dawes  <dobey@ximian.com>

	* e-multi-config-dialog.c (init): Remove the dialog separator
	Set the border widths of the dialog's vbox and action area to be more
	HIG-compliant
	Set the border width of the dialog's child to 12 for HIG-compliance

svn path=/trunk/; revision=25197
2004-03-26 17:12:05 +00:00
2f3af438ae added (c) symbol and 2004 and changed to Novell to the copyright notice in
2004-03-18  Not Zed  <NotZed@Ximian.com>

        * e-shell-about-box.c: added (c) symbol and 2004 and changed to
        Novell to the copyright notice in the about box.

svn path=/trunk/; revision=25108
2004-03-18 04:13:20 +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
e8e1b0b823 Used the stock icon in confirm dialog.
2004-03-10  Bill Zhu  <bill.zhu@sun.com>

	* e-shell-startup-wizzard.c (key_press_event_callback): Used the
stock
	icon in confirm dialog.

	Fixes #55063

svn path=/trunk/; revision=25008
2004-03-10 16:07:25 +00:00
b866d48f55 Check that app is not NULL before trying to open the quickref document.
2004-03-06  Pratik V. Parikh <pratikvp@despammed.com>

	* e-shell-window-commands.c (command_quick_reference): Check that
	app is not NULL before trying to open the quickref document.

	Fixes #55106

svn path=/trunk/; revision=24989
2004-03-08 16:58:41 +00:00
07d79a59b8 Use @BASE_VERSION@ for the binary
2004-02-15  Rodney Dawes  <dobey@ximian.com>

	* evolution-nognome.in: Use @BASE_VERSION@ for the binary

	Fixes #54796

svn path=/trunk/; revision=24866
2004-02-25 18:37:54 +00:00
bfe2a883b6 remove id, and use info->id for create_progress_listener. Fixes #53649.
2004-02-18  Not Zed  <NotZed@Ximian.com>

        * e-shell-offline-handler.c (prepare_for_offline): remove id, and
        use info->id for create_progress_listener.  Fixes #53649.

svn path=/trunk/; revision=24766
2004-02-18 01:36:57 +00:00
5597ba679c Remove dead files
2004-02-10  JP Rosevear <jpr@ximian.com>

	* Remove dead files

svn path=/trunk/; revision=24692
2004-02-10 22:21:35 +00:00
19864e8202 use base version for intelligent importers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/intelligent.c (get_intelligent_importers): use base
	version for intelligent importers

	* e-shell-importer.c (get_intelligent_importers): ditto

	Fixes #54004

svn path=/trunk/; revision=24666
2004-02-07 01:25:21 +00:00
b6485cd1e4 use base version for importers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/intelligent.c (get_intelligent_importers): use base
	version for importers

svn path=/trunk/; revision=24665
2004-02-07 01:20:15 +00:00
5868c475f9 Really make this work with gnome-vfs 2.2, instead of using gnome-vfs 2.4
2004-02-06  Rodney Dawes  <dobey@ximian.com>

	* e-shell-window-commands.c (command_quick_reference): Really make
	this work with gnome-vfs 2.2, instead of using gnome-vfs 2.4 api,
	fixes #53566 more completely so snapshots can build again (doh)

svn path=/trunk/; revision=24650
2004-02-06 17:24:25 +00:00
5752d6268a remove step numbers
2004-02-06  JP Rosevear <jpr@ximian.com>

	* importer/import.glade: remove step numbers

svn path=/trunk/; revision=24646
2004-02-06 13:44:11 +00:00
fdd316cd24 Use gnome-vfs directly, instead of relying on gnome_url_show (), to launch
2004-02-05  Rodney Dawes  <dobey@ximian.com>

	* e-shell-window-commands.c (command_quick_reference): Use gnome-vfs
	directly, instead of relying on gnome_url_show (), to launch the
	application for the quick reference, since we can run on gnome 2.2
	mostly, and gnome_url_show () only handles the uri method there

	Fixes #53566

svn path=/trunk/; revision=24640
2004-02-05 23:18:27 +00:00
1771797074 pass in a parent for the dialogs, use e_notice (import_druid_finish): we
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell-importer.c (start_import): pass in a parent for the
	dialogs, use e_notice
	(import_druid_finish): we carry the filename around with us now
	(next_file_page): check the file here and store the name; put up
	gui dialogs
	(e_shell_importer_start_import): set the druid as a transient for
	the shell

svn path=/trunk/; revision=24624
2004-02-04 22:02:28 +00:00
7a316616d6 add extra page
2004-02-04  JP Rosevear <jpr@ximian.com>

	* importer/import.glade: add extra page

	* importer/evolution-importer.h: update protos

	* importer/evolution-importer.c: hold the createControl function
	(impl_GNOME_Evolution_Importer_createControl): implement
	(impl_GNOME_Evolution_Importer_loadFile): remove dead args

	* importer/evolution-importer-client.h: update/add protos

	* importer/evolution-importer-client.c
	(evolution_importer_client_create_control): wrapper
	(evolution_importer_client_load_file): we don't take physical_uri
	and folder_type as args any more

	* importer/GNOME_Evolution_Importer.idl: add createControl method
	and remove extraneous loadFile args

	* e-shell-window-commands.c (command_import): uncomment

	* e-shell-importer.h: update proto

	* e-shell-importer.c: remove DEPRECATED hack and tidy includes
	(get_iid_for_filetype): use query define
	(start_import): we don't take a file name and client directly now
	(create_plugin_menu): user query define
	(importer_dest_page_new): create vbox
	(import_druid_finish): we no longer do folder selection here
	(next_file_page): create the client here
	(prepare_dest_page): show the importer control
	(next_dest_page): skip to the finish
	(back_finish_page): back to the destination page
	(e_shell_importer_start_import): set up the destination page

	* Makefile.am: build import files again

svn path=/trunk/; revision=24619
2004-02-04 21:08:31 +00:00
8360a36e2d remove dead files
2004-02-04  JP Rosevear <jpr@ximian.com>

	* e-shell-view-menu[hc]: remove dead files

svn path=/trunk/; revision=24618
2004-02-04 20:47:21 +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
ed8f202a40 Moved to misc/widgets since they depend on libemiscwidgets now, and aren't
* e-activity-handler.c:
	* e-activity-handler.h:
	* e-task-bar.c:
	* e-task-bar.h:
	* e-task-widget.c:
	* e-task-widget.h: Moved to misc/widgets since they depend on
	libemiscwidgets now, and aren't actually used by the shell itself.

	* Makefile.am (eshell_HEADERS, libeshell_la_SOURCES): Update

svn path=/trunk/; revision=24590
2004-02-03 17:33:26 +00:00
04d688c182 don't generate a g_warning if button_icon == NULL. (component_info_free):
2004-02-02  Chris Toshok  <toshok@ximian.com>

	* e-component-registry.c (component_info_new): don't generate a
	g_warning if button_icon == NULL.
	(component_info_free): unref the button_icon if it's != NULL.

svn path=/trunk/; revision=24573
2004-02-02 21:57:37 +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
3af02b087f First argument to gtk_hbox_new () is a boolean, not an int, don't show the
2004-01-28  Rodney Dawes  <dobey@ximian.com>

	* e-task-bar.c (init): First argument to gtk_hbox_new () is a boolean,
	not an int, don't show the hbox for activities by default
	(e_task_bar_prepend_task): Show the hbox for activities when we add
	tasks to the taskbar
	(e_task_bar_remove_task): If we have no tasks left to display, don't
	show the empty hbox

svn path=/trunk/; revision=24500
2004-01-28 20:20:49 +00:00
95b0453457 Expand the label, this fixes the problem that people were having in the
2004-01-27  Rodney Dawes  <dobey@ximian.com>

	* e-task-bar.c (init): Expand the label, this fixes the problem
	that people were having in the shell window with the preview pane
	and the weird warning from ECLippedLabel for urls

	Fixes #52937 for good

svn path=/trunk/; revision=24484
2004-01-28 00:58:38 +00:00
385d87f37d add definition for EVOLUTION_HELPDIR
2004-01-26  David Trowbridge <trowbrds@cs.colorado.edu>

 	* Makefile.am: add definition for EVOLUTION_HELPDIR

 	* e-shell-window-commands.c: add handling for new "Quick
	Reference" menu

svn path=/trunk/; revision=24472
2004-01-27 20:55:28 +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
8c939dca8a Add panded widget to EShellWindowPrivate and handle state saving of
2004-01-26  Rodney Dawes  <dobey@ximian.com>

	* e-shell-window.c (setup_widgets): Add panded widget to
	EShellWindowPrivate and handle state saving of position (#52049)
	* e-task-bar.c (init): Switch to EClippedLabel instead of GtkLabel
	for the status bar text (#52937)

	Fixes #52049 and #52937

svn path=/trunk/; revision=24448
2004-01-26 21:56:03 +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
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
4f8bfb8a8b Updated some .cvsignore files.
svn path=/trunk/; revision=24424
2004-01-25 16:03: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
6dc6126ad8 remove calendar and task keys for upgrade, its done in the calendar now
2004-01-15  JP Rosevear <jpr@ximian.com>

	* e-config-upgrade.c: remove calendar and task keys for upgrade,
	its done in the calendar now

svn path=/trunk/; revision=24247
2004-01-15 17:07:59 +00:00
057394f02e added ForgetPasswords menu item. (command_forget_passwords): callback for
2004-01-15  Rodrigo Moya <rodrigo@ximian.com>

	* e-shell-view-menu.c: added ForgetPasswords menu item.
	(command_forget_passwords): callback for the new menu item.

	* e-shell-window-commands.c: (command_forget_passwords): ditto.

svn path=/trunk/; revision=24246
2004-01-15 16:15:10 +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
bbdcea5010 fix the check for ~/evolution being a directory.
2004-01-15  Not Zed  <NotZed@Ximian.com>

        * e-config-upgrade.c (e_upgrade_detect_version): fix the check for
        ~/evolution being a directory.

svn path=/trunk/; revision=24232
2004-01-15 06:12:19 +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
39e6fc9062 drop my-evolution upgrade code
2004-01-13  JP Rosevear <jpr@ximian.com>

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

svn path=/trunk/; revision=24204
2004-01-13 18:07:32 +00:00
c7ecf204b7 use our libs
2004-01-12  JP Rosevear <jpr@ximian.com>

	* Makefile.am: use our libs

svn path=/trunk/; revision=24172
2004-01-12 17:03:45 +00:00
d27d3f05cc Missed
svn path=/trunk/; revision=24167
2004-01-12 05:26:47 +00:00
4787dbb15c Complete rewrite to match current component api
2004-01-12  JP Rosevear <jpr@ximian.com>

	* evolution-test-component.[hc]: Complete rewrite to match current
	component api

	* Makefile.am: conditionally build the test component

svn path=/trunk/; revision=24166
2004-01-12 05:26:25 +00:00
410e8fb0a4 track hbox and label widget (button_free): unref them
2004-01-11  JP Rosevear <jpr@ximian.com>

	* e-sidebar.c (button_new): track hbox and label widget
	(button_free): unref them
	(do_layout_text_buttons): layout buttons with text
	(do_layout_icon_buttons): layout icon only buttons
	(do_layout): layout based on mode
	(impl_size_request): distinguish between horizontal and vertical
	padding
	(init): set a default mode
	(e_sidebar_add_button): align the button text to the left, only
	add the text if we are in the text mode
	(e_sidebar_get_mode): accessor
	(e_sidebar_set_mode): accessor

	* e-sidebar.h: add prototype and mode enum

svn path=/trunk/; revision=24163
2004-01-12 04:08:16 +00:00