summaryrefslogtreecommitdiff
path: root/capplet
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-12-05 23:00:59 +0300
committerraveit65 <[email protected]>2016-12-23 23:07:11 +0100
commitd8da9efe02107489d90c89f7e3d5d6250010362c (patch)
tree50d69e393944f8034802fcf082907849755cddda /capplet
parentf3a3f364401ed92426de91ed2d48b8adc8e5e534 (diff)
downloadmate-session-manager-d8da9efe02107489d90c89f7e3d5d6250010362c.tar.bz2
mate-session-manager-d8da9efe02107489d90c89f7e3d5d6250010362c.tar.xz
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.
Diffstat (limited to 'capplet')
-rw-r--r--capplet/gsm-properties-dialog.c2
1 files changed, 1 insertions, 1 deletions
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);