[Xfce4-commits] <postler:master> Reset entry colour rather than a specific colour

Christian Dywan noreply at xfce.org
Mon Apr 11 23:48:01 CEST 2011


Updating branch refs/heads/master
         to df094cd432be2aabe33c31f76e37fec9eb2a86ff (commit)
       from 7ca9556243d4b88e6503c7ac647000de7a5a2c87 (commit)

commit df094cd432be2aabe33c31f76e37fec9eb2a86ff
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Apr 11 23:13:04 2011 +0200

    Reset entry colour rather than a specific colour

 postler/elementary-entry.vala |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)

diff --git a/postler/elementary-entry.vala b/postler/elementary-entry.vala
index 585da58..f6e4b5f 100644
--- a/postler/elementary-entry.vala
+++ b/postler/elementary-entry.vala
@@ -76,9 +76,7 @@ public class Entry : Gtk.Entry {
 
     private void reset_font () {
 
-        var color = Gdk.Color ();
-        Gdk.Color.parse ("#444", out color);
-        this.modify_text (Gtk.StateType.NORMAL, color);
+        this.modify_text (Gtk.StateType.NORMAL, null);
         this.modify_font (Pango.FontDescription.from_string ("normal"));
 
     }



More information about the Xfce4-commits mailing list