aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-16 16:54:14 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2011-03-16 18:39:20 +0800
commit2c4f9f10da3432db913ed9c85b0adb55b0f5704a (patch)
treed73c571247982d9fd757c85d35789aeab847ea0a
parent12b493671971c0a0a73b02bf467f448022ea88b7 (diff)
downloadgsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar.gz
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar.bz2
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar.lz
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar.xz
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.tar.zst
gsoc2013-empathy-2c4f9f10da3432db913ed9c85b0adb55b0f5704a.zip
streamed-media-window: Put the details vbox in a scroll window
It can require a lot of horizontal space and we don't want to enlarge the call window just for that (#644830).
-rw-r--r--src/empathy-streamed-media-window.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index 1566da40a..a38beb6a8 100644
--- a/src/empathy-streamed-media-window.c
+++ b/src/empathy-streamed-media-window.c
@@ -1026,6 +1026,7 @@ empathy_streamed_media_window_init (EmpathyStreamedMediaWindow *self)
gchar *filename;
GKeyFile *keyfile;
GError *error = NULL;
+ GtkWidget *scroll;
filename = empathy_file_lookup ("empathy-call-window.ui", "src");
gui = empathy_builder_get_file (filename,
@@ -1182,8 +1183,14 @@ empathy_streamed_media_window_init (EmpathyStreamedMediaWindow *self)
gtk_widget_set_sensitive (priv->dtmf_panel, FALSE);
+ /* 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"),
- priv->details_vbox);
+ scroll);
gtk_widget_show_all (top_vbox);