pinosaur
/
surf.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
124d3e8
)
s/zoompage/zoom/
author
Enno Boland (tox)
<tox@s01.de>
Mon, 7 Sep 2009 07:51:51 +0000
(09:51 +0200)
committer
Enno Boland (tox)
<tox@s01.de>
Mon, 7 Sep 2009 07:51:51 +0000
(09:51 +0200)
config.h
patch
|
blob
|
history
surf.c
patch
|
blob
|
history
diff --git
a/config.h
b/config.h
index
a46843c
..
151bbf4
100644
(file)
--- a/
config.h
+++ b/
config.h
@@
-17,9
+17,10
@@
static Key keys[] = {
{ 0, GDK_Return, hideurl, {0}, URLBAR },
{ GDK_CONTROL_MASK, GDK_p, clipboard, {.b = TRUE }, BROWSER },
{ GDK_CONTROL_MASK, GDK_y, clipboard, {.b = FALSE}, BROWSER },
{ 0, GDK_Return, hideurl, {0}, URLBAR },
{ GDK_CONTROL_MASK, GDK_p, clipboard, {.b = TRUE }, BROWSER },
{ GDK_CONTROL_MASK, GDK_y, clipboard, {.b = FALSE}, BROWSER },
- { GDK_CONTROL_MASK, GDK_plus, zoompage, {.i = +1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_minus, zoompage, {.i = -1 }, BROWSER },
- { GDK_CONTROL_MASK, GDK_0, zoompage, {.i = 0 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_equal, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_plus, zoom, {.i = +1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_minus, zoom, {.i = -1 }, BROWSER },
+ { GDK_CONTROL_MASK, GDK_0, zoom, {.i = 0 }, BROWSER },
{ GDK_CONTROL_MASK, GDK_l, navigate, {.i = +1}, BROWSER },
{ GDK_CONTROL_MASK, GDK_h, navigate, {.i = -1}, BROWSER },
{ 0, GDK_Escape, stop, {0}, BROWSER },
{ GDK_CONTROL_MASK, GDK_l, navigate, {.i = +1}, BROWSER },
{ GDK_CONTROL_MASK, GDK_h, navigate, {.i = -1}, BROWSER },
{ 0, GDK_Escape, stop, {0}, BROWSER },
diff --git
a/surf.c
b/surf.c
index
47005b7
..
f43d848
100644
(file)
--- a/
surf.c
+++ b/
surf.c
@@
-108,7
+108,7
@@
static void stop(Client *c, const Arg *arg);
static void titlechange(WebKitWebView* view, WebKitWebFrame* frame, const gchar* title, Client *c);
static void usage();
static void updatetitle(Client *c, const gchar *title);
static void titlechange(WebKitWebView* view, WebKitWebFrame* frame, const gchar* title, Client *c);
static void usage();
static void updatetitle(Client *c, const gchar *title);
-static void zoom
page
(Client *c, const Arg *arg);
+static void zoom(Client *c, const Arg *arg);
#include "config.h"
#include "config.h"
@@
-563,7
+563,7
@@
updatetitle(Client *c, const char *title) {
}
void
}
void
-zoom
page
(Client *c, const Arg *arg) {
+zoom(Client *c, const Arg *arg) {
if(arg->i < 0) /* zoom out */
webkit_web_view_zoom_out(c->view);
else if(arg->i > 0) /* zoom in */
if(arg->i < 0) /* zoom out */
webkit_web_view_zoom_out(c->view);
else if(arg->i > 0) /* zoom in */