| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-11-13 Not Zed <NotZed@Ximian.com>
* Makefile.am: Commented out stuff that doesn't build yet. Also
fixed idl build rule. importers still not built.
* main.c (main): bonobactivationise. remove push visual/colormap.
(main): no longer activate activation, let bonobo_init do it.
* mail-signature-editor.c (menu_help): Change help api.
* mail-session.c (user_message_destroy_noreply): removed. Not
used?
* mail-local.c (load_metainfo): xml root->children.
* mail-format.c (g_string_append_len): Removed, it exists now.
2002-11-12 Not Zed <NotZed@Ximian.com>
* subscribe-dialog.c: gnome2ised, use gtkdialog.
(subscribe_get_global_extras): use a weak ref rather than destroy signal.
* message-tag-followup.c: gnome2ised.
* message-tag-editor.c: gnome2ised & converted to gtkdialog.
* message-list.c: gnome2ised.
(message_list_finalise): From destroy method. maybe should be
destroy still.
* message-browser.c: port to gnome2
(message_browser_finalise): renamed from destroy method.
* mail-stream-gtkhtml.c: removed redundant
camel_class_get_global_classfuncs() call.
* mail-signature-editor.c: gtkdialogised, & bonobo api changes.
* mail-search-dialogue.c: gtkdialogised.
* mail-folder-cache.c: cleaned up camel ref/hook casts.
* mail-composer-prefs.c (mail_composer_prefs_get_type): convert to
gtype.
* mail-font-prefs.c (mail_font_prefs_destroy): from finalise.
* mail-config.c: s/bonobo_config/e_config_listener/
Added /apps/Evolution prefix to the evolution keys.
Changed to use e_config_listener, etc.
(mail_config_init): remove bonobo_config stuff.
(mail_config_check_service): gtk dialogise.
(check_response): from check_cancelled.
* mail-config-druid.c (mail_config_druid_destroy): renamed from
_finalize, turned into destroy handler.
(construct): set type to toplevel, GTK_WINDOW_DIALOG no longer exists.
* mail-config-factory.c (mail_config_register_factory): bonobo api
changes.
* mail-crypto.c (mail_crypto_get_pgp_cipher_context): cleaned up
unref casts.
* mail-display.c (write_data_to_file): gnome->gtkdialog.
(on_link_clicked): use ascii_str*cmp on url.
(save_part): g_path stuff.
(launch_cb): gtk dialog.
(pixmap_press): de-oafify.
(pixbuf_for_mime_type): gnome-vfs api changes.
(do_attachment_header): Change the pixmap to a gtkimage.
(do_signature): "
(pixbuf_gen_idle): "
(do_attachment_header): ascii_str*cmp
(do_attachment_header): gnome pixmap->gtkimage.
(mail_display_destroy): protect against gtk mentalness.
(html_button_press_event): ascii_str*cmp
(drag_data_get_cb): added comment for translators of filename.
* mail-format.c (component_supports): de-oafise.
(is_anonymous): ascii_strncmp
(attachment_header): remove utf8<>locale stuff, and gnomevfs api
changes.
(format_mime_part): fix g_strdown call.
(write_field_row_begin): kill utf8->gtk stuff.
(write_address): "
(default_header_index): ascii_strcasecmp
(handle_text_plain): "
(handle_text_enriched): "
(handle_multipart_encrypted): remove utf/gtk stuff.
(handle_message_external_body): ascii_str*cmp
* mail-identify.c (mail_identify_mime_part):
(identify_by_magic): gnome vfs api changes.
* mail-importer.c: Converted.
* mail-local.c (load_metainfo): xml childs -> children.
(mls_get_folder): g_strerror.
(mls_delete_folder): g_strerror.
(reconfigure_got_folder): Gnome->GtkDialog
(reconfigure_response): from reconfigure_clicked.
* mail-mt.c (mail_msg_check_error): gnome -> gtk dialog
(error_response): renmae from error_gone. destroy widget on any
response.
* mail-offline-handler.c (impl_finalise): renamed from
impl_destroy since thats what it should be anyway.
* mail-ops.c: removed utf8 widget conversion & camel_object_un/ref
casts.
* mail-preferences.c (mail_preferences_get_type): glib2'ised.
* mail-search.c (mail_search_finalise): renmaed from destroy &
properly chain.
(mail_search_get_type): glib2 & make gtkdialog parent.
(entry_run_search): run search when entry activated. not sure if
gtkdialog has anohter way to do this on an arbitrary widget.
* mail-send-recv.c (dialogue_response): renamed from clicked. Use
gtkdialog.
* mail-session.c (request_password_deleted): removed, redundant.
(pass_response): rename from pass_got, changed for gtkdialog.
(user_message_destroy): Removed, redundant.
(user_message_response): Renamed from user_message_clicked.
2002-11-11 Not Zed <NotZed@Ximian.com>
* mail-stream-gtkhtml.c (mail_stream_gtkhtml_class_init): dont use
get_global_classfuncs, just get the type
* mail-tools.c: converted gnome2 api's.
* mail-vfolder.c (vfolder_editor_response): clicked->response.
(vfolder_editor_destroy): Removed.
(vfolder_edit): gtk dialog api
(edit_rule_response): clicked->response.
(vfolder_edit_rule): gnomedialog->gtkdialog.
(vfolder_gui_add_rule): "
(new_rule_clicked): clicked->response
svn path=/trunk/; revision=18723
|
|
|
|
|
|
|
|
|
|
|
| |
2002-10-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (management_prepare): Only set an account
name if one doesn't already exist. Also use the
e_utf8_gtk_entry_get/set_text functions since account names are
supposed to be in UTF8. Fixes bug #31891.
svn path=/trunk/; revision=18365
|
|
|
|
|
|
|
|
|
| |
2002-10-01 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (get_fn): Connect to the changed signal for
the reply_to entry box. Fixes bugs #31553 and #31554.
svn path=/trunk/; revision=18287
|
|
|
|
|
|
|
|
|
|
| |
2002-09-18 Not Zed <NotZed@Ximian.com>
* mail-config-druid.c (wizard_back_cb): If going back from a page
past our end (i.e. the final page), jump to the last page we know
of. For #29293.
svn path=/trunk/; revision=18105
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-08-23 Peter Williams <peterw@ximian.com>
Address most of bug #4940. Fails on the last page of the add account
dialog as called from the prefs dialog due to EvolutionWizard being
weird.
* mail-config-druid.c (goto_next_page): New function, little
wrapper around wizard_next_cb. Also potential place to work around
EvolutionWizard weirdness in the future.
(identity_activate_cb): New function, calls goto_next_page if
identity page is complete.
(source_activate_cb): Analogous.
(transport_activate_cb): Analogous.
(management_activate_cb): Analogous.
(get_fn): Hook up the activate signals of the various GtkEntries
to the correct callbacks above.
(management_check): Return the result of the check so that
management_activate_cb can use it.
svn path=/trunk/; revision=17851
|
|
|
|
|
|
|
|
|
|
| |
2002-07-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (create_label): Make the gtk label line-wrap
instead of us forcing \n's in the label, that was just
wrong. Fixes bug #10320.
svn path=/trunk/; revision=17598
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-06-04 Not Zed <NotZed@Ximian.com>
* mail-accounts.c (mail_accounts_tab_construct): Duh, we want to
set the news_edit/delete buttons for the news page, not overwrite
the mail ones! That would've saved a bit of angst ...
* mail-config-druid.c (extra_prepare): dont call build_extra_conf,
otherwise it blows away any settings with defaults.
svn path=/trunk/; revision=17098
|
|
|
|
|
|
| |
account druid.
svn path=/trunk/; revision=16710
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-04-26 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (extra_prepare): After building the extra
config options into a Gtk form, auto-detect any values that we can
and populate them by calling
mail_account_gui_auto_detect_extra_conf.
* mail-account-gui.c (mail_account_gui_auto_detect_extra_conf):
New function to auto-detect the extra config options for a source.
svn path=/trunk/; revision=16598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (colour_msg): New callback to set a colour on a
message.
* folder-browser.c (on_right_click): Setup our popup icons and
stuff. Also add a submenu for Labels.
* mail-display.c (pixmap_press): Sync up with the new EPopupMenu
API. Note: This code can probably now be fixed to use per-item
closures - yay!
* mail-accounts.c (construct): Connect to the label GtkEntry's and
GnomeColorPickers and also to the Restore Defaults button.
* mail-config.c (mail_config_get_label_name): New function to get
a label's name.
(mail_config_set_label_name): New function to set the label name.
(mail_config_get_label_color): New function to get the label
color.
(mail_config_set_label_color): New function to set the label
color.
(config_read): Read in the config options for the labels and their
colors.
(mail_config_write_on_exit): Save the label options.
svn path=/trunk/; revision=16186
|
|
|
|
|
|
|
| |
* mail-config-druid.c (management_prepare): Rewrite this to not
use stpcpy, which isn't portable.
svn path=/trunk/; revision=15991
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2002-03-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (management_changed): Re-focus the account
name entry widget.
(identity_prepare): If a name is not set, try and get the user's
full name for them and set the text on the entry widget.
(management_prepare): If the account name is already taken,
generate a unique one by appending " (%d)".
svn path=/trunk/; revision=15986
|
|
|
|
| |
svn path=/trunk/; revision=15960
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-11-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (construct): Don't make the account editor
modal either.
* mail-accounts.c (mail_add): Use the new global account druid
variable so that we can avoid having more than a single druid at a
time. If a druid already exists, bring it to the top.
(mail_edit): Same idea only for the account editor this time.
(mail_editor_destroyed): Set the global editor to NULL.
(mail_add_finished): Set the global druid to NULL.
(mail_delete): Don't allow any deletes if an account editor is
opened (we don't want to be able to delete the account we are
editing...)
(news_edit): Same thing for the news editor.
(news_editor_destroyed): Set the news editor to NULL.
(news_add): And again for the news add.
* mail-account-gui.c (service_check_supported): Updated to pass a
GtkWindow argument to mail_config_check_service().
* mail-config.c (mail_config_check_service): Now takes a GtkWindow
argument so we can set our parent window. Also, don't make this
dialog modal either.
* mail-config-druid.c (construct): Don't make this druid modal.
svn path=/trunk/; revision=14598
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-30 <NotZed@Ximian.com>
* folder-info.c: Comment out the Folder: and you've got mail
prints.
* mail-config-druid.c (wizard_next_cb): If we have a next
function, honour if it tells us its going to set the page, and
dont set it, otherwise, set it to the next page, unless we're at
the end of our pages, and let the wizard do it itself.
(wizard_back_cb): Same for going back. Rest of fix for #12127,
see e-shell-startup-wizard for the rest.
(next_func): If we're not on the last page, tell the druid we're
gonna handle the next button, so we can sync properly with it,
needed for above changes.
(back_func): Similarly for going back past page 0.
(wizard_listener_event): We want to set the page to the actual one
asked for not, pagenum-1.
svn path=/trunk/; revision=14449
|
|
|
|
| |
svn path=/trunk/; revision=14217
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-10-23 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (service_check_supported): Don't allow an
auth-type to be set when saving the service.
(mail_account_gui_new): Initialize the source and transport
provider_type's here so we don't forget to do it when it matters.
(mail_account_gui_setup): Don't bother setting the provider_type's
here, they are already set in mail_account_gui_new() now.
svn path=/trunk/; revision=13968
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-callbacks.c (e_gnome_dialog_set_parent): Use
gtk_signal_connect_while_alive here so
e_gnome_dialog_parent_destroyed doesn't get called on an
already-destroyed dialog.
* mail-config-druid.c (*_prepare): Record which page we're
currently in.
(*_changed): Only update the druid buttons if we're the current
page. Fixes a problem that could make it impossible to get beyond
the first page of the setup wizard.
svn path=/trunk/; revision=13522
|
|
|
|
| |
svn path=/trunk/; revision=13292
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-20 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (wizard_finish_cb): Do not add the account
here as this is taken care of in mail_account_gui_save() since it
has to be able to set the default account.
* mail-config.c (mail_config_set_default_account): Don't allow the
index to become invalid.
* mail-account-gui.c (mail_account_gui_save): Add the account
before setting it as the default.
svn path=/trunk/; revision=13037
|
|
|
|
|
|
|
|
|
|
| |
2001-09-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mail_generate_reply): Don't use
new_with_sig_file, that function no longer exists.
(forward_get_composer): Same here.
svn path=/trunk/; revision=12754
|
|
|
|
|
|
|
|
|
|
|
| |
2001-09-09 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (evolution_mail_config_wizard_factory_fn):
We need to initialize all of the struct fields or else god knows
what will happen later when we try to use 'em. Also set a destroy
function for the MailConfigWizard so we don't leak it.
svn path=/trunk/; revision=12719
|
|
|
|
| |
svn path=/trunk/; revision=12488
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-24 Peter Williams <peterw@ximian.com>
* mail-config.c (add_shortcut_entry): Instead of using the length
of the shortcuts list as the index for the shortcut, use -1, which
means "last".
* mail-config-druid.c (druid_finish): Remove the account adding
stuff since that happens in wizard_finish now.
* mail-config.c (add_new_storage): New function. Add a
MailConfigAccount to the shell as a storage.
(maybe_add_shortcut): Renamed to new_source_created.
(new_source_created): Call add_new_storage here.
* component-factory.c (mail_remove_storage_by_uri): Don't warn
if the storage isn't remote... no point in making the caller
do extra work.
svn path=/trunk/; revision=12445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-22 Peter Williams <peterw@ximian.com>
Prevent the user from creating two accounts with the same name.
* mail-config.c (impl_GNOME_Evolution_MailConfig_addAccount): Abort
if the account has the same name as another account.
* mail-account-gui.c (mail_account_gui_save): Don't let the user
save if the account has the same name as another account.
* mail-config-druid.c (management_check): Disable the next button
if the account name is the same as a preexisting account.
(construct): The only part of 'pages' that was being used was the
name. 'wizard_pages' now has the callbacks, while 'pages' is just
an array of char *'s.
(wizard_finish_cb): Save the account first because that's the
right way, and try to honor mail_account_gui_save's return value.
* mail-config.glade: Add a label noting that you're not allowed
to create two accounts with the same name.
svn path=/trunk/; revision=12384
|
|
|
|
|
|
| |
Stop hiding the source and transport pages.
svn path=/trunk/; revision=12324
|
|
|
|
|
|
|
|
| |
2001-08-17 JP Rosevear <jpr@ximian.com>
* mail-config-druid.c: remove dead structure
svn path=/trunk/; revision=12159
|
|
|
|
| |
svn path=/trunk/; revision=12145
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Peter Williams <peterw@ximian.com>
* mail-send-recv.c (mail_autoreceive_setup): Break most of the
functionality into a separate function.
(autoreceive_setup_list): Rename of mail_autoreceive_setup that is
passed a list of accounts.
(mail_autoreceive_setup_account): New function. Set up a single
account using autoreceive_setup_account.
* mail-send-receive.h: Prototype mail_autoreceive_setup_account.
* mail-account-gui.c (mail_account_gui_save): Instead of setting
up all accounts, set up only this source with the new
mail_autoreceive_setup_account.
* mail-config-druid.c (druid_finish): ... which means we can call
mail_config_add_account() after the MailConfigAccount has been
created by mail_account_gui_save() because we no longer need the
account to be in the list for mail_autoreceive_setup()
* mail-config.c (mail_config_add_account): ... which means we can
possibly add a shortcut to the account's sources's Inbox here.
(maybe_add_shortcut): New function. If the store is a storage, add
a shortcut to its inbox. Hope that /INBOX exists.
(add_shortcut_entry): New function. Creates a shortcut if it doesn't
yet exist.
2001-08-13 Peter Williams <peterw@ximian.com>
* mail-account-gui.c (service_complete): Take account of the fact that
service->path may be NULL (if service is a transport.)
* mail-config-druid.c (druid_finish): Bleah, bugfix in case the
account has no source.
svn path=/trunk/; revision=11961
|
|
|
|
|
|
|
|
|
|
| |
2001-08-13 Anna Marie Dirks <anna@ximian.com>
* mail-config.glade: Changed all instances of "Wizard" and "Druid"
to "Assistant".
* mail-config-druid.c: Ditto.
svn path=/trunk/; revision=11960
|
|
|
|
|
|
|
|
| |
2001-08-10 Peter Williams <peterw@ximian.com>
* mail-config-druid.c (druid_finish): Whoa, fatal typo. Sorry.
svn path=/trunk/; revision=11945
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-08-08 Peter Williams <peterw@ximian.com>
* component-factory.c (mail_load_storages): Don't load the storage
if it isn't enabled.
(mail_remove_storage_by_uri): New function. Goes through the
gymnastics of getting a CamelStore from the URI and calling
mail_remove_storage. Copied from mail_delete().
(mail_load_storage_by_uri): Break out the storage-loading part of
mail_load_storages into a single function.
(mail_load_storages): Just call mail_load_storage_by_uri several
times.
* mail.h: Prototype our new _by_uri functions.
* mail-accounts.c (news_add_destroyed): Instead of hacking around
mail_load_storages, call mail_load_storage_by_uri.
(mail_delete): Move this chunk of code into
mail_remove_storage_by_uri.
(mail_able): Add or remove the storage as necessary, with our
new _by_uri functions.
* mail-config-druid.c (druid_finish): See news_add_destroyed above.
svn path=/trunk/; revision=11881
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-18 Jason Leach <jleach@ximian.com>
[Simplifying how default account is stored and used internally,
fixes possabilities of having multiple default accounts and things
like deleting the current default account]
* mail-account-gui.c (mail_account_gui_new): Update for new way of
finding out the default account.
(mail_account_gui_save): Ditto.
* mail-accounts.c (load_accounts): Ditto.
* mail-config-druid.c (make_default_account): Ditto.
* mail-config.c: Added an int MailConfig::default_account, to be
used instead of a 'default_account' boolean on each mail account.
(mail_config_set_default_account_num): New function, facilitates
things.
* Mail.idl: removed the Account::default_account boolean.
svn path=/trunk/; revision=11218
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-07-09 Jeffrey Stedfast <fejj@ximian.com>
* mail-format.c (setup_mime_tables): Handle application/pgp using
the text/plain handler.
* mail-account-gui.c (get_sensitive_widget): New function to determine
which widget is focused.
* mail-account-editor.c (apply_changes): Not only flip to the
notebook page that wasn't finished, but also grab the focus of the
incomplete widget.
* mail-config-druid.c (source_changed): Grab the focus of the
incomplete widget.
(transport_prepare): And here.
(identity_changed): Here too.
* mail-account-gui.c (mail_account_gui_identity_complete): Take an
incomplete argument so we can set which widget is incomplete and
then the caller can focus it or whatever.
(service_complete): Same.
(mail_account_gui_transport_complete): And again here.
(mail_account_gui_management_complete): And here too.
svn path=/trunk/; revision=10939
|
|
|
|
|
|
|
|
|
|
|
| |
2001-05-29 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (list_add_addresses): Take another argument to
ignore a certain address.
(mail_generate_reply): Ignore references to the reply-to address
when constructing the Cc list.
svn path=/trunk/; revision=10046
|
|
|
|
|
|
|
|
| |
* mail-config-druid.c (make_default_account): Convert the result
of g_get_real_name() from the locale charset to UTF8. Noted by
Petter Sundlöf (NOT "Petter Sundl_" :)
svn path=/trunk/; revision=9481
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-04-04 Gediminas Paulauskas <menesis@delfi.lt>
* mail-config-druid.c (create_html): set content type to utf8.
* mail-config.c (mail_config_check_service): fix warning.
* mail-display.c (link_open_in_browser): just call on_link_clicked().
(link_menu): Open link works.
(link_copy_location): claim selection.
(on_selection_get): new function, selection handler.
(mail_display_new): connect to selection_get. FIXME: does not work.
2001-04-04 Gediminas Paulauskas <menesis@delfi.lt>
* importer/importer.c (create_html): copied newer and fixed function
from mail/mail-config-druid.c.
(html_new, put_html): removed.
(show_import_wizard): use create_html instead of html_new/put_html pair.
* importer/importer.glade: a try to set logo. removed source generation
options.
svn path=/trunk/; revision=9161
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-29 Kjartan Maraas <kmaraas@gnome.org>
* *.*: Cleaned up #includes. Remove unneccesary includes of
<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
fine grained headers where needed. Also marked a bunch of
strings for translations and added some missing prototypes.
svn path=/trunk/; revision=9025
|
|
|
|
|
|
|
|
| |
* mail-config-druid.c (construct): set the initial druid button
state after doing the mail_account_gui_setup, since that may
invoke signal handlers that will change it.
svn path=/trunk/; revision=8980
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-config.glade: Probably the very last new config dialog
ever. (Ha ha). From Anna, based on a story by me.
* mail-account-gui.c: New code for the new mail-config.glade. This
abstracts out all of the common code between the account editor
and the druid. It also handles the spiffy new provider-specific
config stuff.
FIXME: The code to check if a service is ok or not is no longer
there... waiting until the online/offline stuff from the shell
appears.
* mail-account-editor.c, mail-config-druid.c: These are much
smaller now, since most of the interesting bits moved to
mail-account-gui.c
* mail-accounts.c: Add an enabled/disabled column/button to
replace the checkbox that used to be in the editor, because it
really makes more sense to have it out here. This looks ugly.
Probably ought to ETable it...
(load_accounts): Fill in the enabled column.
(mail_select, mail_unselect): toggle the sensitivity and name of
the Enable/Disable button appropriately
(mail_able): Handle the enable/disable button.
* mail-config.c: Remove reply-to from MailConfigIdentity since it
didn't belong there (and wasn't being saved anyway).
(mail_config_check_service): Simplify this a bit. This really
needs to pop up a dialog with a "connecting..." message and a
cancel button.
svn path=/trunk/; revision=8971
|
|
|
|
|
|
|
|
|
|
|
|
| |
* mail-config-druid.c (incoming_check, incoming_type_changed,
transport_check, transport_type_changed):
* mail-account-editor.c (transport_type_changed, source_check):
Use the new URL part macros
* mail-config.c (check_service_check): Use provider authtype list
if not connecting.
svn path=/trunk/; revision=8873
|
|
|
|
|
|
|
|
| |
2001-03-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c: Updated to have a transport auth page.
svn path=/trunk/; revision=8574
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-03-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c: Don't access the `active` data member of a
GtkToggleButton directly - bad programming, shame on me.
* mail-account-editor.c: Same here.
* mail-accounts.c: And here too.
* mail-callbacks.c (empty_subject_destroyed): And finally here.
* mail-crypto.c (pgp_mime_part_sign): Correcty set the mime type
for the multipart. Hmmm, still doesn't wrap correctly. NotZed?
Ideas?
(pgp_mime_part_encrypt): Here too.
svn path=/trunk/; revision=8560
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-22 Jeffrey Stedfast <fejj@ximian.com>
* openpgp-utils.c (openpgp_verify): Fixed memory corruption bug.
* mail-format.c (try_inline_pgp_sig): Check to make sure the
validity isn't NULL.
(handle_multipart_signed): Check for NULL validities.
2001-02-21 Jeffrey Stedfast <fejj@ximian.com>
* mail-tools.c (mail_tool_uri_to_folder): Protect against NULL
uri's.
* mail-vtrash.c: Do mutex locking on the global hash table - this
should clear up some segfaults ;-)
* mail-config-druid.c (druid_finish): Set the 'enabled' member of
the source to TRUE if the URL exists else set to FALSE.
(incoming_type_changed): If the provider chosen is "None" then
gray-out the auto-check widgets and the check-settings, otherwise
sensitize them.
* mail-account-editor.c (construct): Added a few more settings.
(apply_changes): Save the new settings.
* mail-config.c (service_copy): Updated.
(config_read): Read in whether or not the account is enabled.
(mail_config_write): Save if the account is enabled or not.
svn path=/trunk/; revision=8349
|
|
|
|
|
|
|
|
|
| |
2001-02-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (construct): Set the sensitivity of the spin
button based on the state of the checkbox.
svn path=/trunk/; revision=8130
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (on_object_requested): Cast the CamelMedium to a
CamelMimePart before performing actions on it as if it were a
CamelMimePart.
* mail-config-druid.c (druid_finish): Save the auto-check settings.
(construct): Initialize auto-check widgets.
(mail_config_druid_get_auto_check): New function
(mail_config_druid_get_auto_check_minutes): New functions
* mail-config.c (config_read): Read in whether or not to check
every x minutes.
(mail_config_write): Save auto-check config data and SSL.
svn path=/trunk/; revision=8126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-06 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (set_defaults): Updated to checkfor
"(none)".
* mail-account-editor.c (entry_changed): Make sure the email
address is valid.
* mail-config-druid.c (identity_check): Check to make sure we have
a valid email address.
(is_email): New function to check a string to see if it's a valid
email address.
svn path=/trunk/; revision=8034
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (construct): Keep track of the CheckSettings
check boxes.
(transport_next): Connect if the user says so.
(incoming_next): Same. Also, don't jump to the next page if
test-settings fails.
svn path=/trunk/; revision=7984
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-02-05 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (incoming_next): Updated to not connect when
getting a list of authtypes.
(transport_next): No longer connects - again, this is
useless. Read the apply_changes argument for the reason why.
* mail-account-editor.c (apply_changes): Updated. Set the
'connect' argument to FALSE for now, this basically means that the
call is worthless tho so it may be best to either get rid of the
checks altogether or else make it connect.
(source_auth_init): Don't connect here, it's just plain annoying.
(transport_construct_authmenu): Same here.
* mail-config.c (mail_config_check_service): Now takes a connect
argument.
svn path=/trunk/; revision=7981
|
|
|
|
|
|
|
|
|
|
| |
2001-01-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (set_defaults): Turns out that I was wrong
about the g_get_real_name mem leak, god damn glib for not
following the const char* standard.
svn path=/trunk/; revision=7882
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-28 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (management_prepare): Use UTF-8.
(set_defaults): Use UTF-8 and also fixed a memory leak by freeing
the string returned by g_get_real_name().
(mail_config_druid_get_account_name): Use UTF-8.
(mail_config_druid_get_full_name): Same.
(mail_config_druid_get_email_address): Same.
(mail_config_druid_get_organization): Same.
* mail-account-editor.c (apply_changes): Save UTF-8 strings rather
than gtk strings.
(construct): Use the UTF-8 convenience functions to set the gtk
entries for the ID fields.
svn path=/trunk/; revision=7881
|
|
|
|
|
|
|
|
|
| |
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (set_defaults): Automagically fill in the
user's default transport if he/she has setup previous accounts.
svn path=/trunk/; revision=7736
|
|
|
|
|
|
|
|
|
| |
2001-01-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (incoming_type_changed): Oops, danw didn't
know 'provider' could be NULL :-)
svn path=/trunk/; revision=7721
|
|
|
|
|
|
|
|
| |
* mail-config-druid.c (incoming_type_changed): Change "Path:"
label to "Namespace:" for IMAP. Use $MAILDIR rather than $MAIL for
Maildir. If $MAIL isn't set, guess.
svn path=/trunk/; revision=7714
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-17 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (construct): Handle NULL source and, while
we're at it, transport URLs. Apparently camel_url_new() and/or
camel-url_free() don't handle NULL input well.
* mail-accounts.c (load_accounts): Handle NULL source URLs.
svn path=/trunk/; revision=7595
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-16 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-editor.c (apply_changes): Modify to be able to
handle a NULL source_url.
(source_auth_init): Allow for a NULL source url.
(source_check): Same.
* mail-config.c (mail_config_write): Allow for NULL source
URLs. And while we're at it, NULL transport URLs as well. Might as
well save the use_ssl variable too.
(config_read): Same.
* mail-config-druid.c (druid_finish): Modify to allow a NULL
source url.
(incoming_next): Modify to check for a NULL source and jump to the
transport page if one is encountered (this means the user decided
not to config a source).
(incoming_type_changed): Modify to set all widgets insensitive if
the user selected the "None" source menu item (aka NULL provider).
(incoming_check): Modify to allow the user to go to the next page
when he/she has chosen "None" for their source type.
(mail_config_druid_get_source_url): Return NULL if the provider is
NULL.
(mail_config_druid_get_transport_url): Same.
svn path=/trunk/; revision=7561
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-13 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (druid_finish): Fixed mail_load_storages to
make a mini GSList of the account, not the account->source. Oops.
* mail-accounts.c (news_delete): Updated to use the remove_news()
function.
* mail-config.c (mail_config_remove_news): New convenience
function for removing news accounts.
(mail_config_remove_account): Pretty much the same thing.
* mail-ops.c (do_send_queue): Get the X-Evolution-Transport URL
and use that if it exists, else fall back on the default
transport.
* mail-callbacks.c (composer_postpone_cb): Set an
X-Evolution-Transport header.
svn path=/trunk/; revision=7477
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* component-factory.c (mail_load_storages): Now takes a
'is_account_data' variable to specify whether the sources is a
list of accounts of a list of services. Basically, the only time
you should pass in FALSE is when you are setting up NNTP storages.
(add_storage): Now takes a 'name' argument that specifies the name
to use in the storage.
(owner_set_cb): Updated to pass TRUE for accounts and FALSE for
news servers into mail_load_storages.
svn path=/trunk/; revision=7469
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.glade: Anna's dialogs.
* mail-config.c (mail_config_get_account_by_address):
Removed. Danw and I decided on setting a X-Evolution-Transport
header on messages going to the Outbox so we can later guess which
transport to use when sending it.
* mail-account-editor.c (apply_changes): Update to some day be
able to support SSL.
(construct): Update for Anna's dialogs...
* subscribe-dialog.c (populate_store_list): Updated to reflect
past changes to the mail-config API.
svn path=/trunk/; revision=7461
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (construct): We don't want to be able to set
the reply-to in the config druid.
(druid_finish): Don't set a reply-to anymore.
(mail_config_druid_finalise): Don't unref the providers.
* mail-config.glade: Took out the Reply-To field in the druid.
svn path=/trunk/; revision=7431
|
|
|
|
|
|
|
|
|
| |
2001-01-11 Miguel de Icaza <miguel@gnu.org>
* mail-config-druid.c (incoming_type_changed): Guess the default
MAIL value for MBOX and Maildir files.
svn path=/trunk/; revision=7430
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-11 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (transport_next): If the service_check
fails, pop-up a warning dialog letting the user know he or she may
have problems and then let them continue on with their lives.
(incoming_next): Same (+ jump them over the auth page to the
transport page).
svn path=/trunk/; revision=7428
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (transport_back): New callback to handle
when the user hits the "back" button when on the transport
page. This is needed to handle the case where we don't want to
show the user the auth page (due to there being no auth choices).
(incoming_next): If we are going to skip over the auth page, set
the 'have_auth_page' variable to FALSE.
(construct): Initialize the have_auth_page to TRUE.
svn path=/trunk/; revision=7375
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (incoming_type_changed): Grab the focus of
the first widget that is sensitive.
(transport_type_changed): Same.
(identity_prepare): Grab the focus of the name entry.
* mail-callbacks.c (send_queued_mail): Prevent Federico's segfault.
svn path=/trunk/; revision=7374
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (auth_type_changed): Clear the password
entry if it's not allowed.
(transport_type_changed): Clear the hostname if it is not allowed
by the provider type.
* mail-account-editor.c (transport_type_changed): If the hostname
is allowed, clear it.
* mail-config-druid.c (incoming_type_changed): Clear the contents
of the entry boxes that are not to be used.
(mail_config_druid_get_source_url): If the text in the entry is
emptry string, don't set it' contents in the url.
svn path=/trunk/; revision=7369
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.glade: Moved to mail-config.glade
* mail-accounts.c (construct): Updated to use mail-config.glade.
* mail-account-editor.c (construct): Updated to use
mail-config.glade.
* mail-config-druid.c (construct): Updated to use
mail-config.glade.
* mail.h: Added the new mail config headers.
svn path=/trunk/; revision=7351
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (incoming_type_changed): Gray out the
appropriate labels too.
(auth_type_changed): And here.
(transport_type_changed): Here too...
* mail-account-editor.c (source_check): Gray out the appropriate
labels too.
(transport_type_changed): And here too.
svn path=/trunk/; revision=7340
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com>
* mail-account-editor.c: For all optionmenu's, set the appropriate
'history'.
(keep_mail_check): Set the keep-on-server checkbutton sensitivity
based on whether or not the store is a storage or not.
(construct): Call keep_mail_check().
* mail-config-druid.c (incoming_type_changed): Set the
keep-on-server checkbutton sensitivity based on whether or not the
store is a storage or not.
* mail-accounts.c (construct): Make sure the dialog isn't a
scrunched little thingy.
svn path=/trunk/; revision=7328
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-09 Jeffrey Stedfast <fejj@helixcode.com>
* session.c (mail_session_set_password): New function to set the
password for a given url.
* mail-config-druid.c (druid_finish): Don't save the password in
the source url, instead insert it into the save-password hash.
(mail_config_druid_get_source_url): Check to make sure the
authmech isn't "", if it is then don't set the authmech.
* mail-account-editor.c (apply_changes): Don't save the password
in the source url, instead insert it into the save-password
hash. Also check to make sure we don't set an empty string as the
authmech for the source or transport.
* mail-accounts.c (mail_default): After reloading the accounts,
reselect the previously selected account.
(mail_delete): Same.
* mail-config-druid.c (druid_cancel): Fixed segfault bug.
svn path=/trunk/; revision=7319
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* Makefile.am:
* component-factory.c:
* folder-browser-factory.c:
* folder-browser.c:
* mail-accounts.[c,h]:
* mail-account-editor.[c,h]:
* mail-callbacks.c:
* mail-config.[c,h]:
* mail-config-druid.[c,h]:
* mail-config-druid.glade:
* mail-display.c:
* mail-format.c:
* mail-tools.c: Brand spankin' new config druid, editor,
and manager.
svn path=/trunk/; revision=7313
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c: More lovely fixes...
* mail-callbacks.c: Don't segfault if a default account doesn't
exist.
svn path=/trunk/; revision=7302
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-08 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c: A bunch of fixes.
* mail-accounts.c: More fixes...
* mail-account-editor.c (construct): Reparent the notebook to the
editor->vbox and set the resize policy.
svn path=/trunk/; revision=7301
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-tools.c (mail_tool_quote_message): Updated to reflect
changes to the mail-config API.
* mail-display.c (redisplay): Updated to reflect changes to the
mail-config API.
* mail-callbacks.c (providers_config): Use the new account dialog.
* mail-config-druid.c (druid_finish): Load the new storage into
the shell.
(mail_config_druid_new): Take a shell argument.
* mail-format.c (mail_generate_reply): Updated to reflect changes
to the mail-config API.
* mail-config-druid.c: Fixed this to build.
* mail-callbacks.c (check_send_configuration): Updated to reflect
changes to the mail-config API.
(create_msg_composer): Same.
(forward_get_composer): Same.
(send_queued_mail): Same.
(composer_send_cb): Same.
* mail-account-editor.c: Updated to build cleanly. *
mail-config-druid.c: Same. * mail-accounts.c: Same.
* folder-browser-factory.c (control_activate): Updated for API
changes in mail-config.
* folder-browser.c (done_message_selected): Updated for API
changed in mail-config.
(folder_browser_gui_init): Same.
(got_folder): Same.
* component-factory.c (owner_set_cb): After using the sources
list, free it as it is no longer a const GSList as with the older
mail-config code.
* mail-config.c: Totally rewritten.
svn path=/trunk/; revision=7298
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-07 Jeffrey Stedfast <fejj@helixcode.com>
* mail-account-editor.c (apply_clicked): Implemented.
(ok_clicked): Implemented.
(cancel_clicked): Implemented.
(source_auth_type_changed): Implemented.
(source_auth_init): Implemented.
(transport_construct_authmenu): Implemented.
(transport_type_changed): Updated to change regenerate the auth
option menu.
(construct): Attached callbacks to OK, Apply and Cancel buttons.
* mail-account-editor.c (source_auth_init): Use the new
mail_config_check_service().
* mail-config-druid.c: Remove check_service() as it will be moved
into mail-config.
svn path=/trunk/; revision=7289
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-account-editor.[c,h]: New source files to provide an
account editor widget.
* mail-config-druid.c (auth_type_changed): Set the authproto on
the druid so we can look it up later.
svn path=/trunk/; revision=7280
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-accounts.c (mail_add): Since the druid now handles adding
the new account to the config, we'll just connect to the destroy
event and show the druid.
(mail_add_finished): Just reload the account list here.
* mail-config-druid.c (druid_finish): New callback to handle the
"finish" signal. On second thought, it seems it would be best for
the finish callback to be here rather than in mail-accounts.c.
* mail-accounts.[c,h]: Added. Contains source for the Account manager
window. And just like mail-config-druid.c, it's not yet complete.
* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
Renamed from _delete_mail
(mail_config_druid_get_transport_url): New convenience function
that replaces the get_hostname, get_protocol, etc.
(mail_config_druid_get_source_url): Same.
* mail-config-druid.glade: Changed "Delete mail from server" to
"Keep mail on server" as this has a more positive ring to it. Both
I and Aaron agree this is the better phrase.
svn path=/trunk/; revision=7275
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
Renamed from _delete_mail
(mail_config_druid_get_transport_url): New convenience function
that replaces the get_hostname, get_protocol, etc.
(mail_config_druid_get_source_url): Same.
* mail-config-druid.glade: Changed "Delete mail from server" to
"Keep mail on server" as this has a more positive ring to it. Both
I and Aaron agree this is the better phrase.
svn path=/trunk/; revision=7272
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-05 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c (mail_config_druid_get_incoming_keep_mail):
Renamed from _delete_mail
* mail-config-druid.glade: Changed "Delete mail from server" to
"Keep mail on server" as this has a more positive ring to it. Both
I and Aaron agree this is the better phrase.
svn path=/trunk/; revision=7269
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-04 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c: Fixed a few 'Oops'es.
* mail-config-druid.glade: Added a "Default" button for marking an
account as the default.
svn path=/trunk/; revision=7266
|
|
|
|
| |
svn path=/trunk/; revision=7239
|
|
2001-01-03 Jeffrey Stedfast <fejj@helixcode.com>
* mail-config-druid.c: New source file that implements
mail-config-druid. Note: this is not yet complete.
svn path=/trunk/; revision=7238
|