[evolution-patches] nicer looking patch for #41145



A little bird clued me in regarding the utility of using the "-w" flag
with diff so as to make glade patches more readable. Cool! 

With that in mind, here's a much-less-messy-looking version of the patch
for #41145. This basically HIG-ifies the buttons used in Autocompletion
Folders page of the settings dialog. 

Thanks in advance, 
Anna

-- 
Anna Marie Dirks <anna ximian com>
Index: e-folder-list.glade
===================================================================
RCS file: /cvs/gnome/evolution/shell/glade/e-folder-list.glade,v
retrieving revision 1.3
diff -u -u -w -r1.3 e-folder-list.glade
--- e-folder-list.glade	4 Nov 2002 01:06:50 -0000	1.3
+++ e-folder-list.glade	22 Apr 2003 20:32:28 -0000
@@ -2,103 +2,103 @@
 <!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd"; >
 
 <glade-interface>
+
   <widget class="GtkWindow" id="window-contents-reparented">
-    <property name="visible">no</property>
     <property name="title" translatable="yes">window1</property>
     <property name="type">GTK_WINDOW_TOPLEVEL</property>
-    <property name="modal">no</property>
-    <property name="allow_shrink">no</property>
-    <property name="allow_grow">yes</property>
-    <property name="window-position">GTK_WIN_POS_NONE</property>
+  <property name="window_position">GTK_WIN_POS_NONE</property>
+  <property name="modal">False</property>
+  <property name="resizable">True</property>
+  <property name="destroy_with_parent">False</property>
 
     <child>
       <widget class="GtkFrame" id="frame-toplevel">
-        <property name="label" translatable="yes"></property>
+      <property name="visible">True</property>
         <property name="label_xalign">0</property>
-        <property name="shadow">GTK_SHADOW_ETCHED_IN</property>
-        <property name="visible">yes</property>
+      <property name="label_yalign">0.5</property>
+      <property name="shadow_type">GTK_SHADOW_ETCHED_IN</property>
 
         <child>
           <widget class="GtkVBox" id="vbox1">
-            <property name="homogeneous">no</property>
+	  <property name="visible">True</property>
+	  <property name="homogeneous">False</property>
             <property name="spacing">0</property>
-            <property name="visible">yes</property>
 
             <child>
               <widget class="Custom" id="custom-optionmenu">
+	      <property name="visible">True</property>
                 <property name="creation_function">create_custom_optionmenu</property>
                 <property name="int1">0</property>
                 <property name="int2">0</property>
                 <property name="last_modification_time">Fri, 22 Mar 2002 15:09:48 GMT</property>
-                <property name="visible">yes</property>
               </widget>
               <packing>
                 <property name="padding">0</property>
-                <property name="expand">no</property>
-                <property name="fill">yes</property>
+	      <property name="expand">False</property>
+	      <property name="fill">True</property>
               </packing>
             </child>
 
             <child>
               <widget class="GtkHBox" id="hbox1">
-                <property name="homogeneous">no</property>
+	      <property name="visible">True</property>
+	      <property name="homogeneous">False</property>
                 <property name="spacing">0</property>
-                <property name="visible">yes</property>
 
                 <child>
                   <widget class="Custom" id="custom-folder-list">
+		  <property name="visible">True</property>
                     <property name="creation_function">create_custom_folder_list</property>
                     <property name="int1">0</property>
                     <property name="int2">0</property>
                     <property name="last_modification_time">Tue, 19 Mar 2002 18:07:28 GMT</property>
-                    <property name="visible">yes</property>
                   </widget>
                   <packing>
                     <property name="padding">0</property>
-                    <property name="expand">yes</property>
-                    <property name="fill">yes</property>
+		  <property name="expand">True</property>
+		  <property name="fill">True</property>
                   </packing>
                 </child>
 
                 <child>
                   <widget class="GtkVButtonBox" id="vbuttonbox1">
+		  <property name="visible">True</property>
                     <property name="layout_style">GTK_BUTTONBOX_START</property>
-                    <property name="spacing">0</property>
-                    <property name="visible">yes</property>
+		  <property name="spacing">6</property>
 
                     <child>
                       <widget class="GtkButton" id="button-add">
-                        <property name="can_default">yes</property>
-                        <property name="can_focus">yes</property>
-                        <property name="label" translatable="yes">_Add</property>
+		      <property name="visible">True</property>
+		      <property name="can_default">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label">gtk-add</property>
+		      <property name="use_stock">True</property>
                         <property name="relief">GTK_RELIEF_NORMAL</property>
-                        <property name="visible">yes</property>
-                        <property name="use_underline">yes</property>
                       </widget>
                     </child>
 
                     <child>
                       <widget class="GtkButton" id="button-remove">
-                        <property name="can_default">yes</property>
-                        <property name="can_focus">yes</property>
-                        <property name="label" translatable="yes">_Delete</property>
+		      <property name="visible">True</property>
+		      <property name="can_default">True</property>
+		      <property name="can_focus">True</property>
+		      <property name="label">gtk-remove</property>
+		      <property name="use_stock">True</property>
                         <property name="relief">GTK_RELIEF_NORMAL</property>
-                        <property name="visible">yes</property>
-                        <property name="use_underline">yes</property>
                       </widget>
                     </child>
                   </widget>
                   <packing>
                     <property name="padding">0</property>
-                    <property name="expand">no</property>
-                    <property name="fill">no</property>
+		  <property name="expand">False</property>
+		  <property name="fill">False</property>
                   </packing>
                 </child>
               </widget>
               <packing>
                 <property name="padding">0</property>
-                <property name="expand">yes</property>
-                <property name="fill">yes</property>
+	      <property name="expand">True</property>
+	      <property name="fill">True</property>
               </packing>
             </child>
           </widget>
@@ -106,4 +106,5 @@
       </widget>
     </child>
   </widget>
+
 </glade-interface>


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