Introduction
Introduction Statistics Contact Development Disclaimer Help
tRemove source(), it has been removed from webkit2gtk - surf - customized build…
git clone git://src.adamsgaard.dk/surf
Log
Files
Refs
README
LICENSE
---
commit 4415c475f7063ac5df0a0cca6b6696f0987f1404
parent b7cc1ae9644097899f881eb321c445ffca0bb3f2
Author: Quentin Rameau <[email protected]>
Date: Wed, 18 Nov 2015 14:31:14 +0100
Remove source(), it has been removed from webkit2gtk
WebKit2GTK doesn't provide a direct way to view source anymore, we'll
have to do that ourselves with a GtkSourceView if we still need that.
Diffstat:
M config.def.h | 1 -
M surf.c | 12 ------------
2 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/config.def.h b/config.def.h
t@@ -109,7 +109,6 @@ static Key keys[] = {
{ 0, GDK_KEY_F11, fullscreen, { 0 } },
{ 0, GDK_KEY_Escape, stop, { 0 } },
- { MODKEY, GDK_KEY_o, source, { 0 } },
{ MODKEY|GDK_SHIFT_MASK, GDK_KEY_o, inspector, { 0 } },
{ MODKEY, GDK_KEY_g, spawn, SETPROP("_SURF_UR…
diff --git a/surf.c b/surf.c
t@@ -197,7 +197,6 @@ static void scroll(GtkAdjustment *a, const Arg *arg);
static void setatom(Client *c, int a, const char *v);
static void setup(void);
static void sigchld(int unused);
-static void source(Client *c, const Arg *arg);
static void spawn(Client *c, const Arg *arg);
static void stop(Client *c, const Arg *arg);
static void titlechange(WebKitWebView *view, GParamSpec *pspec, Client *c);
t@@ -1373,17 +1372,6 @@ sigchld(int unused)
}
void
-source(Client *c, const Arg *arg)
-{
- Arg a = { .b = FALSE };
- gboolean s;
-
- s = webkit_web_view_get_view_source_mode(c->view);
- webkit_web_view_set_view_source_mode(c->view, !s);
- reload(c, &a);
-}
-
-void
spawn(Client *c, const Arg *arg)
{
if (fork() == 0) {
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.