Commit Graph

2968 Commits

Author SHA1 Message Date
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
6efa599560 added "folder_type" parameter to EvolutionImporterLoadFileFn.
2003-04-02  Rodrigo Moya <rodrigo@ximian.com>

	* importers/evolution-mbox-importer.c (load_file_fn):
	* importers/evolution-outlook-importer.c (load_file_fn): added
        "folder_type" parameter to EvolutionImporterLoadFileFn.

	* importers/elm-importer.c (elm_import_file): pass empty string for
	"folder_type" argument to GNOME_Evolution_Importer_loadFile.
	* importers/pine-importer.c (pine_import_file): ditto.
	* importers/netscape-importer.c (netscape_import_file): ditto.

svn path=/trunk/; revision=20645
2003-04-02 16:35:27 +00:00
90b3cda80e Only clear the Mail passwords.
2003-04-02  Not Zed  <NotZed@Ximian.com>

        * mail-session.c (mail_session_forget_passwords): Only clear the
        Mail passwords.

svn path=/trunk/; revision=20632
2003-04-02 04:52:22 +00:00
138b676757 Don't allow the 'prefix' argument to make_safe_filename() be NULL. If we
2003-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (save_part): Don't allow the 'prefix' argument to
	make_safe_filename() be NULL. If we don't yet have a save_dir in
	gconf, use $HOME, etc. Fixes bug #40608.

svn path=/trunk/; revision=20621
2003-04-01 18:23:57 +00:00
ffabf8684a Call composer_check_autosave if we're going interactive, to check for
2003-04-02  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (interactive_cb): Call
	composer_check_autosave if we're going interactive, to check for
	unsaved files.  Fixes #40300.

svn path=/trunk/; revision=20617
2003-04-01 17:26:15 +00:00
5f2900575a if we're called and the idle handler is set, remove it, so we dont go and
2003-04-01  Not Zed  <NotZed@Ximian.com>

	* mail-display.c (mail_display_redisplay): if we're called and the
	idle handler is set, remove it, so we dont go and redisplay it
	again.  Fixes #40522.

svn path=/trunk/; revision=20609
2003-04-01 06:02:21 +00:00
7bbc53fbef Properly init message_list. Fixed a type-o that initialized it to the
2003-03-31  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-session.c: Properly init message_list. Fixed a type-o that
	initialized it to the password_list.

svn path=/trunk/; revision=20605
2003-03-31 23:28:47 +00:00
eeadfa251c need to check for config_service != NULL, not service != NULL before
2003-03-31  Not Zed  <NotZed@Ximian.com>

	* mail-session.c (pass_response): need to check for config_service
	!= NULL, not service != NULL before calling set_save_password.
	Fix for #40472.

2003-03-28  Not Zed  <NotZed@Ximian.com>

	* folder-browser-ui.c: include e-meta.h

	* folder-browser.c (on_right_click): remove unused var.

svn path=/trunk/; revision=20586
2003-03-31 02:57:41 +00:00
48f9f186fc Declare a prototype for this function prior to fe_got_children() so that
2003-03-28  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.c (fe_check_for_children): Declare a prototype
	for this function prior to fe_got_children() so that
	fe_got_children() can call us.

svn path=/trunk/; revision=20558
2003-03-28 16:39:33 +00:00
2c5a425299 remove extra arg to camel_url_encode
* mail-format.c (write_address): remove extra arg to
        camel_url_encode

svn path=/trunk/; revision=20546
2003-03-27 15:38:11 +00:00
40b2d61435 dont set the paned initial size here, but hook onto the realize signal.
2003-03-27  Not Zed  <NotZed@Ximian.com>

	* folder-browser.c (folder_browser_gui_init): dont set the paned
	initial size here, but hook onto the realize signal.
	(paned_realised): set the paned size once we're realised.  Fixes
	#37084, its a bit of a hack, but it seems to work.

svn path=/trunk/; revision=20536
2003-03-27 02:58:23 +00:00
1c1551c97e Fixes bug #40074.
2003-03-26  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes bug #40074.

	* folder-browser-factory.c (control_deactivate): Save message-list
	state.

	* message-list.c (message_list_save_state): Save the various
	states.

svn path=/trunk/; revision=20525
2003-03-26 21:24:45 +00:00
038a6cd0e8 Fixes for bug #39870
2003-03-26  Jeffrey Stedfast  <fejj@ximian.com>

	Fixes for bug #39870

	* message-browser.c (transfer_msg_done): Close the
	message-browser. Since the message doesn't exist anymore, we
	should close it.
	(message_browser_delete): New callback to handle deletion in the
	message-browser window.

svn path=/trunk/; revision=20524
2003-03-26 21:01:27 +00:00
f4e863ea7f If the CamelFolderInfo node doesn't have \NoInferriors set, then check for
2003-03-26  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.c (fe_got_children): If the CamelFolderInfo
	node doesn't have \NoInferriors set, then check for
	subfolders. Fixes bug #40314.

svn path=/trunk/; revision=20520
2003-03-26 19:04:42 +00:00
0983e2cf91 Undo jeff's patch below for #40275, the destroy timeout is already removed
2003-03-26  Not Zed  <NotZed@Ximian.com>

	* mail-display.c (popup_window_destroy_cb): Undo jeff's patch
	below for #40275, the destroy timeout is already removed in
	popup_info_free.  Unref the widget 'w' when we're done with it.
	(popup_info_free): Move everything in here to popup_window_destroy
	and remove, since nothing else uses it.
	(make_popup_window): Ref the widget so it doesn't go away before
	we're finished with it.  Really fixes bug #40275/40188.

svn path=/trunk/; revision=20512
2003-03-26 03:38:30 +00:00
992e6be111 Remove the timeout. Should fix bug #40275.
2003-03-25  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (popup_window_destroy_cb): Remove the
	timeout. Should fix bug #40275.

svn path=/trunk/; revision=20511
2003-03-25 20:51:55 +00:00
2792bf9ffe Remove search entry which never worked right (and can't work as users
2003-03-25  Jeffrey Stedfast  <fejj@ximian.com>

	* subscribe-dialog.c: Remove search entry which never worked right
	(and can't work as users expect anyway, since we don't do
	namespace stripping). Fixes bug #40083.
	(ftree_node_new): Ignore \NoSelect as far as marking it
	"subscribable". Fixes bug #40124.

svn path=/trunk/; revision=20509
2003-03-25 20:33:25 +00:00
fea6083abf Update for e_notice move (apply_changes): Pass a parent_window to e_notice
* mail-account-editor.c: Update for e_notice move
	(apply_changes): Pass a parent_window to e_notice

	* mail-account-gui.c: Update for e_notice move.
	(mail_account_gui_save): Pass a parent_window to e_notice

	* mail-callbacks.c: Update for e_notice move
	* mail-local.c: Likewise
	* mail-signature-editor.c: Likewise
	* mail-vfolder.c: Likewise

svn path=/trunk/; revision=20502
2003-03-25 15:49:19 +00:00
fa7bb395ad Update prototype
* component-factory.c (interactive_cb): Update prototype

svn path=/trunk/; revision=20494
2003-03-25 14:02:34 +00:00
be58e1949e strdup the key before freeing the url as it is probably pointing there.
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* mail-tools.c (meta_data_key): strdup the key before freeing the
	url as it is probably pointing there.

svn path=/trunk/; revision=20491
2003-03-25 01:38:46 +00:00
1f7db78c25 remove a debug printf that made it in a commit.
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* component-factory.c (got_folder): remove a debug printf that
	made it in a commit.

svn path=/trunk/; revision=20480
2003-03-24 13:34:55 +00:00
33e87f5331 Load per-folder setting of show_preview from meta data.
2003-03-25  Not Zed  <NotZed@Ximian.com>

	* folder-browser-ui.c (folder_browser_ui_add_global): Load
	per-folder setting of show_preview from meta data.
	(folder_browser_ui_add_list): Same, for thread_list.

	* mail-tools.c (mail_tool_get_meta_data)
	(mail_tool_delete_meta_data): helpers to lookup/delete meta data.

	* mail-config.c (mail_config_uri_deleted): delete the meta-data
	for the folder.

	* folder-browser.c (folder_browser_reload): dont reload the uri if
	we're in the process of loading it still.
	(folder_browser_new): load the folder meta data before loading the
	folder.
	(folder_browser_toggle_preview):
	(folder_browser_toggle_threads): save change to meta-data.
	(got_folder): Load the metadata if we have a folder to set, and
	the meta-data has changed from initislisation.

svn path=/trunk/; revision=20478
2003-03-24 13:27:32 +00:00