Changed error message if inspect command is called.
authorDaniel Carl <danielcarl@gmx.de>
Sat, 9 Mar 2013 00:20:48 +0000 (01:20 +0100)
committerDaniel Carl <danielcarl@gmx.de>
Sat, 9 Mar 2013 00:20:48 +0000 (01:20 +0100)
If the webinspector isn't enabled the error messaged showed the webkit setting
that is not set to use the webinspector. But this setting has an alias and can
therefore only be set by the alias. So we print the alias in the error
message.

src/command.c

index 562150f..9cd7608 100644 (file)
@@ -352,7 +352,7 @@ gboolean command_inspect(Client* c, const Arg* arg)
         return TRUE;
     }
 
-    vp_echo(c, VP_MSG_ERROR, TRUE, "enable-developer-extras not enabled");
+    vp_echo(c, VP_MSG_ERROR, TRUE, "webinspector is not enabled");
 
     return FALSE;
 }