Commit Graph

14 Commits

Author SHA1 Message Date
43dfa91e96 It's a grand old string-review! Nitpicky and minor changes; details in the appropriate ChangeLog files.
svn path=/trunk/; revision=18268
2002-09-30 20:11:15 +00:00
ccc7dbaf49 Fix non-ANSI switch statement.
* mail-signature-editor.c (exit_dialog_cb): Fix non-ANSI switch
        statement.

        * mail-account-gui.c (mail_account_gui_auto_detect_extra_conf):
        Likewise.

        * mail-composer-prefs.c (spell_load_values): add some dummy
        typedefs to avoid empty macro arguments, which have undefined
        behavior.

        * mail-importer.c: #include <sys/types.h> for OS X

svn path=/trunk/; revision=18186
2002-09-23 22:09:29 +00:00
a0d51bc68b removed tip frame
2002-08-27  Radek Doulik  <rodo@ximian.com>

	* mail-signature-editor.c: removed tip frame

svn path=/trunk/; revision=17877
2002-08-27 18:23:08 +00:00
31f6fe3aaf fix some typos, set label usize to 500, -2 (menu_help): added help link to
2002-06-07  Radek Doulik  <rodo@ximian.com>

	* mail-signature-editor.c (mail_signature_editor): fix some typos,
	set label usize to 500, -2
	(menu_help): added help link to Help menu

svn path=/trunk/; revision=17148
2002-06-07 19:54:47 +00:00
f6956dfe32 enhanced signature editor
svn path=/trunk/; revision=17132
2002-06-06 15:54:39 +00:00
4f12e85340 Free the format string.
2002-04-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_destroy_xevolution): Free the format
	string.

	* mail-config.c (config_write_signature): Don't leak the path
	strings here.

	* mail-signature-editor.c (menu_file_save_cb): Free the dirname
	string.

svn path=/trunk/; revision=16486
2002-04-17 02:36:39 +00:00
a5bcf4fb3d Since bonobo doesn't seem to O_TRUNC the file stream before writing to it,
2002-04-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-signature-editor.c (menu_file_save_cb): Since bonobo
	doesn't seem to O_TRUNC the file stream before writing to it,
	write to a temp file first and then rename() it to the real
	filename. This also protects against losing data if the drive is
	full too. Also use a real mode, not 0, so that we can actually
	save/read the content ;-)

svn path=/trunk/; revision=16392
2002-04-09 00:59:46 +00:00
4ce6a59f74 Re-Implemented the signature editor stuff (mostly just copy/paste from
2002-04-01  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-composer-prefs.c (mail_composer_prefs_construct):
	Re-Implemented the signature editor stuff (mostly just copy/paste
	from Radeks original code).

	* mail-signature-editor.c (mail_signature_editor): Use the right
	oafiid for the html editor control.

svn path=/trunk/; revision=16316
2002-04-01 22:55:40 +00:00
03ec14c7df truncate stream before saving
2002-03-08  Radek Doulik  <rodo@ximian.com>

	* mail-signature-editor.c (menu_file_save_cb): truncate stream
	before saving

svn path=/trunk/; revision=15997
2002-03-08 23:35:01 +00:00
20a28f53fc new function
2002-03-08  Radek Doulik  <rodo@ximian.com>

	* mail-config.c (mail_config_signature_set_html): new function

	* mail-accounts.c (sig_event_client): watch for HTML changed event

	* mail-signature-editor.c: added HTML check menu item to Format
	menu

svn path=/trunk/; revision=15996
2002-03-08 23:04:09 +00:00
e4e819b0ae handle name changed event (sig_load_preview): don't run script before each
2002-03-08  Radek Doulik  <rodo@ximian.com>

	* mail-accounts.c (sig_event_client): handle name changed event
	(sig_load_preview): don't run script before each reload
	(sig_script_activate): run script only if script entry is
	activated

	* mail-signature-editor.c (mail_signature_editor): added signature
	name entry

svn path=/trunk/; revision=15989
2002-03-08 21:36:47 +00:00
5326b38eaa notify accounts dialog about signature content change
2002-03-07  Radek Doulik  <rodo@ximian.com>

	* mail-signature-editor.c: notify accounts dialog about signature
	content change

	* mail-accounts.c (run_script): run script only if file regular
	file exists and has x flag

svn path=/trunk/; revision=15979
2002-03-07 23:10:47 +00:00
83223a05bc set initial focus to editor (do_exit): use hasUndo to avoid question
2002-03-07  Radek Doulik  <rodo@ximian.com>

	* mail-signature-editor.c (mail_signature_editor): set initial
	focus to editor
	(do_exit): use hasUndo to avoid question dialog when content is
	unchanged

svn path=/trunk/; revision=15970
2002-03-07 20:53:43 +00:00
a1bb1ba0fe merge new signature handling
svn path=/trunk/; revision=15960
2002-03-07 00:21:59 +00:00