gtk-demo: Improve consistency

Make the shortcut triggers demo big enough
to not ellipsize the window title.
This commit is contained in:
Matthias Clasen 2020-11-09 19:54:17 -05:00
parent a85d9cda07
commit 14be50839e

View File

@ -57,6 +57,8 @@ do_shortcut_triggers (GtkWidget *do_widget)
gtk_window_set_display (GTK_WINDOW (window),
gtk_widget_get_display (do_widget));
gtk_window_set_title (GTK_WINDOW (window), "Shortcuts");
gtk_window_set_default_size (GTK_WINDOW (window), 200, -1);
gtk_window_set_resizable (GTK_WINDOW (window), FALSE);
g_object_add_weak_pointer (G_OBJECT (window), (gpointer *)&window);
list = gtk_list_box_new ();