matchbox-desktop: Modify layout.patch for highlight colors.
authorAlex Ferguson <thoughtmonster@gmail.com>
Thu, 4 Nov 2010 17:25:14 +0000 (19:25 +0200)
committerKristoffer Ericson <kristoffer.ericson@gmail.com>
Fri, 5 Nov 2010 09:41:17 +0000 (10:41 +0100)
Modified layout.patch with a modified highlight color, which
is by default white. White highlight does not go well with
white text, so the highlight is now (nearly) black.

Signed-off-by: Alex Ferguson <thoughtmonster@gmail.com>
Signed-off-by: Kristoffer Ericson <kristoffer.ericson@gmail.com>
recipes/matchbox-desktop/matchbox-desktop-0.9.1/layout.patch

index b1a57b2..1adf49b 100644 (file)
@@ -1,6 +1,6 @@
 diff -ru matchbox-desktop-0.9.1.orig/data/mbdesktop_modules.in matchbox-desktop-0.9.1/data/mbdesktop_modules.in
 --- matchbox-desktop-0.9.1.orig/data/mbdesktop_modules.in      2004-12-01 13:22:33.000000000 +0200
-+++ matchbox-desktop-0.9.1/data/mbdesktop_modules.in   2010-10-05 16:34:14.635639164 +0300
++++ matchbox-desktop-0.9.1/data/mbdesktop_modules.in   2010-11-04 14:51:44.123334167 +0200
 @@ -4,6 +4,6 @@
  # It can be overridden on a per-user basis by copying this file to ~/.matchbox/
  # and editing. 
@@ -11,8 +11,17 @@ diff -ru matchbox-desktop-0.9.1.orig/data/mbdesktop_modules.in matchbox-desktop-
  # @MBDESKTOP_PLUGIN_DIR@/simplefilebrowser.so /
 diff -ru matchbox-desktop-0.9.1.orig/src/mbdesktop.c matchbox-desktop-0.9.1/src/mbdesktop.c
 --- matchbox-desktop-0.9.1.orig/src/mbdesktop.c        2004-12-20 19:42:48.000000000 +0200
-+++ matchbox-desktop-0.9.1/src/mbdesktop.c     2010-10-05 16:34:10.728179673 +0300
-@@ -957,7 +957,7 @@
++++ matchbox-desktop-0.9.1/src/mbdesktop.c     2010-11-04 14:52:48.026667501 +0200
+@@ -533,6 +533,8 @@
+   mb->bg = malloc(sizeof(MBDesktopBG));
+   memset(mb->bg, 0, sizeof(mb->bg));
++  mbdesktop_set_highlight_col(mb, "#1A1A1A");
++
+   if (spec == NULL)
+     {
+       /* XXX we should probably check theme.desktop too for a bg_def */
+@@ -957,7 +959,7 @@
                             &mb->workarea_height ) == False )
      {
        mb->workarea_x = 0;