[Glade-devel] Glade3 Small Cosmetic Patch



--=-8WAghtqmqextrJFtopc2
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Hello,

Here is a small (cosmetic) patch to make it so the packing on the glade
editor window tabs does not expand.

Please review and commit if up to scratch :)

Cheers, Shane

-- 
Shane Butler <shane_b users sourceforge net>

--=-8WAghtqmqextrJFtopc2
Content-Disposition: attachment; filename=glade-editor-packing-20030512.patch
Content-Type: text/x-patch; name=glade-editor-packing-20030512.patch; charset=UTF-8
Content-Transfer-Encoding: 7bit

Index: glade3/ChangeLog
===================================================================
RCS file: /cvs/gnome/glade3/ChangeLog,v
retrieving revision 1.119
diff -u -r1.119 ChangeLog
--- glade3/ChangeLog    8 May 2003 20:04:54 -0000       1.119
+++ glade3/ChangeLog    12 May 2003 02:17:16 -0000
@@ -1,3 +1,8 @@
+2003-05-12  Shane Butler  <shane_b users sourceforge net>
+
+       * src/glade-editor.c: Change the packing in the load_*_page functions
+       to set expand to FALSE.
+
 2003-05-08  Paolo Borelli  <pborelli katamail com>
 
        * src/glade-project.c: fix glade_project_new_from_node so that it 
Index: glade3/src/glade-editor.c
===================================================================
RCS file: /cvs/gnome/glade3/src/glade-editor.c,v
retrieving revision 1.30
diff -u -r1.30 glade-editor.c
--- glade3/src/glade-editor.c   4 May 2003 17:06:40 -0000       1.30
+++ glade3/src/glade-editor.c   12 May 2003 02:17:18 -0000
@@ -987,7 +987,7 @@
 
        /* Attach the new table */
        gtk_box_pack_start (GTK_BOX (editor->vbox_widget), table->table_widget,
-                           TRUE, TRUE, 0);
+                           FALSE, TRUE, 0);
 }
 
 static void
@@ -1018,7 +1018,7 @@
 
        /* Attach the new table */
        gtk_box_pack_start (GTK_BOX (editor->vbox_common), table->table_widget,
-                           TRUE, TRUE, 0);
+                           FALSE, TRUE, 0);
 }
 
 void
@@ -1412,7 +1412,8 @@
        }
 
        gtk_widget_show_all (table->table_widget);
-       gtk_container_add (container, table->table_widget);
+       gtk_box_pack_start (GTK_BOX (editor->vbox_packing), table->table_widget,
+                            FALSE, TRUE, 0);
 
        old = table;
 }

--=-8WAghtqmqextrJFtopc2--





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