Commit Graph

16299 Commits

Author SHA1 Message Date
f4a030d2fa Updated to use EAccountList and iterators. (evolution_composer_init):
2003-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* evolution-composer.c (impl_Composer_set_headers): Updated to use
	EAccountList and iterators.
	(evolution_composer_init): Updated to use EAccount.

	* e-msg-composer.c (from_changed_cb): Updated to use the EAccount
	object.
	(e_msg_composer_new_with_message): Same.
	(e_msg_composer_get_preferred_account): Updated to return an
	EAccount object.
	(set_editor_signature): Updated to use an EAccountIdentity pointer.
	(get_signature_html): Same.

	* e-msg-composer-hdrs.c (create_from_optionmenu): Updated to use
	EAccount and EAccountList foo.
	(destroy): Same here.
	(e_msg_composer_hdrs_set_from_account): Here too.
	(e_msg_composer_hdrs_get_from): Updated.

svn path=/trunk/; revision=19511
2003-01-17 23:32:07 +00:00
99df61da47 reverse part of the patch from 1/15.
2003-01-17  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-text.c (show_pango_rectangle): reverse part of the
	patch from 1/15.

svn path=/trunk/; revision=19510
2003-01-17 23:31:36 +00:00
e0053bce8e Updated. (request_password): Same.
2003-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c (do_get_pass): Updated.
	(request_password): Same.

	* mail-send-recv.c (mail_send): Fixed to use EAccountService.

	* mail-config-druid.c (make_account): Updated to use EAccount and
	friends.

	* mail-account-gui.c (service_check_supported): Updated to use
	EAccountService.
	(mail_account_gui_new): Ref the account passed in and also update
	to use EAccount objects.
	(save_service): Updated to use an EAccountService.
	(add_new_store): Updated to use an EAccount.
	(mail_account_gui_save): Updated to use EAccounts.
	(setup_signatures): Updated because the new account->id->def_sig
	is now an int and not a structure pointer.

	* mail-account-editor.c (construct): Updated.
	(mail_account_editor_new): Now takes an EAccount object as an
	argument instead of a MailConfigAccount.

	* mail-crypto.c (mail_crypto_get_pgp_cipher_context): Updated to
	use EAccounts.

	* subscribe-dialog.c (populate_store_foreach): Removed.
	(populate_store_list): Can't use populate_store_foreach here
	because of the change to EAccountList so do it manually.

	* mail-vfolder.c (uri_is_ignore): Rewrote to use EAccountList and
	EIterator and all that fun.

	* mail-send-recv.c (build_dialogue): Updated to use EAccountList
	and EAccount object stuff. *ugh*
	(mail_send_receive): Here too.
	(mail_autoreceive_setup): Same.

	* mail-callbacks.c (check_send_configuration): Updated.
	(composer_get_message): Updated.
	(compose_msg): "
	(list_add_addresses): "
	(guess_me): "
	(guess_me_from_accounts): Same.
	(forward_get_composer): Here too.
	(mail_generate_reply): Same.
	(redirect_get_composer): "
	(empty_trash): And finally here.

	* mail-accounts.c (account_edit_clicked): Updated.
	(account_delete_clicked): Same.
	(account_default_clicked): Here too.
	(account_able_clicked): "
	(account_cursor_change): "
	(mail_accounts_load): Again here.

	* folder-browser.c (folder_browser_is_drafts): Updated to use
	EAccountList and EAccount stuff.
	(folder_browser_is_sent): Same.

	* component-factory.c (mail_load_storages): Updated to use
	EAccount and EAccountList stuff.
	(owner_set_cb): Same.
	(send_receive_cb): Here too.

	* mail-config.c: Rewritten to use EAccount and EAccountList
	objects.

svn path=/trunk/; revision=19509
2003-01-17 23:31:27 +00:00
650c61584f Changed signal names to use - instead of _ like the rest of Gtk2.
2003-01-17  Jeffrey Stedfast  <fejj@ximian.com>

	* e-account-list.c: Changed signal names to use - instead of _
	like the rest of Gtk2.

	* e-account.c (e_account_import): New function that is basically
	the old account_copy().

svn path=/trunk/; revision=19508
2003-01-17 23:30:37 +00:00
fdabee2040 pass pango_context_get_language to pango_context_get_metrics.
2003-01-17  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-entry.c (canvas_size_request): pass
	pango_context_get_language to pango_context_get_metrics.

svn path=/trunk/; revision=19507
2003-01-17 23:23:47 +00:00
673b336514 pass pango_context_get_language (context) to pango_context_get_metrics.
2003-01-17  Chris Toshok  <toshok@ximian.com>

	* e-shell-settings-dialog.c (set_dialog_size): pass
	pango_context_get_language (context) to
	pango_context_get_metrics.

svn path=/trunk/; revision=19506
2003-01-17 23:22:23 +00:00
e867ad711e Fix destroy.
svn path=/trunk/; revision=19505
2003-01-17 22:18:39 +00:00
f4a7080e82 (e_notice): Use gtk_dialog_run()
instead of gtk_widget_show() so we return only after the user
acknowledges the error.

svn path=/trunk/; revision=19504
2003-01-17 21:57:08 +00:00
9b1888365c New, sort of from evolution-recurid-branch.
* e-xml-hash-utils.c: New, sort of from evolution-recurid-branch.

svn path=/trunk/; revision=19503
2003-01-17 19:32:19 +00:00
90795ca852 update...
svn path=/trunk/; revision=19502
2003-01-17 12:44:46 +00:00
ccaf867e8e fixed merge conflicts
svn path=/trunk/; revision=19501
2003-01-17 02:28:13 +00:00
45473b5ef2 Connect to the toggled event on the transport_needs_auth toggle button so
2003-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (get_fn): Connect to the toggled event on
	the transport_needs_auth toggle button so if the user turns this
	off after having deleted the username field, the Next button
	becomes re-enabled. Fixes bug #36862.

svn path=/trunk/; revision=19500
2003-01-17 02:27:49 +00:00
ceb8214177 Implement EAlarmList as CalComponentAlarm list with a GtkTreeModel
2003-01-16  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-alarm-list.[ch]: Implement EAlarmList as CalComponentAlarm
	list with a GtkTreeModel interface.

	* gui/Makefile.am: Add e-alarm-list.[ch].

	* gui/dialogs/alarm-page.[ch]: Use GtkTreeView with the new
	EAlarmList as model for the alarm list. Update copyright.

	* gui/dialogs/recurrence-page.[ch]: Update copyright.
	(free_exception_date_time): Removed.
	(fill_exception_widgets): Kill a lingering clist operation.

svn path=/trunk/; revision=19499
2003-01-16 21:14:02 +00:00
2224fbc745 mail_config_get_signature_list now returns a GSList.
2003-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (signature_cb): mail_config_get_signature_list
	now returns a GSList.
	(setup_signatures_menu): Same.
	(set_signature_gui): Here too.

svn path=/trunk/; revision=19498
2003-01-16 20:49:18 +00:00
af86d9aabf Same as below.
2003-01-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (sig_fill_clist): Same as below.

	* mail-account-gui.c (sig_fill_options):
	mail_config_get_signature_list() now returns a GSList instead of a
	GList.

	* mail-config.c (signature_new_from_xml): New function to parse a
	signature xml blob into a MailConfigSignature structure.
	(config_read_signatures): Rewritten to use above function.
	(signature_to_xml): New function to write a signature to xml.
	(config_write_signatures_num): Removed.
	(config_write_signature): Removed.
	(config_write_signatures): Rewritten to use signature_to_xml and
	gconf.

svn path=/trunk/; revision=19497
2003-01-16 20:27:33 +00:00
80940eeebd Add a UID field (to match EAccount), which never changes and can be used
* mail-config.h (MailConfigAccount): Add a UID field (to match
	EAccount), which never changes and can be used by gconf watchers
	to distinguish an account rename from a deletion and creation.

	* mail-config.c (account_copy): Create a new UID on the new
	account.
	(account_new_from_xml): Read the UID. (If it doesn't have one,
	make one.)
	(account_to_xml): Write the UID.

	* mail-config-druid.c (make_account): add a UID to each account

svn path=/trunk/; revision=19496
2003-01-16 19:41:56 +00:00
2596671b87 New class, based on MailConfigAccount, for describing an evolution (mail)
* e-account.c: New class, based on MailConfigAccount, for
	describing an evolution (mail) account.

	* e-account-list.c: New class for tracking the list of configured
	accounts. (Also uses some code from mail-config.)

	* e-list.c (e_list_construct, e_list_remove): New

svn path=/trunk/; revision=19495
2003-01-16 19:38:44 +00:00
96b653ff42 updating...
svn path=/trunk/; revision=19494
2003-01-16 17:45:32 +00:00
5c00546e97 Silence warnings caused by missing casts.
2003-01-15  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-day-view.c: Silence warnings caused by missing casts.

	* gui/e-week-view.c: Silence warnings caused by missing casts.

svn path=/trunk/; revision=19491
2003-01-16 00:26:35 +00:00
3ee4a2d5c5 Create accel groups for popup menus. Fixes crash.
2003-01-15  Hans Petter Jansson  <hpj@ximian.com>

	* gui/e-meeting-time-sel.c (e_meeting_time_selector_construct):
	Create accel groups for popup menus. Fixes crash.

	* gui/e-date-time-list.[ch]: Implement EDateTimeList as
	CalComponentDateTime list with a GtkTreeModel interface.

	* gui/Makefile.am: Add e-date-time-list.[ch].

	* gui/dialogs/recurrence-page.c: Use GtkTreeView with the new
	EDateTimeList as model for the exception list.

svn path=/trunk/; revision=19490
2003-01-15 23:41:35 +00:00
df8a6bcc73 cast to avoid warnings
svn path=/trunk/; revision=19489
2003-01-15 22:37:19 +00:00
ad1fe3bc9c dont re-use 'widget', its the return value!
2003-01-15  Not Zed  <NotZed@Ximian.com>

        * vfolder-rule.c (get_widget): dont re-use 'widget', its the
        return value!

svn path=/trunk/; revision=19488
2003-01-15 22:25:48 +00:00
323ebed0e7 Change the enable/disable button when the state changes.
2003-01-15  Not Zed  <NotZed@Ximian.com>

        * mail-accounts.c (account_able_clicked): Change the
        enable/disable button when the state changes.

svn path=/trunk/; revision=19487
2003-01-15 22:23:27 +00:00
da621e5406 apply the patch NotZed and I came up with to fix the height of the
2003-01-15  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-text.c (show_pango_rectangle): apply the patch
	NotZed and I came up with to fix the height of the evolution
	composer entries.

svn path=/trunk/; revision=19486
2003-01-15 21:45:51 +00:00
01b8e38016 reenable all the importers/loaders.
2003-01-15  Chris Toshok  <toshok@ximian.com>

	* backend/ebook/Makefile.am (bin_PROGRAMS): reenable all the
	importers/loaders.

	* backend/ebook/evolution-ldif-importer.c,
	backend/ebook/evolution-vcard-importer.c: Finish gnome2 port
	issues, and get these to compile.

	* backend/ebook/load-gnomecard-addressbook.c,
	backend/ebook/load-pine-addressbook.c: same.

svn path=/trunk/; revision=19485
2003-01-15 20:52:44 +00:00
55437c198f Back to using e_xml_save_file().
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (save_metainfo): Back to using e_xml_save_file().

svn path=/trunk/; revision=19484
2003-01-15 20:47:22 +00:00
3a08c59b32 Back to using e_xml_save_file().
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* rule-context.c (save): Back to using e_xml_save_file().

svn path=/trunk/; revision=19483
2003-01-15 20:40:44 +00:00
19f3fecce6 Back to the land of the living we shall go.
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* gal/util/e-xml-utils.c (e_xml_save_file): Back to the land of
	the living we shall go.

svn path=/trunk/; revision=19482
2003-01-15 19:43:44 +00:00
c22f252ffb Same here.
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* e-tree-table-adapter.c
	(e_tree_table_adapter_save_expanded_state): Same here.

	* e-table-state.c (e_table_state_save_to_file): Same as below.

	* e-table-specification.c (e_table_specification_save_to_file):
	Back to using e_xml_save_file(). Not sure we can really trust
	xmlSaveFile (sure as hell couldn't in the libxml-1.x days),
	besides, e_xml_save_file protects against corruption due to not
	enough disk space.

svn path=/trunk/; revision=19481
2003-01-15 19:42:14 +00:00
c9e4a8473d Added libevolution_calendar_la_LDFLAGS, and avoid versioning the shlib
2003-01-15  Rodney Dawes  <dobey@ximian.com>

	* gui/Makefile.am: Added libevolution_calendar_la_LDFLAGS, and
	avoid versioning the shlib component

svn path=/trunk/; revision=19480
2003-01-15 19:41:37 +00:00
285b33d516 Here too.
2003-01-15  Jeffrey Stedfast  <fejj@ximian.com>

	* gal-view-instance.c (save_current_view): Here too.

	* gal-view-collection.c (gal_view_collection_save): Use
	e_xml_save_file().

svn path=/trunk/; revision=19479
2003-01-15 19:38:50 +00:00
2f949ea127 add call to e_table_model_pre_change here to reduce spew.
2003-01-15  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-completion-view.c (begin_completion_cb): add call
	to e_table_model_pre_change here to reduce spew.
	(cancel_completion_cb): same.
	(completion_cb): same.
	(end_completion_cb): same.
	(clear_completion_cb): same.
	(lost_completion_cb): same.

svn path=/trunk/; revision=19478
2003-01-15 18:28:23 +00:00
b4ced49465 Change links from ghelp links to internal apx-fdl or apx-gpl
2003-01-15  Aaron Weber  <aaron@ximian.com>

	* C/usage-mainwindow.xml:  Change links from  ghelp links to internal apx-fdl or apx-gpl

	* es/evolution.sgml: s/gnome-help/ghelp

	* es/preface.sgml: s/gnome-help/ghelp

svn path=/trunk/; revision=19477
2003-01-15 17:49:07 +00:00
842d04b1d1 s/gnome-help/ghelp/
003-01-15  Aaron Weber  <aaron@ximian.com>

	* C/usage-mainwindow.xml: s/gnome-help/ghelp/

	* es/evolution.sgml: s/gnome-help/ghelp

	* es/preface.sgml: s/gnome-help/ghelp

svn path=/trunk/; revision=19475
2003-01-15 17:39:33 +00:00
8fc6dfc0a8 Added this file to store discussion of OOA designs
2003-01-15  Anna Marie Dirks  <anna@ximian.com>

	* OOA/Comments: Added this file to store discussion of OOA designs

svn path=/trunk/; revision=19474
2003-01-15 16:48:25 +00:00
ef10039e71 Change dialog from Yes/No/Cancel to Discard/Cancel/Save to match the HIG.
* gui/widgets/e-addressbook-util.c
(e_addressbook_prompt_save_dialog): Change dialog from
Yes/No/Cancel to Discard/Cancel/Save to match the HIG.

* gui/search/e-addressbook-search-dialog.c
(e_addressbook_search_dialog_init): Change dialog from OK/Cancel
to Cancel/OK to match the HIG.

* gui/contact-editor/e-contact-save-as.c (file_exists): Change
dialog from Overwrite/Cancel to Cancel/Overwrite to match the HIG.

* gui/contact-editor/e-contact-quick-add.c
(build_quick_add_dialog): Fix typo s/reponse/response/.  Also
change the dialog to be Edit/Cancel/OK instead of OK/Edit/Cancel
to match the HIG.

* gui/contact-editor/e-contact-editor.c
(e_contact_editor_confirm_delete): Make alert cancel/delete
instead of delete/cancel to match the HIG.

* gui/contact-editor/e-contact-editor-fullname.c
(e_contact_editor_fullname_init): Make dialog Cancel/OK instead of
OK/Cancel to match the HIG.

* gui/contact-editor/e-contact-editor-address.c
(e_contact_editor_address_init): Make dialog Cancel/OK instead of
OK/Cancel to match the HIG.

* gui/component/select-names/e-select-names.c
(e_select_names_init): Make dialog Cancel/OK instead of OK/Cancel
to match the HIG.

svn path=/trunk/; revision=19472
2003-01-14 22:50:53 +00:00
c0e8918f76 (do_exit): Make dialog HIG compliant
[Discard/Cancel/Save].

svn path=/trunk/; revision=19471
2003-01-14 22:50:36 +00:00
8c18975c23 Change dialog from OK/Cancel to Cancel/OK to match HIG. (rule_edit):
* rule-editor.c (rule_add): Change dialog from OK/Cancel to
Cancel/OK to match HIG.
(rule_edit): Likewise.
(rule_editor_construct): Likewise.

* rule-context.c (rule_context_add_rule_gui): Change dialog from
OK/Cancel to Cancel/OK to match HIG.

* filter-datespec.c (button_clicked): Change dialog from OK/Cancel
to Cancel/OK to match HIG.

svn path=/trunk/; revision=19470
2003-01-14 22:47:19 +00:00
3a7ecedd60 Make dialog Cancel/OK to match HIG.
* message-tag-editor.c (message_tag_editor_init): Make dialog
Cancel/OK to match HIG.

* mail-signature-editor.c (do_exit): Make confirmation dialog
Discard/Cancel/Save to match the HIG.

* mail-composer-prefs.c (mail_composer_prefs_construct): Make
dialog Cancel/OK to match HIG.

* mail-account-editor.c (construct): Make the dialog
Apply/Close/OK to match HIG.

svn path=/trunk/; revision=19469
2003-01-14 22:45:32 +00:00
09ea004d13 use PangoFontMetrics here instead of using the ascent/descent of the
2003-01-14  Chris Toshok  <toshok@ximian.com>

	* gal/e-text/e-entry.c (canvas_size_request): use PangoFontMetrics
	here instead of using the ascent/descent of the GtkStyle's font.

svn path=/trunk/; revision=19468
2003-01-14 22:33:46 +00:00
962c8a0d9f If we set a clip rectangle, clear it after we've finished.
2003-01-15  Not Zed  <NotZed@Ximian.com>

        * e-cell-tree.c (ect_draw): If we set a clip rectangle, clear it
        after we've finished.

svn path=/trunk/; revision=19467
2003-01-14 22:33:44 +00:00
387af10dfa (init): Change dialog from
OK/Apply/Cancel to Apply/Close/OK to be closer to the HIG.

svn path=/trunk/; revision=19466
2003-01-14 22:30:15 +00:00
b186b72199 Make dialog New/Cancel/OK to match HIG.
* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog
New/Cancel/OK to match HIG.

* glade/e-shell-folder-creation-dialog.glade: Swap Cancel/OK
buttons to match HIG.

* e-shell-importer.c (choose_importer_from_list): Make dialog
Cancel/OK to match HIG.

* e-shell-folder-selection-dialog.c
(e_shell_folder_selection_dialog_construct): Make dialog Cancel/OK
to match HIG.

svn path=/trunk/; revision=19465
2003-01-14 22:29:41 +00:00
bf4a0dab77 Call mail_config_save_accounts ().
2003-01-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_save): Call
	mail_config_save_accounts ().

	* mail-config.c (mail_config_save_accounts): New function to save
	accounts without having to re-load them.

svn path=/trunk/; revision=19464
2003-01-14 22:24:27 +00:00
0f11179541 reverted fe casts and added ChageLog entries
2003-01-14  Radek Doulik  <rodo@ximian.com>

	* folder-browser.c (etree_key): use gtk_scrolled_window_*
	functions for mail_display->scroll

	* mail-display.c (mail_display_new): use gtk_scrolled_window_*
	functions

	* mail-display.h: use GtkScrolledWindow instead of EScrollFrame

svn path=/trunk/; revision=19463
2003-01-14 20:58:20 +00:00
a03b38e8cf (CORBA_SOURCES_GENERATED): Renamed from
CORBA_GENERATED.
(CORBA_GENERATED): New, put both $(CORBA_SOURCES_GENERATED) and
$(CORBA_HEADERS_GENERATED) in it.
(BUILT_SOURCES): Put $(CORBA_GENERATED) in here.

svn path=/trunk/; revision=19462
2003-01-14 20:51:14 +00:00
67db8b6bdb Change the user_data argument to be of type gpointer instead of
2003-01-14  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (pixmap_press): Change the user_data argument to
	be of type gpointer instead of EScrollFrame, since, well, it's not
	an EScrollFrame anymore.

svn path=/trunk/; revision=19461
2003-01-14 20:48:26 +00:00
3be3c9494b Do not #include <e-bonobo-widget.h>. (e_set_dialog_parent): Remove the
* e-dialog-utils.c: Do not #include <e-bonobo-widget.h>.
(e_set_dialog_parent): Remove the BonoboWidget handling stuff (it
doesn't really work anyways).

* e-shell-view.c: Do not #include "e-bonobo-widget.h".

* Makefile.am (widgetsinclude_HEADERS): Ooops, remove
e-bonobo-widget.h.
(libemiscwidgets_a_SOURCES): Likewise, remove e-bonobo-widget.c.

svn path=/trunk/; revision=19460
2003-01-14 20:19:26 +00:00
fcdb82a93a Only set view ID if we have an instance.
2003-01-14  Hans Petter Jansson  <hpj@ximian.com>

	* gui/gnome-cal.c (set_view): Only set view ID if we have an instance.

svn path=/trunk/; revision=19459
2003-01-14 19:47:00 +00:00
0f17a92b28 Cast signal handlers to GtkSignalFunc, avoid warnings.
2003-01-14  Hans Petter Jansson  <hpj@ximian.com>

        * gui/e-calendar-table.c (tasks_popup_menu): Cast signal handlers
        to GtkSignalFunc, avoid warnings.

svn path=/trunk/; revision=19458
2003-01-14 19:23:10 +00:00