commit: 4abe749dc6a37789f723551c0173f5ad865c2a29
parent: aa12734c147f4112ede7f3188f6257660a0aa31f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Sat, 9 Mar 2019 13:50:36 +0100
badwolf.c: Set "browser" window role
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/badwolf.c b/badwolf.c
@@ -347,6 +347,8 @@ int main(int argc, char *argv[])
window->notebook = gtk_notebook_new();
window->new_tab = gtk_button_new_from_icon_name("tab-new", GTK_ICON_SIZE_SMALL_TOOLBAR);
+ gtk_window_set_role(window->main_window, "browser");
+
gtk_notebook_set_action_widget(GTK_NOTEBOOK(window->notebook), window->new_tab, GTK_PACK_END);
gtk_notebook_set_scrollable(GTK_NOTEBOOK(window->notebook), TRUE);