diff options
Diffstat (limited to 'uzbl-core.c')
-rw-r--r-- | uzbl-core.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/uzbl-core.c b/uzbl-core.c index 2e5e14e..85330b9 100644 --- a/uzbl-core.c +++ b/uzbl-core.c @@ -394,7 +394,9 @@ read_file_by_line (const gchar *path) { g_io_channel_unref (chan); } else { - fprintf(stderr, "File '%s' not be read.\n", path); + gchar *tmp = g_strdup_printf("File %s can not be read.", path); + send_event(COMMAND_ERROR, tmp, NULL); + g_free(tmp); } return lines; |