Commit Graph

1552 Commits

Author SHA1 Message Date
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
ff3b4a5d81 Shush.
svn path=/trunk/; revision=24152
2004-01-11 06:46:15 +00:00
6e209f9bf4 proper server file for test components
2004-01-11  JP Rosevear <jpr@ximian.com>

	* GNOME_Evolution_Test.server.in.in: proper server file for test
	components

	* Makefile.am: allow the test component to be built and installed

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

svn path=/trunk/; revision=24151
2004-01-11 06:45:44 +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
5348a23619 add a ')' to create a valid query
2004-01-08  JP Rosevear <jpr@ximian.com>

	* e-shell-startup-wizard.c (get_intelligent_importers): add a ')'
	to create a valid query

svn path=/trunk/; revision=24112
2004-01-08 14:57:48 +00:00
722969d525 check that we found any importers before deferencing the pointer.
2004-01-08  Not Zed  <NotZed@Ximian.com>

        * e-shell-startup-wizard.c (get_intelligent_importers): check that
        we found any importers before deferencing the pointer.

svn path=/trunk/; revision=24103
2004-01-08 06:04:05 +00:00
e2b0897d80 Emit a hover-url signal when the user mouses over a URL, ...
2004-01-04  ERDI Gergo  <cactus@cactus.rulez.org>

	* em-folder-view.c (emfv_on_url_cb): Emit a hover-url signal when
	the user mouses over a URL, ...
	(emfv_hover_url_impl): ... and use BonoboUI to change the status
	bar message...
	(em_folder_view_set_statusbar): ... unless we are asked not to, ...

	* mail-component.c (impl_createControls): ... like in the case of
	the mail component, ...
	(view_hover_url_cb): ... that uses the ActivityHandler to do the
	same

	Add these together, and #127536 is neatly solved.

2004-01-05  ERDI Gergo  <cactus@cactus.rulez.org>

	* e-task-bar.c (init): Create a separate label to the left of the
	progress messages...
	(e_task_bar_message): ...and allow components to set it...

	* e-activity-handler.c (e_activity_handler_message): ...through
	this new ActivityHandler method

svn path=/trunk/; revision=24086
2004-01-07 14:29:08 +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
39c72b8943 only add the component to the list if we actually create it
2003-12-14  JP Rosevear <jpr@ximian.com>

	* e-user-creatable-items-handler.c (get_components_from_registry):
	only add the component to the list if we actually create it

	Fixes #51707

svn path=/trunk/; revision=23936
2003-12-14 15:54:39 +00:00
61b53f116a remove padding around the folder list. (impl_size_request): don't add
2003-12-11  Not Zed  <NotZed@Ximian.com>

        * e-sidebar.c (do_layout): remove padding around the folder list.
        (impl_size_request): don't add padding around folder list.

svn path=/trunk/; revision=23917
2003-12-11 00:04:57 +00:00
500c88a697 Remove GNOME_Evolution_Shell_Config_FolderSettings_Control.
Remove
GNOME_Evolution_Shell_Config_FolderSettings_Control.

svn path=/trunk/; revision=23893
2003-12-09 17:26:30 +00:00
29712bb2c4 remove useless gal include
2003-12-06  JP Rosevear <jpr@ximian.com>

	* e-shell-importer.c: remove useless gal include

	* Makefile.am: Remove hard coded disable deprecated flags

svn path=/trunk/; revision=23659
2003-12-06 18:09:17 +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
81a9c0d4f9 move e-task-bar and e-task-widget into libeshell.
[Fix pointed out by Bernard Leach <leachbj@bouncycastle.org>.]

svn path=/trunk/; revision=23618
2003-12-03 19:23:10 +00:00
84f290000d Remove. Remove. Remove. Remove. Remove. Remove. Remove. Remove.
* Evolution-Session.idl: Remove.
* Evolution-Activity.idl: Remove.
* Evolution-ShellComponent.idl: Remove.
* Evolution-ShellComponentDnd.idl: Remove.
* Evolution-ShellView.idl: Remove.
* Evolution-Shortcuts.idl: Remove.
* Evolution-Storage.idl: Remove.
* Evolution-StorageSetView.idl: Remove.

* evolution-shell-view.c: Remove.
* evolution-shell-view.h: Remove.

* evolution-session.c: Remove.
* evolution-session.h: Remove.

svn path=/trunk/; revision=23615
2003-12-03 17:59:27 +00:00
9b448074a4 Remove. Remove.
* e-folder-list.c: Remove.
* e-folder-list.h: Remove.

* e-folder-tree.c: Remove.
* e-folder-tree.h: Remove.

* e-folder.c: Remove.
* e-folder.h: Remove.

* evolution-shell-component.c: Remove.
* evolution-shell-component.h: Remove.

* evolution-shell-client.c: Remove.
* evolution-shell-client.h: Remove.

* evolution-folder-selector-button.c: Remove.
* evolution-folder-selector-button.h: Remove.

* evolution-activity-client.c: Remove.
* evolution-activity-client.h: Remove.

* evolution-storage.c: Remove.
* evolution-storage.h: Remove.

svn path=/trunk/; revision=23598
2003-12-03 15:39:41 +00:00
7d18bf233d Do not depend on e-folder-list.
* gui/component/addressbook-config.c: Do not depend on
e-folder-list.

* gui/component/select-names/e-select-names.c: Remove dependency
on evolution-folder-selector-button.
(e_addressbook_create_folder_selector): Just return a FIXME label
for now.
(folder_selected): #if 0 out.
(e_select_names_init): Do not connect.

* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_activate_dialog): Don't get a shell_client
arg anymore.
(load_completion_books): Stub out.

* gui/component/select-names/e-select-names.c
(e_select_names_new): Don't get an EvolutionShellClient anymore.
Don't create the folder selector button for now.

* gui/component/select-names/e-select-names.h: Remove dependency
on evolution-shell-client.

* gui/component/select-names/e-select-names-bonobo.c: Remove
dependency on evolution-shell-client.
(impl_SelectNames_activate_dialog): Stub out.

* gui/widgets/eab-gui-util.c: Remove dependency on
evolution-shell-client.
(eab_transfer_contacts): Stub out.

* importers/icalendar-importer.c: Do not #include shell stuff.

* gui/main.c: Do not #include <evolution-shell-client.h>.

* gui/e-itip-control.c: Do not #include
<e-folder-selector-button.h> nor <evolution-shell-client.h>.
(start_default_server): Return FALSE.
(default_server_started_cb): Do not connect the "selected" signal
on the button since it's now NULL.
(button_selected_cb): #if 0 out.

* gui/e-cal-list-view.h: Do not #include
"evolution-activity-client.h".

* gui/tasks-component.c (impl_createControls): Give an empty label
for the status bar.

* gui/e-day-view.h: Remove all deps on evolution-activity-client.

* e-msg-composer-hdrs.c: Do not #include
<evolution-folder-selector-button.h>.
(e_msg_composer_hdrs_set_post_to): #if 0 out for now.
(e_msg_composer_hdrs_get_post_to): Likewise.

* mail-vfolder.c: Do not #include "evolution-shell-component.h".

* Makefile.am (libevolution_mail_la_SOURCES): Don't compile
mail-importer.[ch] for now.

* mail-component-factory.c: Do not #include
<evolution-shell-client.h>.
* mail-config.c: Likewise.

* mail-vfolder.h: Do not #include <evolution-storage.h> or
<evolution-shell-component.h>.

* mail.h: Do not #include <evolution-storage.h>.

* mail-ops.h: Do not #include <evolution-storage.h>.
(mail_scan_subfolders): Remove prototype.
(mail_update_subfolders): Likewise.

svn path=/trunk/; revision=23595
2003-12-03 15:37:56 +00:00
ccd5cdcf82 (e_shell_window_save_defaults): Implement.
(e_shell_window_new): Set the width/height from the GConf keys.

svn path=/trunk/; revision=23591
2003-12-02 23:45:47 +00:00
8dd5d1de36 Version the schemas Removed Added
2003-12-02  Rodney Dawes  <dobey@ximian.com>

	* gui/component/Makefile.am: Version the schemas
	* gui/component/apps_evolution_addressbook.schemas: Removed
	* gui/component/apps_evolution_addressbook.schemas.in.in: Added

2003-12-02  Rodney Dawes  <dobey@ximian.com>

	* gui/Makefile.am: Version the schemas
	* gui/apps_evolution_calendar.schemas: Removed
	* gui/apps_evolution_calendar.schemas.in.in: Added

2003-12-02  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Version the schemas
	* evolution-mail.schemas: Removed
	* evolution-mail.schemas.in.in: Added

2003-12-02  Rodney Dawes  <dobey@ximian.com>

	* Makefile.am: Version the schemas
	* apps_evolution_shell.schemas: Removed
	* apps_evolution_shell.schemas.in.in: Added

svn path=/trunk/; revision=23579
2003-12-02 15:55:48 +00:00
d904b8e0d8 Remove debugging message.
svn path=/trunk/; revision=23559
2003-12-02 04:13:49 +00:00
492cdaf6f9 New member activity_handler. (mail_component_init): Initialize.
* mail-component.c (struct _MailComponentPrivate): New member
activity_handler.
(mail_component_init): Initialize.
(impl_dispose): Unref.
(mail_component_peek_activity_handler): New.
(impl_createControls): Create an ETaskBar, attach it to the
ActivityHandler, and return it to the caller as the statusbar
control.

* e-activity-handler.c (e_activity_handler_operation_finished):
Argh, renamed from e_activity_client_operation_finished().
(e_activity_handler_operation_started): Don't unref the pixbuf.

* e-shell-window.c (setup_widgets): Hide the menu hint label.

* e-activity-handler.c (init): Init to next_activity_id to 1 so
callers can rely on it being nonzero.

svn path=/trunk/; revision=23556
2003-12-02 03:41:35 +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
7af66de023 Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill the
2003-12-01  Rodney Dawes  <dobey@ximian.com>

	* Use BASE_VERSION for repo_ids and OAFIIDs
  * Update killev to kill the correct versions of gnome-spell and the
    GtkHTML Editor

svn path=/trunk/; revision=23543
2003-12-01 22:14:43 +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
550038cb1f remove gtk deprecated flag
2003-11-23  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: remove gtk deprecated flag

svn path=/trunk/; revision=23468
2003-11-23 16:55:05 +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
0fede2ff4a Free ->uri_schemas. (set_schemas): New function to get the list of URI
* e-component-registry.c (component_info_free): Free
->uri_schemas.
(set_schemas): New function to get the list of URI schemas given a
component's ServerInfo.
(query_components): Call it.

* e-component-registry.h (struct _EComponentInfo): Add
"uri_schemas" member.

* Evolution-Component.idl (Component.handleURI): New method.

svn path=/trunk/; revision=23447
2003-11-19 19:06:46 +00:00
9130b26c7b (evolution_activity_client_construct): Get a raw
GNOME_Evolution_Shell as an arg instead of an
EvolutionShellClient.
(get_shell_activity_iface): New helper function.
(evolution_activity_client_construct): Use it.

svn path=/trunk/; revision=23440
2003-11-19 09:54:50 +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
8ca3936a98 (struct _EShellWindowPrivate): New members
status_bar, offline_toggle, offline_toggle_image, menu_hint_label,
task_bar, tooltips.
(init): Initialize ->tooltips.
(impl_dispose): Unref ->tooltips.
(offline_toggle_clicked_callback): New.
(e_shell_window_new): Connect shell_line_status_changed_callback()
to the shell's "line_status_changed" signal.
(shell_line_status_changed_cb): New.
(setup_offline_toggle): New.
(setup_menu_hint_label): New.
(setup_task_bar): New.
(setup_status_bar): New.
(setup_widgets): Call setup_status_bar() and add add the status
bar to the window.
(update_offline_toggle_status): New.
(update_send_receive_sensitivity): New.
(load_icons): New.
(class_init): Call load_icons().
(ui_engine_remove_hint_callback): New.

svn path=/trunk/; revision=23438
2003-11-19 09:29:05 +00:00