[gnome-session] session-properties: fix notebook expand
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] session-properties: fix notebook expand
- Date: Mon, 15 Nov 2010 16:52:49 +0000 (UTC)
commit 5b87d78f1b4b8759a57d0935d5423ebf153d80d8
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Mon Nov 15 17:36:10 2010 +0100
session-properties: fix notebook expand
It looks incredibly small without this tweak, probably due to some
changed in GTK3.
https://bugzilla.gnome.org/show_bug.cgi?id=634922
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 e95f94d..1410bdd 100644
--- a/capplet/gsm-properties-dialog.c
+++ b/capplet/gsm-properties-dialog.c
@@ -782,7 +782,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]