| Date: Thu, 14 Mar 2013 06:35:42 +0100
Adding a default font size option.
Thanks Alexander Sedov !
Diffstat:
config.def.h | 2 ++
surf.c | 2 ++
2 files changed, 4 insertions(+), 0 deletions(-)
--- |
| @@ -10,6 +10,8 @@ static char *cafile = "/etc/ssl/certs/ca-certificates.crt";
static char *strictssl = FALSE; /* Refuse untrusted SSL connections */
static Bool kioskmode = FALSE; /* Ignore shortcuts */
+static guint defaultfontsize = 12;
+
/* Webkit default features */
static Bool enablescrollbars = TRUE;
static Bool enablespatialbrowsing = TRUE; |
| @@ -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",
+ defaultfontsize, NULL);
if(enableinspector) {
c->inspector = WEBKIT_WEB_INSPECTOR( |