Commit Graph

17 Commits

Author SHA1 Message Date
acc9974f8b Only cancel the selection dialog if it is currently in use, otherwise
2001-12-21  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (composer_hide_cb): Only cancel the
	selection dialog if it is currently in use, otherwise we'll get an
	extra gtk_main_quit and the mailer will exit :-(

svn path=/trunk/; revision=15207
2001-12-21 22:45:57 +00:00
49546f4de2 If multiple-selection is enabled but nothing is slected, fall back to
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (confirm): If multiple-selection is
	enabled but nothing is slected, fall back to using the filename in
	the entry box as the "selected" file.
	(create_file_selection): If the composer gets hidden (ie it's
	being "sent") then cancel the file selection dialog.

svn path=/trunk/; revision=14999
2001-12-12 00:56:51 +00:00
17957b8297 If multiple-selection is enabled but nothing is slected, fall back to
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (confirm): If multiple-selection is
	enabled but nothing is slected, fall back to using the filename in
	the entry box as the "selected" file.

svn path=/trunk/; revision=14994
2001-12-11 21:55:55 +00:00
84cc28032c If the widget is non-NULL, then gtk_widget_destroy that bad boy...
2001-12-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c
	(file_selection_info_destroy_notify): If the widget is non-NULL,
	then gtk_widget_destroy that bad boy...

svn path=/trunk/; revision=14984
2001-12-11 19:37:30 +00:00
19339ece30 select_file_attachments now returns a GPtrArray so handle that and loop
2001-12-10  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment-bar.c (add_from_user):
	select_file_attachments now returns a GPtrArray so handle that and
	loop until we've added all the attachment files.

	* e-msg-composer-select-file.c (confirm): Add an evil kludge to
	get a list of filenames from the GtkFileSelection widget based on
	the label in the history option menu item and the base filenames
	of the selected items in the filename clist.
	(create_file_selection): Setup the clist to allow multiple
	selection.
	(file_selection_info_destroy_notify): Destroy the GPtrArray
	containing the list of xselected files.
	(select_file_internal): Return a GPtrArray of files instead of a
	char *.

svn path=/trunk/; revision=14968
2001-12-11 01:01:05 +00:00
02dcd0aadf Update the licensing information to require version 2 of the GPL
(instead of version 2 or any later version).

svn path=/trunk/; revision=14190
2001-10-27 00:25:49 +00:00
a5d93d4f63 Close the file selection dialog when the composer is closed
svn path=/trunk/; revision=10920
2001-07-09 18:12:30 +00:00
6468acf689 Added missing #include <config.h> to make translations working.
* e-msg-composer-select-file.c: Added missing #include <config.h> to
make translations working.

svn path=/trunk/; revision=10906
2001-07-09 11:58:23 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
1391cd5ced Replace the disposition option menu with a checkbox.
* e-msg-composer-attachment.glade: Replace the disposition option
	menu with a checkbox.

	* e-msg-composer-select-file.c
	(e_msg_composer_select_file_attachment): New function to select a
	file to attach. Adds a "suggest inline disposition" checkbox.

	* e-msg-composer-attachment.c (e_msg_composer_attachment_new): Add
	a disposition argument rather than always defaulting to
	"attachment".
	(struct _DialogData, ok_cb, e_msg_composer_attachment_edit):
	Update for optionmenu->checkbox change for disposition.

	* e-msg-composer-attachment-bar.c (add_from_file): Add a
	disposition argument.
	(add_from_user): Use e_msg_composer_select_file_attachment, pass
	chosen disposition to add_from_file.
	(e_msg_composer_attachment_bar_attach): Pass "attachment" to
	add_from_file for the disposition.

svn path=/trunk/; revision=10200
2001-06-12 18:04:15 +00:00
ec65555bc0 Fix previous.
* e-msg-composer-select-file.c (create_file_selection): Fix
	previous.

svn path=/trunk/; revision=9254
2001-04-11 22:38:18 +00:00
4652efde7f Set the default filename to the user's homedir.
2001-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (create_file_selection): Set the
	default filename to the user's homedir.

svn path=/trunk/; revision=9243
2001-04-11 17:04:27 +00:00
0fa93ae9cf Change into the user's home dir before opening the filesel.
2001-04-11  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-select-file.c (create_file_selection): Change
	into the user's home dir before opening the filesel.

svn path=/trunk/; revision=9242
2001-04-11 16:47:11 +00:00
8a0c0a6802 Replace #include <gtk/gtk.h> Replace #include <gnome.h> Remove #include
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* e-icon-list.c: Replace #include <gtk/gtk.h>
	* e-msg-composer-attachment-bar.c: Replace #include <gnome.h>
	* e-msg-composer-attachment-bar.h: Remove #include <gnome.h>
	* e-msg-composer-attachment.c: Remove #include <gnome.h>
	* e-msg-composer-attachment.h: Same here.
	* e-msg-composer-hdrs.c: Replace #include <gnome.h> and <bonobo.h>
	* e-msg-composer-hdrs.h: Replace #include <gnome.h>
	* e-msg-composer-file.c: #include <gtk/gtkmain.h>, <gtk/gtksignal.h>
	* e-msg-composer.c: Replace #include <bonobo.h>, <gnome.h>
	* e-msg-composer.h: Replace #include <gnome.h> and <bonobo.h>
	* evolution-composer.c: Replace #include <bonobo.h>
	* listener.c: Same here.

svn path=/trunk/; revision=9023
2001-03-29 20:22:54 +00:00
2039485191 Summary is back in :D
Fixed a silly size issue for composer file selectors.

svn path=/trunk/; revision=6187
2000-10-25 23:03:33 +00:00
8cb514d6dd Merge with camel-async.
svn path=/trunk/; revision=4687
2000-08-10 17:30:50 +00:00
105f78dbe8 I18N the message composer's title bar. Don't install header files.
Initial implementation of the "Open" and "Save as" commands (not
really tested/finished, I am just syncing the tree before leaving).
Put the cursor on the "To:" field when the message composer is shown.
Set the correct shadow type in the scroll frame.

svn path=/trunk/; revision=3603
2000-06-17 03:10:38 +00:00