From 6ce5a31ea8bb6dbf6f64260c62d9af153e9d7f30 Mon Sep 17 00:00:00 2001 From: akir Date: Thu, 26 Aug 2004 18:26:39 +0000 Subject: unification for themes.cfg/styles.cfg and the same for menuentries: [stylesmenu] and [themesmenu] [stylesdir] and [themesdir] --- ChangeLog | 5 +++++ src/FbTk/Theme.cc | 10 +++++++--- src/MenuCreator.cc | 10 ++++++++-- 3 files changed, 20 insertions(+), 5 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1139bfa..1b84dbb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,11 @@ (Format: Year/Month/Day) Changes for 0.9.10: *04/08/26: + * Tiny unification (Mathias) + - theme.cfg and style.cfg allowed + - in menufiles: + [stylesdir] and [themesdir] allowed + [stylesmenu] and [themesmenu] allowed * Fix bevel on solid colour textures (Simon) FbTk/Texture.hh/cc FbTk/ThemeItems.hh * Make arrow in toolbar buttons scalable size (Simon) diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc index 066f9fa..e557d29 100644 --- a/src/FbTk/Theme.cc +++ b/src/FbTk/Theme.cc @@ -19,7 +19,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Theme.cc,v 1.27 2004/06/07 11:46:05 rathnor Exp $ +// $Id: Theme.cc,v 1.28 2004/08/26 18:26:39 akir Exp $ #include "Theme.hh" @@ -88,8 +88,12 @@ bool ThemeManager::load(const std::string &filename, int screen_num) { location.append("/theme.cfg"); if (!Directory::isRegularFile(location)) { - cerr<<"Error loading theme file "<findScreen(screen_number); if (screen != 0) { -- cgit v0.11.2