2003-05-15 Not Zed <NotZed@Ximian.com>
** See bug #42838.
* mail-account-gui.c (mail_account_gui_build_extra_conf): always
add the extra entry to the hash table, most paths wouldn't.
svn path=/trunk/; revision=21203
2003-05-14 JP Rosevear <jpr@ximian.com>
* mail-local.h: add proto
* mail-local.c (storage_listener_startup): don't listen for
destruction, because we have a ref and it'll never happen
(mail_local_storage_shutdown): release and unref the local storage
* mail-display.c (retrieve_shell_view_interface_from_control):
return a new copy every time
(set_status_message): release and unref the shell view
* folder-browser.c (folder_browser_destroy): guard for multiple
destroys
* folder-browser-factory.c (control_activate): release and unref
the shell view
(control_destroy_cb): just remove the control from the list
(folder_browser_factory_new_control): don't weak ref the folder
browser
* component-factory.c (owner_unset_cb): shutdown local storage
svn path=/trunk/; revision=21181
* component-factory.c (segv_redirect): Removed.
(make_factory): No need to set up the SIGSEGV redirect handler
here, since it's already done in the shell now, and it's in-proc.
* folder-browser-ui.c (folder_browser_ui_rm_all): Only do the
bonobo_ui_component() stuff if the component does have a
container.
svn path=/trunk/; revision=21156
NULLified when the dialog is destroyed in any case, using
g_object_add_weak_pointer(). Prevents a crash that could happen
if the shell would quit with the password dialog still up.
svn path=/trunk/; revision=21133
2003-05-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-display.c (mail_display_render): Make sure that we haven't
been destroyed before we start writing to the html engine. Fixes
bug #42333.
svn path=/trunk/; revision=21132
2003-05-07 Not Zed <NotZed@Ximian.com>
** See bug #42456
* mail-composer-prefs.c (spell_language_button_press): set the
enable/disable button to the right text when we toggle a column.
Added a fixme about the weird code in the whole routine.
svn path=/trunk/; revision=21127
2003-05-06 Not Zed <NotZed@Ximian.com>
** See bug #42400
* mail-tools.c (meta_data_key): protect against getting an
unparsable uri.
svn path=/trunk/; revision=21119
2003-05-05 Not Zed <NotZed@Ximian.com>
** See bug #42294.
* mail-config.c (config_write_fonts): Also set the custom font
style for *BonoboPlug*GtkHTML.
svn path=/trunk/; revision=21109
2003-04-30 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (mark_as_unseen): To be consistant with the
message-list envelope toggle, undelete the message when we unmark
the Seen flag here as well. Fixes bug #42118.
2003-04-30 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (ml_tree_value_at): Fixed to return the correct
values (swapped) in order to fix bug #42120.
2003-04-30 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (regen_list_regened): Save the tree state before
we tear down the tree and then load it back again. yay. Fixes bug
#42170 and #40074.
svn path=/trunk/; revision=21047
2003-04-30 Not Zed <NotZed@Ximian.com>
** See bug #41748
* mail-send-recv.c (build_dialogue): make sure we dont add any
SEND_SEND types to the receive table. When we add the SEND_SEND
type, key it on a fixed string SEND_URI_KEY.
(receive_done): if it is a SEND_SEND type, use SEND_URI_KEY to
remove it from the active list.
(mail_receive_uri): make sure we never add a SEND_SEND type to the
receive list.
(mail_send): key the send info on SEND_URI_KEY not transport url.
svn path=/trunk/; revision=21038
2003-04-29 Jeremy Katz <katzj@redhat.com>
* folder-browser-ui.c (fbui_sensitise_item): Don't just blindly
cast an int to gpointer, use the proper glib magic instead.
svn path=/trunk/; revision=21026
2003-04-29 Jeffrey Stedfast <fejj@ximian.com>
* importers/netscape-importer.c
(netscape_add_priority_workaround_filters): Updated for API change
in the filter code.
svn path=/trunk/; revision=21020
2003-04-29 Not Zed <NotZed@Ximian.com>
** See bug #41972
* message-list.c (ml_tree_value_at): fix (void *) casts on trinary
ops.
* folder-browser.c (on_right_click): Store the label tag in the
label callback data, not the translated name.
* mail-config.c (label_defaults[]): Initialise with the tag
values.
(config_clear_labels): free tag field.
(config_cache_labels): setup the tag field based on the position
of the label name.
(mail_config_get_label_color_by_name): Lookup colour by the
untranslated TAG, not the translated/customisable tag.
* mail-config.h (MailConfigLabel): Add a tag field, we were using
the translated name as the label(!).
svn path=/trunk/; revision=21008
2003-04-25 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.glade: Made toplevel container widgets set a
border-width (including toplevel widgets within frames), set the
table/hbox/vbox spacings, set the spacing between an image and the
description text in hboxes to 12pts (as suggested by the HIG),
Changed Add/Delete buttons to the stock Add/Remove buttons, etc
2003-04-24 Jeffrey Stedfast <fejj@ximian.com>
* mail-config.c (mail_config_init): Cache the allowable
mime-types.
(mail_config_get_allowable_mime_types): New public function to get
an array of allowable mime-types.
* mail-format.c (mail_lookup_handler): Only allow a
bonobo-component handler if the mime-type is something handled by
evolution or the user has specifically chosen that type as
available for viewing with a bonobo component in the gconf
database.
(mime_type_uses_evolution_component): New convenience function.
(mime_type_can_use_component): Checks gconf to see if the user has
allowed the mime-type to be viewed by a component.
svn path=/trunk/; revision=20983
2003-04-23 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (get_receive_type): pass an exception to
get_provider, to silence some warnings/get a valid result.
svn path=/trunk/; revision=20950
2003-04-22 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (composer_get_message): Only add the
Organization: header if it is non-empty. Fixes bug #41730.
svn path=/trunk/; revision=20935
2003-04-18 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (spell_set_ui): Protect against a NULL
strv result from parsing the language list string.
svn path=/trunk/; revision=20903
2003-04-17 Jeffrey Stedfast <fejj@ximian.com>
Fixes for bug #41142.
* mail-search.c (dialog_response_cb): Handle a GTK_RESPONSE_CLOSE
response.
(mail_search_construct): Changed the Cancel button into a Close
button.
svn path=/trunk/; revision=20889
2003-04-17 Not Zed <NotZed@Ximian.com>
* mail-signature-editor.c (menu_help): remove the help menu item
handling, as the help menu is removed. Clean up of #38927.
svn path=/trunk/; revision=20877
2003-04-16 Not Zed <NotZed@Ximian.com>
* importers/Makefile.am (%.server.in): Remove COMPONENTDIR and set
BINDIR and VERSION instead.
* (importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in,
importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in,
importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in,
importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in,
importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:) : Convert the type back to exe, and point to the main evolution
executable. Fixes#41164.
svn path=/trunk/; revision=20875
2003-04-15 Jeffrey Stedfast <fejj@ximian.com>
* mail-config-druid.c (config_wizard_set_page): Fixed a logic
error that was the cause of bug #41389.
svn path=/trunk/; revision=20866
2003-04-15 Not Zed <NotZed@Ximian.com>
* For bug #41199.
* subscribe-dialog.glade: New interface from Anna. Setup the
wigdet names and add a progress bar, and set the default opening
size to something reasonable.
* subscribe-dialog.c (subscribe_dialog_construct): changes to
match the glade file chagnes. remove the search stuff. hide the
progress bar by default.
(sc_activity_cb): show the progress bar when we're active, hide
it when inactive. dont set any status.
(struct _SubscribeDialogPrivate): Remove the appbar.
svn path=/trunk/; revision=20858
2003-04-14 Jeffrey Stedfast <fejj@ximian.com>
* mail-vfolder.c (vfolder_gui_add_rule): Set the correct border
width and vbox spacing to be HIG compliant. Fixes bug #41209.
(vfolder_edit_rule): Same here.
* local-config.glade: Updated to comply with the HIG. Fixes bug
#41244.
svn path=/trunk/; revision=20846
2003-04-14 Not Zed <NotZed@Ximian.com>
* mail-send-recv.c (build_dialogue): create a stock cancel button
with a cancel all text.
(build_dialogue): Create stock-like cancel buttons with no
accelerators. A workaround for #41043.
* message-list.c (ml_tree_value_at): if the node is the root node,
do nothing. etable shouldn' really be searching the root node if
it isn't visible ...? For #41190.
svn path=/trunk/; revision=20842
2003-04-11 Jeffrey Stedfast <fejj@ximian.com>
Fixes bug #41243.
* message-tag-followup.c (construct): Change the window border
width and packing to comply with the HIG.
* message-tags.glade: Updated to comply with the HIG.
svn path=/trunk/; revision=20833
2003-04-11 Jeffrey Stedfast <fejj@ximian.com>
* mail-session.c (request_password): Add padding around the
entry/checkbox and change the border width of the dialog window to
comply with the HIG. Fixes bug #41004.
svn path=/trunk/; revision=20822
2003-04-10 Jeffrey Stedfast <fejj@ximian.com>
* mail-search.c (mail_search_construct): Change the action button
ordering and also change the padding to comply with the HIG. Fixes
bug #41046 and at least part of bug #41142 (except for the
s/Search/OK/ thing, which has not been agreed upon yet).
svn path=/trunk/; revision=20808
2003-04-09 Not Zed <NotZed@Ximian.com>
** See bug #40921
* subscribe-dialog.c (subscribe_dialog_finalise): add a finalise
funciton which actually free's resources.
(get_short_folderinfo_got): dont call activity callback implicitly
here, do it from the callers callback.
(subscribe_get_short_folderinfo): dont call activity callback
here.
(fe_got_children): check implicitly if we were cancelled. also
add back the node sort, and also call the activity callback from
here instead of breaking layers of abstraction as above.
(folder_etree_cancel_all): new method, force a cancel of all ops,
but dont free anything.
(store_data_free): dont unref the widget anymore, not needed.
call cancel all on the ftree if its still active.
(sc_close_pressed): destroy the subscribe dialogue as well as the
app, it doesn't seem to get destroyed otherwise.
(sc_activity_cb): do nothing if we have been cancelled.
(subscribe_dialog_destroy): trigger a cancel of all outstanding
ops. only free most data in the finalise method.
(subscribe_dialog_class_init): hook onto finalise.
(store_data_get_widget): dont ref the widget.
* mail-callbacks.c (manage_subscriptions): sink the dialog.
svn path=/trunk/; revision=20784
2003-04-09 Larry Ewing <lewing@ximian.com>
* mail-preferences.c (font_share_changed): set sensitivity of
font pickers based on share setting.
(mail_preferences_construct): initialize font prefs.
(mail_preferences_apply): set the font prefs.
(font_changed): add gnome-font-picker changed function.
* mail-preferences.h: add font pref widgets.
* mail-config.c (mail_config_init): add notify to on fonts dir.
(config_write_fonts): write out a gtkrc that overrides the gtkhtml
fonts settings based on the gconf keys.
* mail-config.glade: move display font setttings to mail prefs.
* evolution-mail.schemas: add font settings.
svn path=/trunk/; revision=20779
2003-04-08 Jeffrey Stedfast <fejj@ximian.com>
* mail-callbacks.c (do_view_message): Add a check for a NULL uid
here. Don't see how it can happen, but it seems to have for
Aaron. Anyways, this should fix bug #40904.
svn path=/trunk/; revision=20762
* importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:
* importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in:
* importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in:
Fix bad XML noticed by Not Zed
svn path=/trunk/; revision=20748
2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
* message-list.c (ml_tree_value_at): For string columns, never
return NULL - always return "" if the value is empty. Fixes bug
#40728.
svn path=/trunk/; revision=20730
2003-04-07 Jeffrey Stedfast <fejj@ximian.com>
* mail-composer-prefs.c (sig_add_script_cb): Set the "script" data
on the GtkEntry to NULL.
(sig_add_script_response): If the "script" data on the GtkEntry
object is non-NULL, then we are editing an existing signature, so
just change the values in place and don't add it to the signature
db.
(sig_edit_cb): If sig->script is non-NULL, then we are editing a
script signature, so pop up the script dialog instead. Fixes bug
#38929.
svn path=/trunk/; revision=20723
2003-04-03 Not Zed <NotZed@Ximian.com>
** Bug 40536
* component-factory.c (send_receive_cb): run the warning dialogue
asynchronously. Also, set the mail send/receive dialogue to
transient for parent.
* mail-send-recv.c (mail_send_receive): return the dialogue for
send/receive.
svn path=/trunk/; revision=20691