[glom] Details: Make Primary Key ID values visible again.



commit 3b793d93e9fbfcc9390ccd048c290731d4caa643
Author: Murray Cumming <murrayc murrayc com>
Date:   Fri Jun 17 10:41:44 2011 +0200

    Details: Make Primary Key ID values visible again.
    
    * glom/mode_data/datawidget/entry.cc: Use unset_color() instead of
    override_color(RGBA());

 ChangeLog                          |    7 +++++++
 glom/mode_data/datawidget/entry.cc |    2 +-
 2 files changed, 8 insertions(+), 1 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 2b6ae0b..99c189b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-06-17  Murray Cumming  <murrayc murrayc com>
+
+	Details: Make Primary Key ID values visible again.
+
+	* glom/mode_data/datawidget/entry.cc: Use unset_color() instead of 
+	override_color(RGBA());
+
 2011-06-15  Murray Cumming  <murrayc murrayc com>
 
 	Fix the build with --enable-warnings=fatal with gtkmm 3.1.
diff --git a/glom/mode_data/datawidget/entry.cc b/glom/mode_data/datawidget/entry.cc
index 69808f6..f33da00 100644
--- a/glom/mode_data/datawidget/entry.cc
+++ b/glom/mode_data/datawidget/entry.cc
@@ -174,7 +174,7 @@ void Entry::set_value(const Gnome::Gda::Value& value)
     if(!fg_color.empty())
       override_color(Gdk::RGBA(fg_color));
     else
-      override_color(Gdk::RGBA()); //TODO: Use an unset_*() method?
+      unset_color();
   }
 }
 



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