aboutsummaryrefslogtreecommitdiffhomepage
path: root/uzbl.c
diff options
context:
space:
mode:
authorGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-09-03 19:03:46 +0200
committerGravatar Dieter Plaetinck <dieter@plaetinck.be>2009-09-03 19:03:46 +0200
commit6b063255c15068665e2e635e41a85b498707b648 (patch)
treee0320ef26e09c94ba614830daaf204ca74119a22 /uzbl.c
parenta9fb0574e6a5c03f096f80d2d7939d5830d62275 (diff)
FIFO_SET event
Diffstat (limited to 'uzbl.c')
-rw-r--r--uzbl.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/uzbl.c b/uzbl.c
index 40568f4..efe885a 100644
--- a/uzbl.c
+++ b/uzbl.c
@@ -213,6 +213,7 @@ const char *event_table[LAST_EVENT] = {
"NEW_WINDOW" ,
"SELECTION_CHANGED",
"VARIABLE_SET",
+ "FIFO_SET"
};
@@ -2096,6 +2097,7 @@ init_fifo(gchar *dir) { /* return dir or, on error, free dir and return NULL */
if (g_io_add_watch(chan, G_IO_IN|G_IO_HUP, (GIOFunc) control_fifo, NULL)) {
if (uzbl.state.verbose)
printf ("init_fifo: created successfully as %s\n", path);
+ send_event(FIFO_SET, path);
uzbl.comm.fifo_path = path;
return dir;
} else g_warning ("init_fifo: could not add watch on %s\n", path);