From 350247a0f250bddef17c3bf7087af7034769bae2 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Mon, 7 Feb 2005 23:00:09 +0000 Subject: [project @ 2005-02-07 23:00:09 by rjw] Stop toolbar scrolling by 1px, make theme saving use leafnames, improve error handling svn path=/import/netsurf/; revision=1499 --- riscos/theme.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'riscos/theme.h') diff --git a/riscos/theme.h b/riscos/theme.h index 0c6f369db..3a86c05ac 100644 --- a/riscos/theme.h +++ b/riscos/theme.h @@ -2,7 +2,7 @@ * This file is part of NetSurf, http://netsurf.sourceforge.net/ * Licensed under the GNU General Public License, * http://www.opensource.org/licenses/gpl-license - * Copyright 2004 Richard Wilson + * Copyright 2005 Richard Wilson */ /** \file @@ -81,7 +81,8 @@ struct toolbar { }; struct theme_descriptor { - char *filename; /**< theme filename (leaf only) */ + char *leafname; /**< theme leafname */ + char *filename; /**< theme filename */ char name[32]; /**< theme name */ char author[64]; /**< theme author */ int browser_background; /**< background colour of browser toolbar */ @@ -99,7 +100,7 @@ struct theme_descriptor { void ro_gui_theme_initialise(void); void ro_gui_theme_finalise(void); -struct theme_descriptor *ro_gui_theme_find(const char *filename); +struct theme_descriptor *ro_gui_theme_find(const char *leafname); struct theme_descriptor *ro_gui_theme_get_available(void); bool ro_gui_theme_read_file_header(struct theme_descriptor *descriptor, struct theme_file_header *file_header); -- cgit v1.2.3