static Bool enableplugins = TRUE;
static Bool enablescripts = TRUE;
static Bool enableinspector = TRUE;
-static Bool enablestyles = TRUE;
+static Bool enablestyle = TRUE;
static Bool loadimages = TRUE;
static Bool hidebackground = FALSE;
static Bool allowgeolocation = TRUE;
Enable kiosk mode (disable key strokes and right click)
.TP
.B \-m
-Disable the site-specific styles.
+Disable application of user style sheets.
.TP
.B \-M
-Enable the site-specific styles.
+Enable application of user style sheets.
.TP
.B \-n
Disable the Web Inspector (Developer Tools).
}
setatom(c, AtomUri, uri);
- if (enablestyles)
+ if (enablestyle)
setstyle(c, getstyle(uri));
break;
case WEBKIT_LOAD_FINISHED:
"default-font-size", defaultfontsize, NULL);
g_object_set(G_OBJECT(settings),
"resizable-text-areas", 1, NULL);
- if (enablestyles)
+ if (enablestyle)
setstyle(c, getstyle("about:blank"));
/*
void
togglestyle(Client *c, const Arg *arg)
{
- enablestyles = !enablestyles;
- setstyle(c, enablestyles ? getstyle(geturi(c)) : "");
+ enablestyle = !enablestyle;
+ setstyle(c, enablestyle ? getstyle(geturi(c)) : "");
updatetitle(c);
}
g_object_get(G_OBJECT(settings), "enable-plugins", &value, NULL);
togglestat[p++] = value? 'V': 'v';
- togglestat[p++] = enablestyles ? 'M': 'm';
+ togglestat[p++] = enablestyle ? 'M': 'm';
togglestat[p] = '\0';
}
kioskmode = 1;
break;
case 'm':
- enablestyles = 0;
+ enablestyle = 0;
break;
case 'M':
- enablestyles = 1;
+ enablestyle = 1;
break;
case 'n':
enableinspector = 0;