]> git.armaanb.net Git - chorizo.git/blobdiff - browser.c
lariza.usage.1: Fix erroneous dots and wrapping
[chorizo.git] / browser.c
index 1856b5ba77d79cb46b9d971384b98155e78f850c..11e34da963ff17c7876f3f3df08a918cf9661183 100644 (file)
--- a/browser.c
+++ b/browser.c
@@ -80,7 +80,6 @@ static gboolean cooperative_alone = TRUE;
 static gboolean cooperative_instances = TRUE;
 static int cooperative_pipe_fp = 0;
 static gchar *download_dir = "/var/tmp";
-static gboolean enable_webgl = FALSE;
 static gboolean enable_console_to_stdout = FALSE;
 static Window embed = 0;
 static gchar *fifo_suffix = "main";
@@ -213,9 +212,6 @@ client_new(const gchar *uri, WebKitWebView *related_wv, gboolean show)
     if (enable_console_to_stdout)
         webkit_settings_set_enable_write_console_messages_to_stdout(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
 
-    if (enable_webgl)
-        webkit_settings_set_enable_webgl(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
-
     webkit_settings_set_enable_developer_extras(webkit_web_view_get_settings(WEBKIT_WEB_VIEW(c->web_view)), TRUE);
 
     c->location = gtk_entry_new();
@@ -653,10 +649,6 @@ grab_environment_configuration(void)
     if (e != NULL)
         enable_console_to_stdout = TRUE;
 
-    e = g_getenv(__NAME_UPPERCASE__"_ENABLE_EXPERIMENTAL_WEBGL");
-    if (e != NULL)
-        enable_webgl = TRUE;
-
     e = g_getenv(__NAME_UPPERCASE__"_FIFO_SUFFIX");
     if (e != NULL)
         fifo_suffix = g_strdup(e);
@@ -1139,7 +1131,7 @@ run_user_scripts(WebKitWebView *web_view)
     const gchar *entry = NULL;
     GDir *scriptdir = NULL;
 
-    base = g_build_filename(g_get_user_config_dir(), __NAME__, "scripts", NULL);
+    base = g_build_filename(g_get_user_config_dir(), __NAME__, "user-scripts", NULL);
     scriptdir = g_dir_open(base, 0, NULL);
     if (scriptdir != NULL)
     {