From 14be50839ed798b3499bb83f6b97bdbcc045fea4 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 9 Nov 2020 19:54:17 -0500 Subject: [PATCH] gtk-demo: Improve consistency Make the shortcut triggers demo big enough to not ellipsize the window title. --- demos/gtk-demo/shortcut_triggers.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/demos/gtk-demo/shortcut_triggers.c b/demos/gtk-demo/shortcut_triggers.c index 44b8839ca7..d5cb8627ab 100644 --- a/demos/gtk-demo/shortcut_triggers.c +++ b/demos/gtk-demo/shortcut_triggers.c @@ -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 ();