testtitlebar: Set a window icon
This reveals that GtkHeaderBar does not pick up window icons correctly for it menu button, currently.
This commit is contained in:
@ -47,6 +47,7 @@ activate (GApplication *gapp)
|
||||
" </menu>"
|
||||
"</interface>", -1, NULL);
|
||||
window = gtk_application_window_new (app);
|
||||
gtk_window_set_icon_name (GTK_WINDOW (window), "preferences-desktop-font");
|
||||
|
||||
menu = (GMenuModel*)gtk_builder_get_object (builder, "app-menu");
|
||||
gtk_application_add_window (app, GTK_WINDOW (window));
|
||||
|
||||
Reference in New Issue
Block a user