Author: lluis
Date: 2007-05-30 13:05:54 -0400 (Wed, 30 May 2007)
New Revision: 78236

Modified:
   trunk/stetic/ChangeLog
   trunk/stetic/libstetic/wrapper/Dialog.cs
   trunk/stetic/libstetic/wrapper/Window.cs
   trunk/stetic/libstetic/wrapper/objects.xml
Log:
* libstetic/wrapper/Window.cs: Store the WindowPosition property in the
  Window wrapper, since it may sometimes be changed by the embedder
  widget.
* libstetic/wrapper/objects.xml: Added default value for Widget.Events
  property.
* libstetic/wrapper/Dialog.cs: (Wrap) Don't initialize the HasSeparator
  property if the provided instance is already initialized.

Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog      2007-05-30 17:00:27 UTC (rev 78235)
+++ trunk/stetic/ChangeLog      2007-05-30 17:05:54 UTC (rev 78236)
@@ -1,5 +1,15 @@
 2007-05-30  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * libstetic/wrapper/Window.cs: Store the WindowPosition property in the
+         Window wrapper, since it may sometimes be changed by the embedder
+         widget.
+       * libstetic/wrapper/objects.xml: Added default value for Widget.Events
+         property.
+       * libstetic/wrapper/Dialog.cs: (Wrap) Don't initialize the HasSeparator
+         property if the provided instance is already initialized.
+
+2007-05-30  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * libstetic/editor/ActionMenuBar.cs, libstetic/editor/ActionMenu.cs:
          When a menu bar loses the focus, reset the menu item selection
          before hiding the submenus. Fixes bug #81761.

Modified: trunk/stetic/libstetic/wrapper/Dialog.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Dialog.cs    2007-05-30 17:00:27 UTC (rev 
78235)
+++ trunk/stetic/libstetic/wrapper/Dialog.cs    2007-05-30 17:05:54 UTC (rev 
78236)
@@ -11,16 +11,18 @@
                public override void Wrap (object obj, bool initialized)
                {
                        base.Wrap (obj, initialized);
-                       dialog.HasSeparator = false;
 
                        ActionArea = (ButtonBox)Container.Lookup 
(dialog.ActionArea);
                        ActionArea.SetActionDialog (this);
 
-                       if (!initialized && dialog.VBox.Children.Length == 1) {
-                               Container vbox = Container.Lookup (dialog.VBox);
-                               Placeholder ph = vbox.AddPlaceholder ();
-                               ph.SetSizeRequest (200, 200);
-                               Buttons = 1;
+                       if (!initialized) {
+                               dialog.HasSeparator = false;
+                               if (!initialized && dialog.VBox.Children.Length 
== 1) {
+                                       Container vbox = Container.Lookup 
(dialog.VBox);
+                                       Placeholder ph = vbox.AddPlaceholder ();
+                                       ph.SetSizeRequest (200, 200);
+                                       Buttons = 1;
+                               }
                        } else
                                ButtonsChanged (ActionArea);
 

Modified: trunk/stetic/libstetic/wrapper/Window.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Window.cs    2007-05-30 17:00:27 UTC (rev 
78235)
+++ trunk/stetic/libstetic/wrapper/Window.cs    2007-05-30 17:05:54 UTC (rev 
78236)
@@ -73,6 +73,17 @@
                        }
                }
 
+               Gtk.WindowPosition windowPosition;
+               public Gtk.WindowPosition WindowPosition {
+                       get {
+                               return windowPosition;
+                       }
+                       set {
+                               windowPosition = value;
+                               EmitNotify ("WindowPosition");
+                       }
+               }
+
                ImageInfo icon;
                public ImageInfo Icon {
                        get {

Modified: trunk/stetic/libstetic/wrapper/objects.xml
===================================================================
--- trunk/stetic/libstetic/wrapper/objects.xml  2007-05-30 17:00:27 UTC (rev 
78235)
+++ trunk/stetic/libstetic/wrapper/objects.xml  2007-05-30 17:05:54 UTC (rev 
78236)
@@ -18,7 +18,7 @@
                <property name="HasDefault" glade-override="true" />
                <property name="CanFocus" />
 <!--           <property name="HasFocus" /> -->
-               <property name="Events" />
+               <property name="Events" default="0"/>
                <property name="ExtensionEvents" />
                <property name="GeneratePublic" internal="true" default="true"/>
                <property name="Name" internal="true"

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to