aboutsummaryrefslogtreecommitdiff
path: root/rose.c
diff options
context:
space:
mode:
Diffstat (limited to 'rose.c')
-rw-r--r--rose.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/rose.c b/rose.c
index 15baf7d..78bdd3b 100644
--- a/rose.c
+++ b/rose.c
@@ -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;
}