[pan2] applied refresh patch for body-pane



commit 2ae6affaf10d02da63a7ea825f2e7af4925cb169
Author: Heinrich Müller <heinrich mueller82 gmail com>
Date:   Wed Mar 26 18:29:20 2014 +0100

    applied refresh patch for body-pane

 pan/gui/body-pane.cc |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/pan/gui/body-pane.cc b/pan/gui/body-pane.cc
index 8bafb23..949ae38 100644
--- a/pan/gui/body-pane.cc
+++ b/pan/gui/body-pane.cc
@@ -2171,8 +2171,13 @@ 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 == "text-color-fg" || key == "text-color-bg")
+{              
+  if ((key == "text-color-fg")              || (key == "text-color-bg")              || 
+      (key == "body-pane-color-url")        || (key == "body-pane-color-url-bg")     || 
+      (key == "body-pane-color-quote-1")    || (key == "body-pane-color-quote-2")    || 
+      (key == "body-pane-color-quote-3")    || (key == "body-pane-color-quote-1-bg") || 
+      (key == "body-pane-color-quote-2-bg") || (key == "body-pane-color-quote-3-bg") || 
+      (key == "body-pane-color-signature")  || (key == "body-pane-color-signature-bg"))
   {
     refresh_colors ();
   }


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