[pan2] quickfix for body-pane colors



commit 1532e376ea667580c0708d7b8c50ee246964d9da
Author: Heinrich MÃller <henmull src gnome org>
Date:   Sun Sep 23 12:51:34 2012 +0200

    quickfix for body-pane colors

 pan/gui/body-pane.cc |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/pan/gui/body-pane.cc b/pan/gui/body-pane.cc
index fd61e00..465e495 100644
--- a/pan/gui/body-pane.cc
+++ b/pan/gui/body-pane.cc
@@ -2114,8 +2114,10 @@ BodyPane :: on_prefs_string_changed (const StringView& key, const StringView& va
 void
 BodyPane :: on_prefs_color_changed (const StringView& key, const GdkColor& color G_GNUC_UNUSED)
 {
-  if (key == "body-pane-color" || key == "font-color-fg" || key == "font-color-bg")
+  if (key == "body-pane-color" || key == "text-color-fg" || key == "text-color-bg")
+  {
     refresh_colors ();
+  }
 }
 
 void



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