diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-16 18:17:02 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-03-16 18:39:35 +0800 |
commit | 99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8 (patch) | |
tree | 9107f2f7b8186035690ffe20c03c9be38f395f18 /src | |
parent | 2c4f9f10da3432db913ed9c85b0adb55b0f5704a (diff) | |
download | gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar.gz gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar.bz2 gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar.lz gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar.xz gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.tar.zst gsoc2013-empathy-99706ebbfea4df20a95d7e8cfdc13d33eaf4c8b8.zip |
call-window: Put the details vbox in a scroll window
Diffstat (limited to 'src')
-rw-r--r-- | 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 282e0f9a9..e5008f126 100644 --- a/src/empathy-call-window.c +++ b/src/empathy-call-window.c @@ -1008,6 +1008,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); @@ -1148,8 +1149,14 @@ empathy_call_window_init (EmpathyCallWindow *self) gtk_widget_set_sensitive (priv->dtmf_panel, FALSE); - empathy_sidebar_add_page (EMPATHY_SIDEBAR (priv->sidebar), - _("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); + + empathy_sidebar_add_page (EMPATHY_SIDEBAR (priv->sidebar), _("Details"), + scroll); gtk_widget_show_all (top_vbox); |