diff options
-rw-r--r-- | src/notebook.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/notebook.c b/src/notebook.c index 0edd0d0..4919b0c 100644 --- a/src/notebook.c +++ b/src/notebook.c @@ -263,6 +263,7 @@ mq_notebook_init(MqNotebook *notebook) new_tab_button = gtk_button_new_from_icon_name("tab-new-symbolic", GTK_ICON_SIZE_BUTTON); gtk_button_set_relief(GTK_BUTTON(new_tab_button), GTK_RELIEF_NONE); + gtk_widget_set_can_focus(new_tab_button, FALSE); gtk_widget_set_tooltip_text(new_tab_button, "New tab"); gtk_notebook_set_action_widget(GTK_NOTEBOOK(notebook), new_tab_button, GTK_PACK_START); @@ -273,6 +274,7 @@ mq_notebook_init(MqNotebook *notebook) tab_list_button = gtk_button_new_from_icon_name("pan-down-symbolic", GTK_ICON_SIZE_BUTTON); gtk_button_set_relief(GTK_BUTTON(tab_list_button), GTK_RELIEF_NONE); + gtk_widget_set_can_focus(tab_list_button, FALSE); gtk_widget_set_tooltip_text(tab_list_button, "Tab list"); gtk_notebook_set_action_widget(GTK_NOTEBOOK(notebook), tab_list_button, GTK_PACK_END); |