[empathy: 90/99] call-window: Put the details vbox in a scroll window
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 90/99] call-window: Put the details vbox in a scroll window
- Date: Thu, 9 Jun 2011 09:56:54 +0000 (UTC)
commit d78ac0b3ee0d22b0b670216373e8b0db0b0479b0
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Mar 16 11:17:02 2011 +0100
call-window: Put the details vbox in a scroll window
Conflicts:
src/empathy-call-window.c
src/empathy-call-window.c | 11 +++++++++--
1 files changed, 9 insertions(+), 2 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 860153d..9fa5ef3 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1013,6 +1013,7 @@ empathy_call_window_init (EmpathyCallWindow *self)
GtkWidget *arrow;
GtkWidget *page;
gchar *filename;
+ GtkWidget *scroll;
priv = self->priv = G_TYPE_INSTANCE_GET_PRIVATE (self,
EMPATHY_TYPE_CALL_WINDOW, EmpathyCallWindowPriv);
@@ -1157,8 +1158,14 @@ empathy_call_window_init (EmpathyCallWindow *self)
gtk_widget_set_sensitive (priv->dtmf_panel, FALSE);
- ev_sidebar_add_page (EV_SIDEBAR (priv->sidebar), "details",
- _("Details"), priv->details_vbox);
+ /* Put the details vbox in a scroll window as it can require a lot of
+ * horizontal space. */
+ scroll = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (scroll),
+ priv->details_vbox);
+
+ ev_sidebar_add_page (EV_SIDEBAR (priv->sidebar), "details", _("Details"),
+ scroll);
gtk_widget_show_all (top_vbox);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]