diff options
author | Sam Creasey <sammy@oh.verio.com> | 2001-07-03 10:56:39 +0800 |
---|---|---|
committer | Sam Creasy <sammy@src.gnome.org> | 2001-07-03 10:56:39 +0800 |
commit | e1e2d6393df2a7e1af08a18330fe65c49d81d9c9 (patch) | |
tree | ef69ef8a56d351818f72533a6ee6b71d244589a6 /mail/message-browser.c | |
parent | fd6ad06df5c3cf3928f9361d566aaaaffe498d2d (diff) | |
download | gsoc2013-evolution-e1e2d6393df2a7e1af08a18330fe65c49d81d9c9.tar.gz gsoc2013-evolution-e1e2d6393df2a7e1af08a18330fe65c49d81d9c9.tar.zst gsoc2013-evolution-e1e2d6393df2a7e1af08a18330fe65c49d81d9c9.zip |
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
Diffstat (limited to 'mail/message-browser.c')
-rw-r--r-- | mail/message-browser.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/mail/message-browser.c b/mail/message-browser.c index 39ff1249cc..741c663cd8 100644 --- a/mail/message-browser.c +++ b/mail/message-browser.c @@ -138,6 +138,14 @@ message_browser_folder_loaded (FolderBrowser *fb, const char *uri, MessageBrowse message_browser_message_list_built, mb); } +static void +message_browser_size_allocate_cb (GtkWidget *widget, + GtkAllocation *allocation) +{ + last_allocation = *allocation; + +} + /* Construction */ static void @@ -225,6 +233,9 @@ message_browser_new (const GNOME_Evolution_Shell shell, const char *uri, const c gtk_widget_reparent (GTK_WIDGET (fb->mail_display), vbox); gtk_widget_show (GTK_WIDGET (fb->mail_display)); gtk_widget_show (vbox); + + gtk_signal_connect(GTK_OBJECT(new), "size_allocate", + GTK_SIGNAL_FUNC(message_browser_size_allocate_cb), NULL); bonobo_window_set_contents (BONOBO_WINDOW (new), vbox); gtk_widget_grab_focus (GTK_WIDGET (MAIL_DISPLAY (fb->mail_display)->html)); |