diff options
author | Marco Peereboom <marco@conformal.com> | 2011-01-11 03:51:36 +0000 |
---|---|---|
committer | Marco Peereboom <marco@conformal.com> | 2011-01-11 03:51:36 +0000 |
commit | 36b7979b3c0ce5d8aac4cfd16352c69427235b2f (patch) | |
tree | 06a670005be0aceb0b60065634a4b54a1eee09c4 /xxxterm.c | |
parent | 812ba1dc7f4039549d0883137c4075701def72c9 (diff) | |
download | xombrero-36b7979b3c0ce5d8aac4cfd16352c69427235b2f.tar.gz |
add mouse click on oops to hide oops
Diffstat (limited to 'xxxterm.c')
-rw-r--r-- | xxxterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xxxterm.c b/xxxterm.c index 0f2ccf8..5372baa 100644 --- a/xxxterm.c +++ b/xxxterm.c @@ -5438,6 +5438,11 @@ create_new_tab(char *title, struct undo *u, int focus) "signal::activate", (GCallback)cmd_activate_cb, t, (char *)NULL); + /* reuse wv_button_cb to hide oops */ + g_object_connect((GObject*)t->oops, + "signal::button_press_event", (GCallback)wv_button_cb, t, + (char *)NULL); + g_object_connect((GObject*)t->wv, "signal::key-press-event", (GCallback)wv_keypress_cb, t, "signal-after::key-press-event", (GCallback)wv_keypress_after_cb, t, |