summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2009-12-20 21:39:43 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2009-12-20 21:39:43 +0000
commitd2b2000367169e1132872b2cee68406555251986 (patch)
treedfa51c6b610262c5ca7d58afdde5cd50a9055dfc
parent11582027d1c7756c1d6d2e5cbb94913b93be24b9 (diff)
downloadnetsurf-d2b2000367169e1132872b2cee68406555251986.tar.gz
netsurf-d2b2000367169e1132872b2cee68406555251986.tar.bz2
Vertically centre the main row of toolbar gadgets as it looks much neater.
svn path=/trunk/netsurf/; revision=9752
-rwxr-xr-xamiga/gui.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 56746b9f3..aa330fa66 100755
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -400,9 +400,13 @@ void gui_init(int argc, char** argv)
if((!option_search_engines_file) || (option_search_engines_file[0] == '\0'))
option_search_engines_file = (char *)strdup("PROGDIR:Resources/SearchEngines");
+ search_engines_file_location = option_search_engines_file;
+
/*
if((!option_search_ico_file) || (option_search_ico_file[0] == '\0'))
option_search_ico_file = (char *)strdup("PROGDIR:Resources/default.ico");
+
+ search_default_ico_location = option_search_ico_file;
*/
if((!option_font_sans) || (option_font_sans[0] == '\0'))
@@ -2271,6 +2275,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw,
// LAYOUT_CharSet,106,
LAYOUT_SpaceOuter, TRUE,
LAYOUT_AddChild, HGroupObject,
+ LAYOUT_VertAlignment, LALIGN_CENTER,
LAYOUT_AddChild, gwin->shared->gadgets[GID_BACK] = ButtonObject,
GA_ID,GID_BACK,
GA_RelVerify,TRUE,