aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-call-window.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-16 18:17:02 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:09 +0800
commitd78ac0b3ee0d22b0b670216373e8b0db0b0479b0 (patch)
tree5d7d3c9c9d69c0d8f30e5ffa4f7c5799ac1455fa /src/empathy-call-window.c
parent033a72c1af2eeef7cae6d7f8712b56437ce787bd (diff)
downloadgsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar.gz
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar.bz2
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar.lz
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar.xz
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.tar.zst
gsoc2013-empathy-d78ac0b3ee0d22b0b670216373e8b0db0b0479b0.zip
call-window: Put the details vbox in a scroll window
Conflicts: src/empathy-call-window.c
Diffstat (limited to 'src/empathy-call-window.c')
-rw-r--r--src/empathy-call-window.c11
1 files changed, 9 insertions, 2 deletions
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index 860153d60..9fa5ef391 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);