Commit Graph

7 Commits

Author SHA1 Message Date
efabbb93c9 one-line fix for bug #2536: File->Close in message viewer doesn't work.
2001-05-29  Jason Leach  <jleach@ximian.com>

	* message-browser.c (message_browser_new): one-line fix for bug
	#2536: File->Close in message viewer doesn't work.
	(message_browser_new): Also replaced like 4 lines of code with a
	one-liner featuring gnome_app_create_toolbar_with_data().

	2001-05-28  Jason Leach  <jleach@ximian.com>

	* mail-local.c (load_metainfo): Don't need to check if (foo!=NULL)
	before doing an xmlFreeDoc().

svn path=/trunk/; revision=10039
2001-05-29 16:56:18 +00:00
4f43db365b g_strdup the uid into the ml->cursor_uid.
2001-05-24  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (message_list_select_uid): g_strdup the uid into
	the ml->cursor_uid.

	* message-browser.c (message_browser_forward_msg): Use the default
	forward style.

svn path=/trunk/; revision=9969
2001-05-24 21:54:34 +00:00
6ae1dd5045 Instead of calling message_list_select_uid() here, instead connect to the
2001-05-22  Jeffrey Stedfast  <fejj@ximian.com>

	* message-browser.c (message_browser_folder_loaded): Instead of
	calling message_list_select_uid() here, instead connect to the
	"message_list_loaded" signal since the message-list is not built
	yet at this point.
	(message_browser_message_list_built): Call
	message_list_select_uid() here instead.

	* message-list.c: Lets have a new signal, MESSAGE_LIST_BUILT, that
	gets emitted when the message-list has finished being built by one
	of the built_*() functions.
	(message_list_class_init): Setup the signal stuff.
	(regen_list_regened): Emit the signal here (should this perhaps be
	moved into each of the build_*() functions instead?).

svn path=/trunk/; revision=9925
2001-05-22 17:32:00 +00:00
3238e3a9f1 Remove this... it's not used any more.
* mail-mlist-magic.c: Remove this... it's not used any more.

	* folder-browser.c:
	* message-browser.c: Remove references to mail-mlist-magic.h

svn path=/trunk/; revision=9800
2001-05-14 21:28:36 +00:00
b61b14b324 Added a new signal, "message_loaded" that gets emitted when the message
2001-04-24  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c: Added a new signal, "message_loaded" that gets
	emitted when the message has been loaded and set on the
	mail_display.
	(folder_browser_class_init): Define the "message_loaded" signal
	stuff.
	(done_message_selected): Emit the "message_loaded" signal here.

	* message-browser.c (message_browser_next_msg): Do our own
	message-list manipulation. We want the next message, not the next
	unread message.
	(message_browser_prev_msg): Same here but for previous.
	(message_browser_new): Connect to the folder browser's
	"message_loaded" signal.
	(message_browser_folder_loaded): Don't connect to the
	message-list's "message_selected" signal.
	(message_browser_message_loaded): Nw callback which replaces the
	old message_browser_message_selected callback's functionality.

svn path=/trunk/; revision=9551
2001-04-24 20:56:56 +00:00
946ca213c4 Add accelerators to the context menu. (on_right_click): Use
* folder-browser.c: Add accelerators to the context menu.
	(on_right_click): Use e_tree_get_cell_geometry and a
	GtkMenuPositionFunc when responding to a Menu-key press so we can
	line the menu up with the selected row rather than the cursor.

	* message-browser.c: include <gal/util/e-util.h> for E_MAKE_TYPE.

svn path=/trunk/; revision=9547
2001-04-24 16:23:51 +00:00
373b8669f5 Use the message-browser widget rather than the mail-view window.
2001-04-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (do_view_message): Use the message-browser
	widget rather than the mail-view window.

	* mail-view.c: Removed.

	* folder-browser.c: Added a folder_loaded signal.

	* message-browser.[c,h]: New window to solve all our message
	browsing needs. This replaces mail-view.c.

	* message-list.c (message_list_select_uid): New function needed by
	the new message-browser window.

svn path=/trunk/; revision=9525
2001-04-23 21:16:00 +00:00