From d8da9efe02107489d90c89f7e3d5d6250010362c Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 5 Dec 2016 23:00:59 +0300 Subject: session properties: fix vertical expand of content with window resize taken from: https://git.gnome.org/browse/gnome-session/commit/?id=5b87d78f1b4b8759a57d0935d5423ebf153d80d8 well, our notebook wasn't small (unlike it's noted upstream), but vertical expand didn't work anyway. now it should work. --- capplet/gsm-properties-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capplet/gsm-properties-dialog.c b/capplet/gsm-properties-dialog.c index 6d75e0a..cc049a4 100644 --- a/capplet/gsm-properties-dialog.c +++ b/capplet/gsm-properties-dialog.c @@ -732,7 +732,7 @@ gsm_properties_dialog_init (GsmPropertiesDialog *dialog) content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); widget = GTK_WIDGET (gtk_builder_get_object (dialog->priv->xml, "main-notebook")); - gtk_container_add (GTK_CONTAINER (content_area), widget); + gtk_box_pack_start (GTK_BOX (content_area), widget, TRUE, TRUE, 0); gtk_window_set_resizable (GTK_WINDOW (dialog), TRUE); gtk_container_set_border_width (GTK_CONTAINER (dialog), 6); -- cgit v1.2.1