File splashy-missing-current-theme-in-font-path.patch of Package splashy

From c2c9cc245d60dc850a4b52d09186aba19c780350 Mon Sep 17 00:00:00 2001
From: Luis Mondesi <lemsx1@gmail.com>
Date: Sat, 16 Jul 2011 06:34:30 -0400
Subject: [PATCH] Missing current theme in font path
 Thanks Peter Hyman <pete@peterhyman.com> for the patch

---
 src/splashy_video.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Index: splashy-0.3.13/src/splashy_video.c
===================================================================
--- splashy-0.3.13.orig/src/splashy_video.c
+++ splashy-0.3.13/src/splashy_video.c
@@ -880,7 +880,7 @@ init_font ()
 
         video.fontdesc.flags = DFDESC_HEIGHT;
 
-        fontface = g_build_filename (splashy_get_config_string (SPL_THEMES_DIR), splashy_get_config_string ("/splashy/textbox/text/font/file"), NULL);
+        fontface = g_build_filename (splashy_get_config_string (SPL_THEMES_DIR), splashy_get_config_string (SPL_CURRENT_THEME), splashy_get_config_string ("/splashy/textbox/text/font/file"), NULL);
         temp = splashy_get_config_int ("/splashy/textbox/text/font/height",
                                        10);
 
openSUSE Build Service is sponsored by