summaryrefslogtreecommitdiff
path: root/riscos/theme.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-08-31 18:01:22 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-08-31 18:01:22 +0000
commita8661b3a6435e9b191230b1cec5195efb5ac3d51 (patch)
treedf50c78fabc5a90c88727ce440f95452ec806516 /riscos/theme.c
parent98d17f19a6d901abd28f2c89975bcd5faad0f3ea (diff)
downloadnetsurf-a8661b3a6435e9b191230b1cec5195efb5ac3d51.tar.gz
netsurf-a8661b3a6435e9b191230b1cec5195efb5ac3d51.tar.bz2
[project @ 2004-08-31 18:01:22 by rjw]
Further theme related fixes svn path=/import/netsurf/; revision=1257
Diffstat (limited to 'riscos/theme.c')
-rw-r--r--riscos/theme.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/riscos/theme.c b/riscos/theme.c
index 717bdcef0..68f5a60d4 100644
--- a/riscos/theme.c
+++ b/riscos/theme.c
@@ -66,8 +66,8 @@ static wimp_window theme_toolbar_window = {
12,
1,
{""},
- 0,
- { }
+ 0/*,
+ { } */
};
@@ -1073,6 +1073,10 @@ bool ro_gui_theme_process_toolbar(struct toolbar *toolbar, int width) {
*/
toolbar->toolbar_current = width;
if ((toolbar->reformat_buttons) && (parent) && (old_height != toolbar->height)) {
+ extent.x1 = 16384;
+ extent.y0 = 0;
+ extent.y1 = toolbar->height;
+ xwimp_set_extent(toolbar->toolbar_handle, &extent);
ro_gui_theme_attach_toolbar(toolbar, parent);
}
toolbar->reformat_buttons = false;