nemo r69 - trunk/gtk-gui



Author: arj
Date: Thu Jan 10 15:28:03 2008
New Revision: 69
URL: http://svn.gnome.org/viewvc/nemo?rev=69&view=rev

Log:
Fixes to indexing window



Modified:
   trunk/gtk-gui/Nemo.Indexing.cs
   trunk/gtk-gui/gui.stetic

Modified: trunk/gtk-gui/Nemo.Indexing.cs
==============================================================================
--- trunk/gtk-gui/Nemo.Indexing.cs	(original)
+++ trunk/gtk-gui/Nemo.Indexing.cs	Thu Jan 10 15:28:03 2008
@@ -25,7 +25,7 @@
         
         private Gtk.Button buttonCancel;
         
-        private Gtk.Button buttonOk;
+        private Gtk.Button buttonClose;
         
         protected virtual void Build() {
             Stetic.Gui.Initialize(this);
@@ -63,6 +63,7 @@
             w4.Position = 0;
             w4.Expand = false;
             w4.Fill = false;
+            w4.Padding = ((uint)(5));
             // Container child dialog1_VBox.Gtk.Box+BoxChild
             this.GtkScrolledWindow = new Gtk.ScrolledWindow();
             this.GtkScrolledWindow.Name = "GtkScrolledWindow";
@@ -77,6 +78,7 @@
             w1.Add(this.GtkScrolledWindow);
             Gtk.Box.BoxChild w6 = ((Gtk.Box.BoxChild)(w1[this.GtkScrolledWindow]));
             w6.Position = 1;
+            w6.Padding = ((uint)(5));
             // Internal child Nemo.Indexing.ActionArea
             Gtk.HButtonBox w7 = this.ActionArea;
             w7.Name = "dialog1_ActionArea";
@@ -95,15 +97,15 @@
             w8.Expand = false;
             w8.Fill = false;
             // Container child dialog1_ActionArea.Gtk.ButtonBox+ButtonBoxChild
-            this.buttonOk = new Gtk.Button();
-            this.buttonOk.CanDefault = true;
-            this.buttonOk.CanFocus = true;
-            this.buttonOk.Name = "buttonOk";
-            this.buttonOk.UseStock = true;
-            this.buttonOk.UseUnderline = true;
-            this.buttonOk.Label = "gtk-ok";
-            this.AddActionWidget(this.buttonOk, -5);
-            Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonOk]));
+            this.buttonClose = new Gtk.Button();
+            this.buttonClose.CanDefault = true;
+            this.buttonClose.CanFocus = true;
+            this.buttonClose.Name = "buttonClose";
+            this.buttonClose.UseStock = true;
+            this.buttonClose.UseUnderline = true;
+            this.buttonClose.Label = "gtk-close";
+            this.AddActionWidget(this.buttonClose, -7);
+            Gtk.ButtonBox.ButtonBoxChild w9 = ((Gtk.ButtonBox.ButtonBoxChild)(w7[this.buttonClose]));
             w9.Position = 1;
             w9.Expand = false;
             w9.Fill = false;
@@ -114,7 +116,7 @@
             this.DefaultHeight = 300;
             this.Show();
             this.buttonCancel.Clicked += new System.EventHandler(this.OnFullIndexClick);
-            this.buttonOk.Clicked += new System.EventHandler(this.OnOkClicked);
+            this.buttonClose.Clicked += new System.EventHandler(this.OnOkClicked);
         }
     }
 }

Modified: trunk/gtk-gui/gui.stetic
==============================================================================
--- trunk/gtk-gui/gui.stetic	(original)
+++ trunk/gtk-gui/gui.stetic	Thu Jan 10 15:28:03 2008
@@ -443,6 +443,7 @@
             <property name="AutoSize">True</property>
             <property name="Expand">False</property>
             <property name="Fill">False</property>
+            <property name="Padding">5</property>
           </packing>
         </child>
         <child>
@@ -463,6 +464,7 @@
           <packing>
             <property name="Position">1</property>
             <property name="AutoSize">True</property>
+            <property name="Padding">5</property>
           </packing>
         </child>
       </widget>
@@ -491,16 +493,16 @@
           </packing>
         </child>
         <child>
-          <widget class="Gtk.Button" id="buttonOk">
+          <widget class="Gtk.Button" id="buttonClose">
             <property name="MemberName" />
             <property name="CanDefault">True</property>
             <property name="CanFocus">True</property>
             <property name="UseStock">True</property>
             <property name="Type">StockItem</property>
-            <property name="StockId">gtk-ok</property>
-            <property name="ResponseId">-5</property>
+            <property name="StockId">gtk-close</property>
+            <property name="ResponseId">-7</property>
             <signal name="Clicked" handler="OnOkClicked" />
-            <property name="label">gtk-ok</property>
+            <property name="label">gtk-close</property>
           </widget>
           <packing>
             <property name="Position">1</property>



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