Index: metacity/ChangeLog
===================================================================
RCS file: /export/cvs/gnome-2.0/metacity/ChangeLog,v
retrieving revision 1.39
diff -p -u -5 -r1.39 ChangeLog
--- metacity/ChangeLog	2002/07/06 23:15:58	1.39
+++ metacity/ChangeLog	2002/07/10 11:27:09
@@ -1,5 +1,13 @@
+2002-07-09  Pasupathi Duraisamy <pasupathi.duraisamy@wipro.com>
+	
+	* src/themes/Atlanta/metacity-theme-1.xml
+	To increase the button size according to the font size.
+
+	* src/theme.c: To increase the pixel size for the lines 
+	according to font size.
+
 2002-07-06  Havoc Pennington  <hp@pobox.com>
 
 	* src/tabpopup.c (selectable_workspace_new): increase the size of 
 	the mini workspaces
 
Index: metacity/src/theme.c
===================================================================
RCS file: /export/cvs/gnome-2.0/metacity/src/theme.c,v
retrieving revision 1.9
diff -p -u -5 -r1.9 theme.c
--- metacity/src/theme.c	2002/06/22 23:09:55	1.9
+++ metacity/src/theme.c	2002/07/10 11:27:09
@@ -2892,16 +2892,21 @@ meta_draw_op_draw_with_env (const MetaDr
   
   switch (op->type)
     {
     case META_DRAW_LINE:
       {
-        int x1, x2, y1, y2;
+        int x1, x2, y1, y2, pix_width;
 
+        if (op->data.line.width != 0)
+          pix_width = (width / (op->data.line.width * 3)) + 1;
+        else
+          pix_width = op->data.line.width;
+
         gc = get_gc_for_primitive (widget, drawable,
                                    op->data.line.color_spec,
                                    clip,
-                                   op->data.line.width);
+                                   pix_width);
 
         if (op->data.line.dash_on_length > 0 &&
             op->data.line.dash_off_length > 0)
           {
             gint8 dash_list[2];
Index: metacity/src/themes/Atlanta/metacity-theme-1.xml
===================================================================
RCS file: /export/cvs/gnome-2.0/metacity/src/themes/Atlanta/metacity-theme-1.xml,v
retrieving revision 1.3
diff -p -u -5 -r1.3 metacity-theme-1.xml
--- metacity/src/themes/Atlanta/metacity-theme-1.xml	2002/06/22 23:09:40	1.3
+++ metacity/src/themes/Atlanta/metacity-theme-1.xml	2002/07/10 11:27:09
@@ -7,17 +7,16 @@
   <date>February 3, 2002</date>
   <description>Simple low-overhead default theme that comes with Metacity.</description>
 </info>
 
 <frame_geometry name="normal">
-  <distance name="left_width" value="6"/>
-  <distance name="right_width" value="6"/>
-  <distance name="bottom_height" value="7"/>
-  <distance name="left_titlebar_edge" value="6"/>
-  <distance name="right_titlebar_edge" value="6"/>
-  <distance name="button_width" value="17"/>
-  <distance name="button_height" value="17"/>
+  <distance name="left_width" value="5"/>
+  <distance name="right_width" value="5"/>
+  <distance name="bottom_height" value="5"/>
+  <distance name="left_titlebar_edge" value="5"/>
+  <distance name="right_titlebar_edge" value="5"/>
+  <aspect_ratio name="button" value="1.0"/>
   <distance name="title_vertical_pad" value="3"/>
   <border name="title_border" left="3" right="4" top="4" bottom="3"/>
   <border name="button_border" left="0" right="0" top="1" bottom="1"/>
 </frame_geometry>
 
@@ -34,12 +33,11 @@
   <distance name="left_width" value="3"/>
   <distance name="right_width" value="3"/>
   <distance name="bottom_height" value="4"/>
   <distance name="left_titlebar_edge" value="3"/>
   <distance name="right_titlebar_edge" value="3"/>
-  <distance name="button_width" value="11"/>
-  <distance name="button_height" value="11"/>
+  <aspect_ratio name="button" value="1.0"/>
   <distance name="title_vertical_pad" value="1"/>
   <border name="title_border" left="3" right="4" top="3" bottom="3"/>
   <border name="button_border" left="0" right="0" top="1" bottom="1"/>
 </frame_geometry>
 
@@ -73,12 +71,12 @@
 
 <draw_ops name="menu_button">
   <gtk_arrow state="normal" shadow="out" arrow="down"
              x="(width - ArrowWidth) / 2"
              y="(height - ArrowHeight) / 2"
-             width="ArrowWidth"
-             height="ArrowHeight"/>
+             width="(width - ArrowWidth) / 2"
+             height="(height - ArrowHeight) / 2"/>
 </draw_ops>
 
 <draw_ops name="menu_button_pressed">
   <include name="button_pressed_bg"/>
   <include name="menu_button"/>
@@ -88,11 +86,11 @@
   <line color="gtk:fg[NORMAL]"
         x1="ButtonIPad"
         y1="height - ButtonIPad - ThickLineWidth + 1"
         x2="width - ButtonIPad"
         y2="height - ButtonIPad - ThickLineWidth + 1"
-        width="3"/> <!-- FIXME allow a constant here -->
+        width="6"/> <!-- FIXME allow a constant here -->
 </draw_ops>
 
 <draw_ops name="minimize_button_pressed">
   <include name="button_pressed_bg"/>
   <include name="minimize_button"/>
@@ -136,14 +134,14 @@
 </draw_ops>
 
 <draw_ops name="close_button">
   <line color="gtk:fg[NORMAL]"
         x1="ButtonIPad" y1="ButtonIPad"
-        x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1"/>
+        x2="width - ButtonIPad - 1" y2="height - ButtonIPad - 1" width="10"/>
   <line color="gtk:fg[NORMAL]"
         x1="ButtonIPad" y1="height - ButtonIPad - 1"
-        x2="width - ButtonIPad - 1" y2="ButtonIPad"/>
+        x2="width - ButtonIPad - 1" y2="ButtonIPad" width="10"/>
 </draw_ops>
 
 <draw_ops name="close_button_pressed">
   <include name="button_pressed_bg"/>
   <include name="close_button"/>
