static GHashTable *keywords = NULL;
static gboolean language_is_set = FALSE;
static gchar *search_text = NULL;
-static gboolean show_all_requests = FALSE;
static gboolean tabbed_automagic = TRUE;
static gchar *user_agent = NULL;
if (uri != NULL)
{
f = ensure_uri_scheme(uri);
- if (show_all_requests)
- fprintf(stderr, "====> %s\n", uri);
webkit_web_view_load_uri(WEBKIT_WEB_VIEW(c->web_view), f);
g_free(f);
}
else if (!keywords_try_search(WEBKIT_WEB_VIEW(c->web_view), t))
{
f = ensure_uri_scheme(t);
- if (show_all_requests)
- fprintf(stderr, "====> %s\n", f);
webkit_web_view_load_uri(WEBKIT_WEB_VIEW(c->web_view), f);
g_free(f);
}
return TRUE;
case GDK_KEY_w: /* home (left hand) */
f = ensure_uri_scheme(home_uri);
- if (show_all_requests)
- fprintf(stderr, "====> %s\n", f);
webkit_web_view_load_uri(WEBKIT_WEB_VIEW(c->web_view), f);
g_free(f);
return TRUE;
case GDK_KEY_e: /* new tab (left hand) */
f = ensure_uri_scheme(home_uri);
- if (show_all_requests)
- fprintf(stderr, "====> %s\n", f);
client_new(f);
g_free(f);
return TRUE;
if (val != NULL)
{
uri = g_strdup_printf((gchar *)val, tokens[1]);
- if (show_all_requests)
- fprintf(stderr, "====> %s\n", uri);
webkit_web_view_load_uri(web_view, uri);
g_free(uri);
ret = TRUE;
grab_environment_configuration();
- while ((opt = getopt(argc, argv, "e:rCT")) != -1)
+ while ((opt = getopt(argc, argv, "e:CT")) != -1)
{
switch (opt)
{
embed = atol(optarg);
tabbed_automagic = FALSE;
break;
- case 'r':
- show_all_requests = TRUE;
- break;
case 'C':
cooperative_instances = FALSE;
break;