diff options
author | monsta <[email protected]> | 2016-12-05 23:00:59 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-12-05 23:00:59 +0300 |
commit | f15be61545192568dfcb438d3452d637f08001ab (patch) | |
tree | d9c6804cd2385b29684bb1da0ba79db0f8b717e9 | |
parent | 26f09decbcba1f43807a4d0e745b252ed7a3f284 (diff) | |
download | mate-session-manager-f15be61545192568dfcb438d3452d637f08001ab.tar.bz2 mate-session-manager-f15be61545192568dfcb438d3452d637f08001ab.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.
-rw-r--r-- | capplet/gsm-properties-dialog.c | 2 |
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); |