[empathy] set_size_request on the video_container to ensure the window has a sane minimum size.



commit be896d0dbf713bb7a8abcc317d52b95b4d6623a9
Author: Ken VanDine <ken vandine canonical com>
Date:   Mon Nov 21 14:58:52 2011 +0100

    set_size_request on the video_container to ensure the window has a sane minimum size.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=664313

 src/empathy-call-window.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index b579523..732f45e 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -1717,6 +1717,9 @@ empathy_call_window_init (EmpathyCallWindow *self)
 
   priv->video_container = gtk_clutter_embed_new ();
 
+  gtk_widget_set_size_request (priv->video_container,
+      EMPATHY_VIDEO_WIDGET_DEFAULT_WIDTH, EMPATHY_VIDEO_WIDGET_DEFAULT_HEIGHT);
+
   /* Set the background color to that of the rest of the window */
   context = gtk_widget_get_style_context (priv->content_hbox);
   gtk_style_context_get_background_color (context,



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]