[empathy/gnome-2-34] streamed-media-window: Put the details vbox in a scroll window
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] streamed-media-window: Put the details vbox in a scroll window
- Date: Wed, 16 Mar 2011 10:39:50 +0000 (UTC)
commit 2c4f9f10da3432db913ed9c85b0adb55b0f5704a
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Wed Mar 16 09:54:14 2011 +0100
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).
src/empathy-streamed-media-window.c | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/src/empathy-streamed-media-window.c b/src/empathy-streamed-media-window.c
index 1566da4..a38beb6 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]