diff options
author | Christian Dywan <christian@twotoasts.de> | 2012-09-12 14:12:08 +0200 |
---|---|---|
committer | Christian Dywan <christian@twotoasts.de> | 2012-09-12 14:12:08 +0200 |
commit | f4407a7ec0b5d11e5cf840083d753f9ffcbd3ce5 (patch) | |
tree | f6245235f6f36a1b067d2c7b2602de6ea1990e68 /midori/midori-websettings.c | |
parent | bf6b7b7c71023374fcf346bdafba2c6214c11650 (diff) | |
download | midori-f4407a7ec0b5d11e5cf840083d753f9ffcbd3ce5.tar.gz |
Give readable names to numeric debug tokens
Diffstat (limited to 'midori/midori-websettings.c')
-rw-r--r-- | midori/midori-websettings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/midori/midori-websettings.c b/midori/midori-websettings.c index 11b82838..331de5b0 100644 --- a/midori/midori-websettings.c +++ b/midori/midori-websettings.c @@ -12,6 +12,7 @@ #include "midori-websettings.h" +#include "midori-app.h" #include "sokoke.h" #include <midori/midori-core.h> /* Vala API */ @@ -581,8 +582,7 @@ midori_web_settings_has_plugin_support (void) #if !WEBKIT_CHECK_VERSION (1, 8, 2) && defined G_OS_WIN32 return FALSE; #else - return g_getenv ("MIDORI_UNARMED") == NULL - && g_strcmp0 (g_getenv ("MOZ_PLUGIN_PATH"), "/"); + return !midori_debug ("unarmed") && g_strcmp0 (g_getenv ("MOZ_PLUGIN_PATH"), "/"); #endif } |