From 0d4cf40b79951b8301ee2b9a3bc359c9f9c85c82 Mon Sep 17 00:00:00 2001 From: Klaus Schmidinger Date: Sat, 3 Jun 2006 14:46:36 +0200 Subject: When the 'skincurses' plugin is loaded, it automatically sets the 'curses' skin as the current one --- PLUGINS/src/skincurses/HISTORY | 2 ++ PLUGINS/src/skincurses/skincurses.c | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) (limited to 'PLUGINS/src') diff --git a/PLUGINS/src/skincurses/HISTORY b/PLUGINS/src/skincurses/HISTORY index 6c870957..c58423df 100644 --- a/PLUGINS/src/skincurses/HISTORY +++ b/PLUGINS/src/skincurses/HISTORY @@ -33,3 +33,5 @@ VDR Plugin 'skincurses' Revision History 2006-06-03: Version 0.0.7 - Fixed handling tabbed item display. +- When the 'skincurses' plugin is loaded, it automatically sets the 'curses' + skin as the current one. diff --git a/PLUGINS/src/skincurses/skincurses.c b/PLUGINS/src/skincurses/skincurses.c index f9e15dd2..a75375b5 100644 --- a/PLUGINS/src/skincurses/skincurses.c +++ b/PLUGINS/src/skincurses/skincurses.c @@ -3,7 +3,7 @@ * * See the README file for copyright information and how to reach the author. * - * $Id: skincurses.c 1.9 2006/06/03 13:21:33 kls Exp $ + * $Id: skincurses.c 1.10 2006/06/03 14:20:39 kls Exp $ */ #include @@ -787,7 +787,9 @@ bool cPluginSkinCurses::Initialize(void) bool cPluginSkinCurses::Start(void) { // Start any background activities the plugin shall perform. - new cSkinCurses; + cSkin *Skin = new cSkinCurses; + // This skin is normally used for debugging, so let's make it the current one: + Skins.SetCurrent(Skin->Name()); return true; } -- cgit v1.2.3