pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/kdebase3/patches add missing patch.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6650898e62f8
branches:  trunk
changeset: 473487:6650898e62f8
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Apr 20 12:37:34 2004 +0000

description:
add missing patch.

diffstat:

 x11/kdebase3/patches/patch-ae |  31 +++++++++++++++++++++++++++++++
 1 files changed, 31 insertions(+), 0 deletions(-)

diffs (35 lines):

diff -r c6ae97ddb2be -r 6650898e62f8 x11/kdebase3/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/patches/patch-ae     Tue Apr 20 12:37:34 2004 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.5 2004/04/20 12:37:34 markd Exp $
+
+--- kcontrol/krdb/krdb.cpp.orig        2004-04-04 19:42:18.000000000 +1200
++++ kcontrol/krdb/krdb.cpp
+@@ -343,8 +343,8 @@ static void createGtkrc( bool exportColo
+         t << "  base[NORMAL] = " << color( cg.base() ) << endl;
+         t << "  base[SELECTED] = " << color( cg.highlight() ) << endl;
+         t << "  base[INSENSITIVE] = " << color( cg.background() ) << endl;
+-        t << "  base[ACTIVE] = " << color( cg.base() ) << endl;
+-        t << "  base[PRELIGHT] = " << color( cg.base() ) << endl;
++        t << "  base[ACTIVE] = " << color( cg.highlight() ) << endl;
++        t << "  base[PRELIGHT] = " << color( cg.highlight() ) << endl;
+         t << endl;
+         t << "  text[NORMAL] = " << color( cg.text() ) << endl;
+         t << "  text[SELECTED] = " << color( cg.highlightedText() ) << endl;
+@@ -384,7 +384,14 @@ static void createGtkrc( bool exportColo
+         // not every button, checkbox, etc.
+         t << "style \"MenuItem\"" << endl;
+         t << "{" << endl;
+-        t << "  bg[PRELIGHT] = " << color( cg.highlight() ) << endl;
++      if (cg.highlight() == cg.text())
++      {
++          t << "  bg[PRELIGHT] = " << color( cg.background() ) << endl;
++      }
++      else
++      {
++          t << "  bg[PRELIGHT] = " << color( cg.highlight() ) << endl;
++      }
+         t << "}" << endl;
+         t << endl;
+         t << "class \"*MenuItem\" style \"MenuItem\"" << endl;



Home | Main Index | Thread Index | Old Index