Commit Graph

2989 Commits

Author SHA1 Message Date
bf4ef74000 ** See bug #42838.
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-15 23:37:02 +00:00
ee8e8b6bae Disabled some debugging messages.
2003-05-14  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Disabled some debugging messages.

svn path=/trunk/; revision=21192
2003-05-15 17:58:01 +00:00
946d755adc add proto
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
2003-05-14 18:47:11 +00:00
cd1b05ca91 Removed. (make_factory): No need to set up the SIGSEGV redirect handler
* 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
2003-05-13 16:12:10 +00:00
cc7acff2e2 Fix ChangeLog for yesterday's commit.
svn path=/trunk/; revision=21141
2003-05-09 17:11:08 +00:00
38a69e37f2 (request_password): Make sure password_dialog is
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-08 19:04:38 +00:00
47a4b74f07 Make sure that we haven't been destroyed before we start writing to the
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-08 17:01:55 +00:00
7c5e55ba41 ** See bug #42456
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-08 02:43:10 +00:00
09e2470be4 Correct default for list.
2003-05-07  Jeremy Katz  <katzj@redhat.com>

	* evolution-mail.schemas
	(/schemas/apps/evolution/mail/display/mime_types):  Correct
	default for list.

svn path=/trunk/; revision=21125
2003-05-07 23:40:43 +00:00
ba201c0f99 ** See bug #42400
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-07 00:53:40 +00:00
3bf9a7df88 ** See bug #42294.
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-05-06 00:04:02 +00:00
c85822a98c (request_password): Set OK as the default
response for the password_dialog.

svn path=/trunk/; revision=21104
2003-05-05 18:08:49 +00:00
8a9ec3432e To be consistant with the message-list envelope toggle, undelete the
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-05-02 16:07:18 +00:00
d5ab5576f2 ** See bug #41748
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-05-01 02:19:46 +00:00
f3022be64e Don't just blindly cast an int to gpointer, use the proper glib magic
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-30 03:08:47 +00:00
996827b8fc Updated for API change in the filter code.
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 20:23:56 +00:00
36b97dcf5d ** See bug #41972
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-29 18:18:36 +00:00
9d4c20abb6 Remove preceding whitespace
* mail-format.c (write_xmailer_header): Remove preceding whitespace

svn path=/trunk/; revision=21004
2003-04-29 17:00:08 +00:00
e8a5147580 (mail_session_forget_passwords): Forget all
passwords again.  [#41817]

svn path=/trunk/; revision=20986
2003-04-28 18:04:09 +00:00
aea82dfd60 Made toplevel container widgets set a border-width (including toplevel
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-28 16:00:47 +00:00
54ae44bc33 as below (update_active): as below
2003-04-24  Radek Doulik  <rodo@ximian.com>

	* mail-display.c (html_button_press_event): as below
	(update_active): as below

	* folder-browser.c (html_button_press_event): update for changed
	coordinates in gtk-2

svn path=/trunk/; revision=20959
2003-04-24 19:09:04 +00:00
2d09981098 pass an exception to get_provider, to silence some warnings/get a valid
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-24 01:55:10 +00:00
9e460dd990 Only add the Organization: header if it is non-empty. Fixes bug #41730.
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-23 18:10:45 +00:00
acc879811f Protect against a NULL strv result from parsing the language list string.
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-21 17:42:40 +00:00
241ddbcc8a Fixes for bug #41142.
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-18 18:07:03 +00:00
1bd3678dbe [ fixes #21499 ]
2003-04-18  Rodney Dawes  <dobey@ximian.com>

	[ fixes #21499 ]
	* gui/component/Makefile.am:
	* gui/component/addressbook.c:
	* gui/component/select-names/e-select-names-bonobo.c:
	* gui/contact-editor/Makefile.am:
	* gui/contact-editor/e-contact-editor.c:
	* gui/contact-list-editor/Makefile.am:
	* gui/contact-list-editor/e-contact-list-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* gui/Makefile.am:
	* gui/calendar-commands.c:
	* gui/tasks-control.c:
	* gui/dialogs/Makefile.am:
	* gui/dialogs/comp-editor.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* Makefile.am:
	* e-msg-composer.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* folder-browser-ui.c:
	* mail-signature-editor.c:
	* message-browser.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ().
	Fixes bug #21499.

	* Makefile.am:
	* e-summary-factory.c:
	Use PREFIX instead of EVOLUTION_DATADIR for bonobo_ui_util_set_ui ()

	* e-shell-view.c: Use PREFIX instead of EVOLUTION_DATADIR for
	bonobo_ui_util_set_ui () [#21499]

svn path=/trunk/; revision=20888
2003-04-18 17:46:26 +00:00
231f3d598e remove the help menu item handling, as the help menu is removed. Clean up
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-17 03:58:43 +00:00
a79885a2e8 Remove COMPONENTDIR and set BINDIR and VERSION instead.
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-17 03:14:33 +00:00
c5f8ea269d schema keys can't be directories (#41419)
2003-04-16  Jeremy Katz  <katzj@redhat.com>

	* evolution-mail.schemas: schema keys can't be directories (#41419)

svn path=/trunk/; revision=20871
2003-04-16 21:45:39 +00:00
2a2828a2e6 Fixed a logic error that was the cause of bug #41389.
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-16 17:03:11 +00:00
f1f8caabf5 For bug #41199.
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-16 05:03:22 +00:00
2cd51fe3ac Free the temporary error text.
2003-04-15  Hans Petter Jansson  <hpj@ximian.com>

	* mail-mt.c (mail_msg_check_error): Free the temporary error text.

svn path=/trunk/; revision=20850
2003-04-15 21:29:21 +00:00
974528e1d8 Set the correct border width and vbox spacing to be HIG compliant. Fixes
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-15 17:29:17 +00:00
fb04925566 create a stock cancel button with a cancel all text. (build_dialogue):
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-14 22:52:32 +00:00
3005321d80 add proper defaults for the fonts settings.
2003-04-14  Larry Ewing  <lewing@ximian.com>

	* evolution-mail.schemas: add proper defaults for the fonts
	settings.

svn path=/trunk/; revision=20839
2003-04-14 18:55:31 +00:00
1738e8731e Fixes bug #41243.
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 21:18:08 +00:00
c6cb5d9631 Add padding around the entry/checkbox and change the border width of the
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-11 18:18:52 +00:00
3a05206cb1 Change the action button ordering and also change the padding to comply
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-10 21:15:43 +00:00
18c82c1880 Change the padding to comply with the GNOME HIG. Fixes bug #41001.
2003-04-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (build_dialogue): Change the padding to comply
	with the GNOME HIG. Fixes bug #41001.

svn path=/trunk/; revision=20806
2003-04-10 19:19:29 +00:00
0c38cc93b1 ** See bug #40921
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 14:20:34 +00:00
60ba84e6a4 set sensitivity of font pickers based on share setting.
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-09 09:52:32 +00:00
74a2482d4a Add a check for a NULL uid here. Don't see how it can happen, but it seems
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
2003-04-08 16:41:06 +00:00
e0125f1fac Remove color specs from the druid so it will use the theme colors
* mail-config.glade: Remove color specs from the druid so it will
        use the theme colors

svn path=/trunk/; revision=20758
2003-04-08 15:34:31 +00:00
7a7bea4887 Fix bad XML noticed by Not Zed
* 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-08 14:23:03 +00:00
907f029cc1 swap button order. For #40900.
2003-04-08  Not Zed  <NotZed@Ximian.com>

        * mail-vfolder.c (vfolder_gui_add_rule): swap button order.  For
        #40900.

svn path=/trunk/; revision=20740
2003-04-08 00:55:44 +00:00
a29a03d658 For string columns, never return NULL - always return "" if the value is
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 20:21:38 +00:00
cd84f61833 Set the "script" data on the GtkEntry to NULL. (sig_add_script_response):
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-07 19:10:23 +00:00
b706cb3137 use e_iconv_locale_language
2003-04-07  Radek Doulik  <rodo@ximian.com>

	* mail-composer-prefs.c (spell_load_values): use
e_iconv_locale_language

svn path=/trunk/; revision=20721
2003-04-07 17:47:17 +00:00
76d74ba347 Clean up server names
* GNOME_Evolution_Mail.server.in.in: Clean up server names

	* importers/GNOME_Evolution_Mail_Elm_Intelligent_Importer.server.in.in:
	Likewise, and fix evolution-mail location

	* importers/GNOME_Evolution_Mail_Mbox_Importer.server.in.in:
	Likewise

	* importers/GNOME_Evolution_Mail_Netscape_Intelligent_Importer.server.in.in:
	Likewise

	* importers/GNOME_Evolution_Mail_Outlook_Importer.server.in.in:
	Likewise

	* importers/GNOME_Evolution_Mail_Pine_Intelligent_Importer.server.in.in:
	Likewise

	* importers/Makefile.am (%.server.in): Fix this for evolution-mail
	being a shlib.

svn path=/trunk/; revision=20703
2003-04-07 16:08:51 +00:00
1ade970722 ** Bug 40536
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
2003-04-07 01:45:08 +00:00