[evolution/webkit: 121/134] Make EMailBrowser scrollable
- From: Dan VrÃtil <dvratil src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution/webkit: 121/134] Make EMailBrowser scrollable
- Date: Wed, 14 Dec 2011 15:41:49 +0000 (UTC)
commit 2ece82f4216ce403e0b3673336ae42ab57151bb6
Author: Dan VrÃtil <dvratil redhat com>
Date: Mon Nov 28 09:13:26 2011 +0100
Make EMailBrowser scrollable
mail/e-mail-browser.c | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-browser.c b/mail/e-mail-browser.c
index 85477af..9ac009f 100644
--- a/mail/e-mail-browser.c
+++ b/mail/e-mail-browser.c
@@ -54,7 +54,7 @@ struct _EMailBrowserPrivate {
EMailBackend *backend;
GtkUIManager *ui_manager;
EFocusTracker *focus_tracker;
- EMailDisplay *display;
+ EMailDisplay *display;
EMFormatWriteMode mode;
@@ -64,6 +64,7 @@ struct _EMailBrowserPrivate {
GtkWidget *alert_bar;
GtkWidget *search_bar;
GtkWidget *statusbar;
+ GtkWidget *scrolled_window;
guint show_deleted : 1;
};
@@ -690,8 +691,12 @@ mail_browser_constructed (GObject *object)
priv->alert_bar = g_object_ref (widget);
/* EAlertBar controls its own visibility. */
+ priv->scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_box_pack_start (GTK_BOX (container), priv->scrolled_window, TRUE, TRUE, 0);
+ gtk_widget_show (priv->scrolled_window);
+
widget = GTK_WIDGET (priv->display);
- gtk_box_pack_start (GTK_BOX (container), widget, TRUE, TRUE, 0);
+ gtk_container_add (GTK_CONTAINER (priv->scrolled_window), widget);
gtk_widget_show (widget);
search_bar = e_mail_display_get_search_bar (priv->display);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]