projects
/
uzbl-mobile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0a59fc2
)
Remove unneccesary code for new_window handler.
author
Tom Adams
<tom@holizz.com>
Sun, 19 Jul 2009 14:09:40 +0000
(15:09 +0100)
committer
Tom Adams
<tom@holizz.com>
Sun, 19 Jul 2009 18:22:52 +0000
(19:22 +0100)
uzbl.c
patch
|
blob
|
history
uzbl.h
patch
|
blob
|
history
diff --git
a/uzbl.c
b/uzbl.c
index
84e496a
..
3c7663e
100644
(file)
--- a/
uzbl.c
+++ b/
uzbl.c
@@
-134,7
+134,7
@@
const struct {
{ "history_handler", PTR_V(uzbl.behave.history_handler, STR, 1, NULL)},
{ "download_handler", PTR_V(uzbl.behave.download_handler, STR, 1, NULL)},
{ "cookie_handler", PTR_V(uzbl.behave.cookie_handler, STR, 1, cmd_cookie_handler)},
{ "history_handler", PTR_V(uzbl.behave.history_handler, STR, 1, NULL)},
{ "download_handler", PTR_V(uzbl.behave.download_handler, STR, 1, NULL)},
{ "cookie_handler", PTR_V(uzbl.behave.cookie_handler, STR, 1, cmd_cookie_handler)},
- { "new_window", PTR_V(uzbl.behave.new_window, STR, 1, cmd_new_window)},
+ { "new_window", PTR_V(uzbl.behave.new_window, STR, 1, NULL)},
{ "fifo_dir", PTR_V(uzbl.behave.fifo_dir, STR, 1, cmd_fifo_dir)},
{ "socket_dir", PTR_V(uzbl.behave.socket_dir, STR, 1, cmd_socket_dir)},
{ "http_debug", PTR_V(uzbl.behave.http_debug, INT, 1, cmd_http_debug)},
{ "fifo_dir", PTR_V(uzbl.behave.fifo_dir, STR, 1, cmd_fifo_dir)},
{ "socket_dir", PTR_V(uzbl.behave.socket_dir, STR, 1, cmd_socket_dir)},
{ "http_debug", PTR_V(uzbl.behave.http_debug, INT, 1, cmd_http_debug)},
@@
-1613,19
+1613,6
@@
cmd_cookie_handler() {
}
void
}
void
-cmd_new_window() {
- gchar **split = g_strsplit(uzbl.behave.new_window, " ", 2);
- /* pitfall: doesn't handle chain actions; must the sync_ action manually */
- if ((g_strcmp0(split[0], "sh") == 0) ||
- (g_strcmp0(split[0], "spawn") == 0)) {
- g_free (uzbl.behave.new_window);
- uzbl.behave.new_window =
- g_strdup_printf("%s %s", split[0], split[1]);
- }
- g_strfreev (split);
-}
-
-void
cmd_fifo_dir() {
uzbl.behave.fifo_dir = init_fifo(uzbl.behave.fifo_dir);
}
cmd_fifo_dir() {
uzbl.behave.fifo_dir = init_fifo(uzbl.behave.fifo_dir);
}
diff --git
a/uzbl.h
b/uzbl.h
index
c9d81b2
..
130f33f
100644
(file)
--- a/
uzbl.h
+++ b/
uzbl.h
@@
-502,9
+502,6
@@
void
cmd_cookie_handler();
void
cmd_cookie_handler();
void
-cmd_new_window();
-
-void
move_statusbar();
void
move_statusbar();
void