--- config.def.h | 2 ++ surf.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/config.def.h b/config.def.h index 85bfe47..90f8d5b 100644 --- a/config.def.h +++ b/config.def.h _AT_@ -19,6 +19,8 @@ static Bool enableinspector = TRUE; static Bool loadimages = TRUE; static Bool hidebackground = FALSE; +static guint font_size = 12; + #define SETPROP(p, q) { \ .v = (char *[]){ "/bin/sh", "-c", \ "prop=\"`xprop -id $2 $0 | cut -d '\"' -f 2 | dmenu`\" &&" \ diff --git a/surf.c b/surf.c index ee4ab75..8c29148 100644 --- a/surf.c +++ b/surf.c _AT_@ -752,6 +752,8 @@ newclient(void) { enableinspector, NULL); g_object_set(G_OBJECT(settings), "enable-default-context-menu", kioskmode ^ 1, NULL); + g_object_set(G_OBJECT(settings), "default-font-size", + font_size, NULL); if(enableinspector) { c->inspector = WEBKIT_WEB_INSPECTOR( -- 1.7.10.4Received on Thu Mar 14 2013 - 03:46:58 CET
This archive was generated by hypermail 2.3.0 : Thu Mar 14 2013 - 03:48:04 CET