diff options
author | Richard Wilson <rjw@netsurf-browser.org> | 2006-01-06 21:25:34 +0000 |
---|---|---|
committer | Richard Wilson <rjw@netsurf-browser.org> | 2006-01-06 21:25:34 +0000 |
commit | 3ebf60d9fcbde65dee4cd70d02aba97d20e5d21e (patch) | |
tree | a4c7906ab65c7f39cc8e54559e6a0f881e12f68a /riscos/gui.c | |
parent | 53a6cc7e06234f36e11c9e4ef9b1de3655368de0 (diff) | |
download | netsurf-3ebf60d9fcbde65dee4cd70d02aba97d20e5d21e.tar.gz netsurf-3ebf60d9fcbde65dee4cd70d02aba97d20e5d21e.tar.bz2 |
[project @ 2006-01-06 21:25:34 by rjw]
Simplify code and make tree windows defined in the templates.
svn path=/import/netsurf/; revision=1999
Diffstat (limited to 'riscos/gui.c')
-rw-r--r-- | riscos/gui.c | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/riscos/gui.c b/riscos/gui.c index 1ce6426af..0c74bb915 100644 --- a/riscos/gui.c +++ b/riscos/gui.c @@ -245,7 +245,6 @@ void gui_init(int argc, char** argv) char path[40]; os_error *error; int length; - struct theme_descriptor *descriptor = NULL; char *nsdir_temp; /* re-enable all FPU exceptions/traps except inexact operations, @@ -361,26 +360,15 @@ void gui_init(int argc, char** argv) error->errnum, error->errmess)); die(error->errmess); } + ro_gui_theme_initialise(); /* initialise themes before dialogs */ ro_gui_dialog_init(); /* must be done after sprite loading */ ro_gui_download_init(); ro_gui_menu_init(); ro_gui_query_init(); -#ifdef WITH_AUTH - ro_gui_401login_init(); -#endif ro_gui_history_init(); wimp_close_template(); - ro_gui_tree_initialise(); /* must be done after sprite loading */ - ro_gui_hotlist_initialise(); - ro_gui_global_history_initialise(); - /* Load our chosen theme - */ - ro_gui_theme_initialise(); - descriptor = ro_gui_theme_find(option_theme); - if (!descriptor) - descriptor = ro_gui_theme_find("Aletheia"); - ro_gui_theme_apply(descriptor); + ro_gui_tree_initialise(); /* must be done after sprite loading */ #ifndef ncos ro_gui_icon_bar_create(); |