ekiga r6072 - in trunk: . src/gui



Author: dsandras
Date: Sun Mar 16 21:05:19 2008
New Revision: 6072
URL: http://svn.gnome.org/viewvc/ekiga?rev=6072&view=rev

Log:
Better resizing with big video.


Modified:
   trunk/ChangeLog
   trunk/src/gui/main.cpp

Modified: trunk/src/gui/main.cpp
==============================================================================
--- trunk/src/gui/main.cpp	(original)
+++ trunk/src/gui/main.cpp	Sun Mar 16 21:05:19 2008
@@ -920,6 +920,8 @@
   rect.height = mw->main_video_image->allocation.height;
 
   gdk_window_invalidate_rect (GDK_WINDOW (GTK_WIDGET (self)->window), &rect , TRUE);
+
+  gtk_window_resize (GTK_WINDOW (self), width + 20, mw->y ? mw->y : (int) height * 2.5);
 }
 
 void 
@@ -1930,7 +1932,6 @@
 		    2, 2);
   
   gtk_paned_pack2 (GTK_PANED (mw->hpaned), frame, true, true);
-  gtk_widget_set_size_request (frame, 200, -1);
 }  
 
 



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