diff options
Diffstat (limited to 'rose.c')
-rw-r--r-- | rose.c | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -7,7 +7,7 @@ * sublicense copies of this sotware for their own use. * This code does not come with any warranty. * - * Author: fenze <contact@fenze.dev> + * @author: fenze <contact@fenze.dev> */ #include "config.h" @@ -233,8 +233,13 @@ int handle_key(func id, GtkNotebook *notebook) webkit_find_controller_search_previous( webkit_web_view_get_find_controller(notebook_get_webview(notebook))); break; + + case newtab: + notebook_append(notebook, NULL); + gtk_notebook_set_show_tabs(notebook, true); } + return 1; } |