2001-08-09 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (from_changed_cb): Set the smime/pgp
always-sign options when here so it updates when the user changes
his/her identity.
svn path=/trunk/; revision=11840
2001-08-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-text-model.c
This change is dedicated to Jacob Berkman.
(e_select_names_text_model_insert_length): If the last character
we inserted was a "magic comma", remember its position.
(e_select_names_text_model_delete): If the last character we
inserted was a "magic comma", and if the next thing we do is to
hit backspace, delete both the comma and the extra whitespace we
added.
(e_select_names_text_model_init): Initialize our last magic comma
position.
svn path=/trunk/; revision=11839
2001-08-09 Christian Rose <menthos@menthos.com>
* sv.po: Updated Swedish translation. Thanks to
Richard Hult <richard.hult@telia.com> for pointing out a
problem with the translation.
svn path=/trunk/; revision=11838
2001-08-09 Jon Trowbridge <trow@ximian.com>
* gui/component/select-names/e-select-names-manager.c
(e_select_names_manager_create_entry): Hook up some magic to
(basically) cardify an entry on focus-out. (What we do is actually
more complicated than that.)
* gui/component/select-names/e-select-names-bonobo.c
(entry_set_property_fn): After we set an entry's text, try to
cardify it. We need to do this so that (for example) reply
e-mails get properly cardified.
* gui/component/select-names/e-select-names-model.c
(e_select_names_model_duplicate): Use e_select_names_model_append,
rather than manipulating lists directly.
(e_select_names_model_insert): Connect "changed" signal proxy for
added EDestination.
(e_select_names_model_append): Ditto.
(e_select_names_model_replace): Ditto, and disconnect signals for
replaced EDestination.
(e_select_names_model_delete): Ditto on the disconnection.
(e_select_names_model_delete_all): Ditto.
(e_select_names_model_cardify): Added. Try to cardify a specified
EDestination.
(e_select_names_model_cancel_cardify): Added. Cancel the pending
cardification of a single EDestination.
(e_select_names_model_cardify_all): Added. Cardify all of the
EDestinations in the model.
(e_select_names_model_cancel_cardify_all): Added. Cancel's any
and all pending cardifications.
* backend/ebook/e-destination.c (e_destination_class_init): Added
"changed" and "cardified" signals.
(e_destination_freeze): Added (static).
(e_destination_thaw): Added (static).
(e_destination_clear_card): Reset allow_cardify and
cannot_cardify, cancel any pending cardifications, and emit the
"changed" signal.
(e_destination_clear_strings): Emit the "changed" signal.
(e_destination_clear): Do freeze/thaw to prevent multiple signal
emissions.
(e_destination_set_card): Check that the card we are setting is
not equal to the current card, and emit the "changed" signal if we
are actually changing.
(e_destination_set_card_uri): Emit "changed" signal, if necessary.
(e_destination_set_name): Emit "changed" signal, if necessary.
(e_destination_set_email): Emit "changed" signal, if necessary.
(e_destination_set_html_mail_pref): Emit "changed" signal, if
necessary.
(use_card_cb): If we've just loaded/set the ECard, emit the
"changed" signal.
(e_destination_set_raw): Emit "changed" signal, if necessary.
(e_destination_allow_cardification): Added.
(e_destination_set_allow_cardification): Added.
(e_destination_cardify): Added. Tries to automatically convert
a string-based EDestination to one based on an ECard.
(e_destination_cardify_delayed): Added. Cardifies in a timeout.
(e_destination_cancel_cardify): Added. Cancels any pending
cardifications.
(e_destination_xml_decode): Added freeze/thaw.
* backend/ebook/e-book-util.c (e_book_nickname_query): Added. A
canned simple query for nicknames.
* backend/ebook/e-card.c (e_card_email_find_number): Added. Given
a card and an string containing an email address, return the index
number of the address inside of the card, or -1 if the address is
not found.
svn path=/trunk/; revision=11837
2001-08-09 Chris Toshok <toshok@ximian.com>
[ Fixes ximian bugs #5080, #6021, #6704, #6705 ]
* gui/component/addressbook.c (book_open_cb): create our own
dialog that prompts for both the email address and the password.
the email address is stored in the source and filled in for the
user after the first time they enter one and press OK.
* gui/component/addressbook-storage.c (create_ldap_folder): has a
return value, not a int* parameter.
(create_ldap_folder): new function, we can create ldap servers
from the File->New->Folder menu item now.
(register_storage): hook up the "create_folder" signal.
(addressbook_storage_init_source_uri): remove the file case, we
only build ldap uris here.
(load_source_data): remove the file source stuff, and handle
"emailaddr".
(save_source_data): call ldap_source_foreach directly.
(addressbook_source_free): remove file source stuff.
(addressbook_source_copy): same.
* gui/component/addressbook-storage.h: get rid of all the file
source stuff from AddressbookSource, since this is only being used
for ldap servers.
* backend/pas/pas-backend-ldap.c
(pas_backend_ldap_process_authenticate_user): look up the ldap
entry based on the provided email address and use the resulting
DN/passwd to authenticate.
* gui/component/addressbook-config.c: pretty much gutted to make
it work with the new UI.
* gui/component/addressbook-config.glade: new version from anna.
svn path=/trunk/; revision=11834
2001-08-09 Anna Marie Dirks <anna@ximian.com>
* e-filter-bar.h : changed the E_FILTERBAR_RESET label from
"Show All" to "Clear" to alleviate confusion about whether
"Show All" means that hidden messages are also shown or not.
(See ximian bug #6743)
svn path=/trunk/; revision=11833
2001-08-09 Christopher James Lahey <clahey@ximian.com>
* gui/widgets/e-addressbook-view.c (SPEC): Upped the minimum width
on all addressbook columns to 75. Fixes Ximian bug #2773.
svn path=/trunk/; revision=11829
2001-08-09 Christopher James Lahey <clahey@ximian.com>
* e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h,
e-table-field-chooser.c, e-table-field-chooser.h: Added a "header"
argument to these structures which just gets passed downwards.
* e-table-field-chooser-item.c, e-table-field-chooser-item.h:
Added a "header" argument here. Made it so that only rows that
aren't already in the header are shown.
* e-table-header-item.c: Set the "header" argument on our
e-table-field-chooser-dialog. Fixes Ximian bug #2654.
svn path=/trunk/; revision=11828
2001-08-09 Jon Trowbridge <trow@ximian.com>
* configure.in: Bumped version up to 0.10.99.2.
* gal/e-text/e-entry.c (e_entry_class_init): Added
"completion_popup" signal.
(e_entry_show_popup): Emit "completion_popup" signal if the popup
has appeared or disappeared.
(e_entry_enable_completion_full): Listen for "cancel_completion"
signals from our model, and disable our completion if get one.
(e_entry_completion_popup_is_visible): Added. Returns TRUE if the
completion popup is on the screen.
* gal/e-text/e-text-model.c (e_text_model_class_init): Added
"cancel_completion" signal.
(e_text_model_cancel_completion): Added. Emits
"cancel_completion" signal.
svn path=/trunk/; revision=11824
* evolution.xml: Remove "Tools" and "Actions" menus. Create a
"ComponentActionsPlaceholder" and a "ComponentToolsPlaceholder"
instead.
* evolution-mail-messagedisplay.xml: Likewise, put "Tools" and
"Actions" in placeholders.
svn path=/trunk/; revision=11823
* evolution-addressbook.xml: Put the "Tools" and "Actions" menus
in the "ComponentToolsPlaceholder" and
"ComponentActionsPlaceholder", respectively.
* evolution-calendar.xml: Likewise.
* evolution-contact-editor.xml: Likewise.
* evolution-mail-global.xml: Likewise.
* evolution-mail-message.xml: Likewise.
* evolution.xml: Remove "Tools" and "Actions" menus. Create a
"ComponentActionsPlaceholder" and a "ComponentToolsPlaceholder"
instead.
* evolution-mail-messagedisplay.xml: Likewise, put "Tools" and
"Actions" in placeholders.
svn path=/trunk/; revision=11822
2001-08-09 Federico Mena Quintero <federico@ximian.com>
* e-component-registry.c (destroy): Chain to the destroy handler
in the parent class!
* e-shortcuts-view-model.c (impl_destroy): Likewise. Sigh.
svn path=/trunk/; revision=11818
2001-08-08 Not Zed <NotZed@Ximian.com>
* mail-ops.c (send_mail_send): Dont double-register this
operation, mail-mt will do it for us.
(get_folderinfo_get): "
(get_folder_get): "
(get_store_get): "
(create_folder_get): "
(remove_folder_get): "
(sync_folder_sync): "
(get_message_get): "
* message-list.c (message_list_setup_etree): Free the etstate
object after we're done using it.
svn path=/trunk/; revision=11813
2001-08-08 Damon Chaplin <damon@ximian.com>
* gui/goto-dialog.glade: removed underlined accelerator key from
"_Go To Today" button. GnomeDialog doesn't actually support underlined
accelerator keys for buttons. We could hack it, like Glade does, if
we really need to. Fixes bug #6418.
svn path=/trunk/; revision=11809
2001-08-08 Jon Trowbridge <trow@ximian.com>
* camel-filter-search.c (get_source): Remove trailing stuff from
URLs before returning. (Done in an evil way, not in the good way
suggested by fejj. :)) (Bug #4876)
svn path=/trunk/; revision=11808
2001-08-08 Federico Mena Quintero <federico@ximian.com>
* gui/dialogs/alarm-page.c (alarm_page_fill_component): Duuuh, set
the alarm_copy on the component, not the original alarm. Fixes
bug #5214.
svn path=/trunk/; revision=11806
2001-08-08 Anna Marie Dirks <anna@ximian.com>
* evolution-mail-list.xml: Changed the "Show All" menu item
to be "Show Hidden Messages".
svn path=/trunk/; revision=11805
2001-08-08 JP Rosevear <jpr@ximian.com>
* gui/dialogs/meeting-page.c (set_attendees): set the attendees of
a component
(meeting_page_fill_component): use above
(meeting_page_get_cancel_comp): return a comp with the attendees
to be cancelled
* gui/dialogs/meeting-page.h: get a component that will be sent as
a cancellation
* gui/dialogs/event-editor.c (event_editor_class_init): override
send_comp class method
(event_editor_send_comp): send cancellation notices to deleted
attendees
(refresh_meeting_cmd): save before send
(forward_cmd): ditto
* gui/dialogs/comp-editor.c (comp_editor_class_init): set default
send_comp method
(real_send_comp): do the real work
(comp_editor_send_comp): call class method
(save_comp): don't do any sending
(save_comp_with_send): save and send here
(prompt_to_save_changes): use above
(save_close_cmd): ditto
* gui/dialogs/comp-editor.h: add virtual function
svn path=/trunk/; revision=11803
2001-08-08 Jeffrey Stedfast <fejj@ximian.com>
* e-msg-composer.c (e_msg_composer_get_message_draft): Set the
PGP/MIME and S/MIME options to FALSE before getting the message
draft and restore the values afterward.
svn path=/trunk/; revision=11802
2001-08-08 Peter Williams <peterw@ximian.com>
* subscribe-dialog.c (sc_selection_changed): New function. Set the
sensitivity of the subscribe buttons based on whether any folders
are selected.
(menu_item_selected): If getting the widget for the first time,
hook up sc_selection_changed.
svn path=/trunk/; revision=11800
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (ce_have_book): mark
the dialog as changed so the save button is immediately available.
* gui/contact-editor/e-contact-editor.c (card_modified_cb): once
we save reset the change flag to false if we aren't closing the
dialog.
(card_added_cb): same.
(e_contact_editor_class_init): add a "changed" arg.
(e_contact_editor_set_arg): add setter for "changed".
(e_contact_editor_get_arg): add getter for "changed".
svn path=/trunk/; revision=11799
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-editor/e-contact-quick-add.c (ce_have_book): better
to assume that we can write to the local addressbook than that we
can't write to it :)
svn path=/trunk/; revision=11798
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/contact-list-editor/e-contact-list-editor.c (create_ui):
call e_pixmap_update so we can use the same save/save-as pixmaps
as the contact editor.
svn path=/trunk/; revision=11797
2001-08-08 Chris Toshok <toshok@ximian.com>
* evolution-contact-list-editor.xml: improvements, make it look
more like the event editor.
* evolution-contact-editor.xml: same.
* evolution-addressbook.xml: Contact Group => Contact List.
svn path=/trunk/; revision=11796
2001-08-08 Chris Toshok <toshok@ximian.com>
* gui/widgets/e-addressbook-reflow-adapter.c (open_card): new
function, used by the context menu.
(e_addressbook_reflow_adapter_right_click): put "Open" at the top
of the menu. also, disable "Delete" if the addressbook isn't
writable.
svn path=/trunk/; revision=11794