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:
Matthias Clasen
2013-12-13 00:38:36 -05:00
parent 04897e5b09
commit abe994f1d7

View File

@ -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));