[chronojump] contrastLabel method public



commit e4b955c84d7d350f8194b34dd4b4d5bc06296578
Author: Xavier de Blas <xaviblas gmail com>
Date:   Thu Apr 16 17:48:25 2020 +0200

    contrastLabel method public

 src/utilGtk.cs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/utilGtk.cs b/src/utilGtk.cs
index d21f6444..95436446 100644
--- a/src/utilGtk.cs
+++ b/src/utilGtk.cs
@@ -649,7 +649,7 @@ public class UtilGtk
                foreach(Gtk.Widget w in container.Children)
                {
                        if(w.GetType() == typeof(Gtk.Label))
-                               labelDoContrastColor (bgDark, (Gtk.Label) w);
+                               ContrastLabelsLabel (bgDark, (Gtk.Label) w);
 
                        else if(w.GetType() == typeof(Gtk.Alignment))
                        {
@@ -674,7 +674,7 @@ public class UtilGtk
                        );
        }
 
-       private static void labelDoContrastColor (bool bgDark, Gtk.Label l)
+       public static void ContrastLabelsLabel (bool bgDark, Gtk.Label l)
        {
                if(bgDark)
                {


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