Commit Graph

13 Commits

Author SHA1 Message Date
000b01e9a1 Replace "Evolution" with "Ximian Evolution" in a bunch of user-visible
places.

svn path=/trunk/; revision=12625
2001-09-05 19:27:03 +00:00
c59635b5a9 Fixed a memory leak. (message_browser_new): Added a comment as to why ,
2001-08-30  Jeffrey Stedfast  <fejj@ximian.com>

	* message-browser.c (message_browser_message_loaded): Fixed a
	memory leak.
	(message_browser_new): Added a comment as to why , after
	reparenting, we do not unref the mail_display.
	(message_browser_destroy): Don't call gtk_widget_destroy() on the
	message_list here.

svn path=/trunk/; revision=12531
2001-08-30 19:16:02 +00:00
4386de9651 Remove the "Customize Toolbar" thing.
* message-browser.c (set_bonobo_ui): Remove the "Customize
Toolbar" thing.

svn path=/trunk/; revision=11825
2001-08-09 06:45:54 +00:00
f29e762e0b Make the title of the window "subject - Message" instead of just
* message-browser.c (message_browser_message_loaded): Make the
title of the window "subject - Message" instead of just "subject".
Also, display "(No subject)" if the subject is NULL.

[Fix #6399, 8-bit characters are not displayed in window title.]

* message-browser.c (message_browser_message_loaded): Convert the
subject from UTF-8 to GTK.

svn path=/trunk/; revision=11695
2001-08-05 16:55:13 +00:00
e1e2d6393d Added an MailAccountEditorNews, for NNTP configuratuion. Based on
2001-07-02  Sam Creasey  <sammy@oh.verio.com>
        * mail-account-editor-news.c: Added an MailAccountEditorNews, for
        NNTP configuratuion.  Based on MailAccountEditor, but stripped.

        * Makefile.am: added mail-account-editor-news.c and
        mail-account-editor-news.h to SOURCES if ENABLE_NNTP is defined.

        * mail-accounts.c (load_news): Moved this function, and fixed some
        slight brokenness.
        (news_edit): Added functional code using MailAccountEditorNews
        (news_add): Added functional code using news_edit after
        allocation.

        * mail-config.glade: news_editor_window widget added.  Used by
        MailAccountEditorNews.

        * mail-display.c (save_data_cb): Store the pathname used when
        saving messages so that the next save box will default to the
        previous path.

        * message-browser.c (message_browser_new): add signal handler for
        size_allocate on the message browser.  Thus new windows are size
        as they were last allocated.
        (message_browser_size_allocate_cb): handler to store allocations.

        * message-list.c (message_list_setup_etree): connect to the
        info_changed signals for the state of the message_list->tree.
        Save the folder state to disk, so that when additional
        message_lists are created, they are consistant.   e.g. the next
        buttons do the same thing in the browser, and in the message
        viewer after changing sorting options.

        * subscribe-dialog.c (build_tree): freeze sc->folder model while
        building the tree.  Not doing so takes a very long time over 40000
        newsgroups.

svn path=/trunk/; revision=10719
2001-07-03 02:56:39 +00:00
e5e79cb370 Mail:
001-06-26  Peter Williams  <peterw@ximian.com>

	* folder-browser-ui.c: New file derived from folder-browser-factory.c.
	Contains the Bonobo UI code, split into three groups as described in
	ui/ChangeLog. Also contains the GalView stuff and the hookups into
	the Bonobo UI stuff.

	* folder-browser-factory.c: Move most of the UI stuff to folder-browser-ui.c.
	(control_activate): Add all three kinds of UI element to this folderbrowser.
	(control_deactivate): Remove all three kinds.

	* folder-browser-ui.h: New file. Prototypes functions to add UI elements
	to a FolderBrowser.

	* Makefile.am: Add folder-browser-ui.{c,h}

	* message-browser.c (PARENT_TYPE): Change to BONOBO_TYPE_WINDOW
	(message_browser_destroy): Chain to parent destroy function.
	(set_bonobo_ui): New function. Add the 'message' functions from the folder
	browser to our UI.
	(message_browser_close): BonoboVerbify this.

	* message-browser.h: Convert to BonoboWindow.

UI:

6-26  Peter Williams  <peterw@ximian.com>

	* evolution-mail-global.xml:
	* evolution-mail-list.xml:
	* evolution-mail-message.xml: New files. These are the result
	of splitting evolution-mail.xml into three pieces: one for the
	global mailer operations, one for the operations on a messagelist,
	and one for the operations on one or more messages.

	* evolution-mail-messagedisplay: New file. UI for the standalone
	message browser that you get when you double-click. Very skeleton.

	* evolution-mail.xml: Removed.

	* Makefile.am: Updated to install new files.

svn path=/trunk/; revision=10514
2001-06-26 22:37:13 +00:00
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