diff options
author | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 14:11:33 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-05-16 14:11:33 +0200 |
commit | 67160e8918ddca8792db46be96e11ce45896df98 (patch) | |
tree | e87aa84d34edf9face84849df93967f251bc94e0 /uzbl.c | |
parent | 242051ada8f13f347ef467007cbcf1290b67f317 (diff) |
make handlers working in sample config, pass correct page titles to scripts, in example scripts: save page titles, and if dmenu-vertical is found show more stuff (date, page title, bookmark tags,..) + small stuff
Diffstat (limited to 'uzbl.c')
-rw-r--r-- | uzbl.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -712,7 +712,7 @@ run_command_async(const char *command, const char *args) { command, uzbl.state.config_file, (int) getpid() , (int) uzbl.xwin, uzbl.comm.fifo_path, uzbl.comm.socket_path); g_string_append_printf (to_execute, " '%s' '%s'", - uzbl.state.uri, "TODO title here"); + uzbl.state.uri, uzbl.gui.main_title); if(args) { g_string_append_printf (to_execute, " %s", args); } @@ -728,7 +728,7 @@ run_command_sync(const char *command, const char *args, char **stdout) { GString* to_execute = g_string_new (""); gboolean result; g_string_printf (to_execute, "%s '%s' '%i' '%i' '%s' '%s'", command, uzbl.state.config_file, (int) getpid() , (int) uzbl.xwin, uzbl.comm.fifo_path, uzbl.comm.socket_path); - g_string_append_printf (to_execute, " '%s' '%s'", uzbl.state.uri, "TODO title here"); + g_string_append_printf (to_execute, " '%s' '%s'", uzbl.state.uri, uzbl.gui.main_title); if(args) { g_string_append_printf (to_execute, " %s", args); } @@ -1371,7 +1371,7 @@ create_browser () { g_signal_connect (G_OBJECT (g->web_view), "title-changed", G_CALLBACK (title_change_cb), g->web_view); g_signal_connect (G_OBJECT (g->web_view), "load-progress-changed", G_CALLBACK (progress_change_cb), g->web_view); g_signal_connect (G_OBJECT (g->web_view), "load-committed", G_CALLBACK (load_commit_cb), g->web_view); - g_signal_connect (G_OBJECT (g->web_view), "load-committed", G_CALLBACK (log_history_cb), g->web_view); + g_signal_connect (G_OBJECT (g->web_view), "load-finished", G_CALLBACK (log_history_cb), g->web_view); g_signal_connect (G_OBJECT (g->web_view), "load-finished", G_CALLBACK (load_finish_cb), g->web_view); g_signal_connect (G_OBJECT (g->web_view), "hovering-over-link", G_CALLBACK (link_hover_cb), g->web_view); g_signal_connect (G_OBJECT (g->web_view), "key-press-event", G_CALLBACK (key_press_cb), g->web_view); |