gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash ChangeLog gui/gtk.cpp


From: Udo Giacomozzi
Subject: [Gnash-commit] gnash ChangeLog gui/gtk.cpp
Date: Wed, 18 Jul 2007 09:08:31 +0000

CVSROOT:        /cvsroot/gnash
Module name:    gnash
Changes by:     Udo Giacomozzi <udog>   07/07/18 09:08:31

Modified files:
        .              : ChangeLog 
        gui            : gtk.cpp 

Log message:
        Make the drawing area resize also vertically with the window, fixes bug 
#18871

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/ChangeLog?cvsroot=gnash&r1=1.3756&r2=1.3757
http://cvs.savannah.gnu.org/viewcvs/gnash/gui/gtk.cpp?cvsroot=gnash&r1=1.97&r2=1.98

Patches:
Index: ChangeLog
===================================================================
RCS file: /cvsroot/gnash/gnash/ChangeLog,v
retrieving revision 1.3756
retrieving revision 1.3757
diff -u -b -r1.3756 -r1.3757
--- ChangeLog   18 Jul 2007 05:20:43 -0000      1.3756
+++ ChangeLog   18 Jul 2007 09:08:30 -0000      1.3757
@@ -1,3 +1,8 @@
+2007-07-18 Udo Giacomozzi <address@hidden>
+       
+       * gui/gtk.cpp: Make the drawing area resize also vertically with the 
window,
+         fixes bug #18871
+
 2007-07-18 Zou Lunkai <address@hidden>
        
        * testsuite/misc-ming.all/unload_movieclip_test1.c, 
DefineEditTextTest.c:

Index: gui/gtk.cpp
===================================================================
RCS file: /cvsroot/gnash/gnash/gui/gtk.cpp,v
retrieving revision 1.97
retrieving revision 1.98
diff -u -b -r1.97 -r1.98
--- gui/gtk.cpp 1 Jul 2007 10:54:02 -0000       1.97
+++ gui/gtk.cpp 18 Jul 2007 09:08:31 -0000      1.98
@@ -17,7 +17,7 @@
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 //
 
-/* $Id: gtk.cpp,v 1.97 2007/07/01 10:54:02 bjacques Exp $ */
+/* $Id: gtk.cpp,v 1.98 2007/07/18 09:08:31 udog Exp $ */
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -103,13 +103,16 @@
     if (_xid) {
        gtk_container_add(GTK_CONTAINER(_window), _drawing_area);
     } else {
+
+        // A vertical box is used to allow display of the menu bar
+    
         _vbox = gtk_vbox_new(FALSE, 0);
         gtk_widget_show(_vbox);
         gtk_container_add(GTK_CONTAINER(_window), _vbox);
 #ifdef USE_MENUS
         createMenuBar();
 #endif
-        gtk_box_pack_start(GTK_BOX(_vbox), _drawing_area, FALSE, FALSE, 0);
+        gtk_box_pack_start(GTK_BOX(_vbox), _drawing_area, TRUE, TRUE, 0);
     }
 
     gtk_widget_realize(_window);
@@ -149,7 +152,6 @@
 {
 //First call the old createWindow function and then set the title.
 //In case there's some need to not setting the title.
-
     bool ret = createWindow(width, height);
     gtk_window_set_title(GTK_WINDOW(_window), title);
 
@@ -232,7 +234,6 @@
        _height = height;
 
        _validbounds.setTo(0, 0, _width-1, _height-1);
-    
        glue.setRenderHandlerSize(_width, _height);
 
        return true;




reply via email to

[Prev in Thread] Current Thread [Next in Thread]