Author: lluis
Date: 2007-09-04 11:24:38 -0400 (Tue, 04 Sep 2007)
New Revision: 85289

Modified:
   trunk/stetic/ChangeLog
   trunk/stetic/libstetic/wrapper/Notebook.cs
Log:
* libstetic/wrapper/Notebook.cs: Workaround for GTK bug. ShowAll is not
  propagated to tab labels. Fixes bug #82476.

Modified: trunk/stetic/ChangeLog
===================================================================
--- trunk/stetic/ChangeLog      2007-09-04 15:22:56 UTC (rev 85288)
+++ trunk/stetic/ChangeLog      2007-09-04 15:24:38 UTC (rev 85289)
@@ -1,5 +1,10 @@
 2007-09-04  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * libstetic/wrapper/Notebook.cs: Workaround for GTK bug. ShowAll is not
+         propagated to tab labels. Fixes bug #82476.
+
+2007-09-04  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * libsteticui/ProjectBackend.cs: When reloading a project, reuse the 
same
          icon factory instance, since it may be inherited from another project.
          Fixes bug #82527.
@@ -13,7 +18,7 @@
          the icon property being set too early, when it might be null.
        * libstetic/editor/ActionToolbar.cs: Added missing null check.
 
-2007-09-03   <> 
+2007-09-03  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * libstetic/wrapper/objects.xml: FileChooserButton doesn't have a 
default
          constructor, it requires the title and the action. Fixes bug #82671.

Modified: trunk/stetic/libstetic/wrapper/Notebook.cs
===================================================================
--- trunk/stetic/libstetic/wrapper/Notebook.cs  2007-09-04 15:22:56 UTC (rev 
85288)
+++ trunk/stetic/libstetic/wrapper/Notebook.cs  2007-09-04 15:24:38 UTC (rev 
85289)
@@ -112,6 +112,13 @@
                                        var
                                );
                                ctx.Statements.Add (invoke);
+                               
+                               // Workaround for GTK bug. ShowAll is not 
propagated to tab labels.
+                               invoke = new CodeMethodInvokeExpression (
+                                       var,
+                                       "ShowAll"
+                               );
+                               ctx.Statements.Add (invoke);
                        } else
                                base.GenerateChildBuildCode (ctx, parentExp, 
wrapper);
                }

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

Reply via email to