[emerillon/gtk3] preferences: expand the notebook inside dialog
- From: Andreas Henriksson <ah src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [emerillon/gtk3] preferences: expand the notebook inside dialog
- Date: Fri, 5 Aug 2011 01:30:57 +0000 (UTC)
commit 39122e584d63baabd2996a26d161d77e3ce13584
Author: Andreas Henriksson <andreas fatal se>
Date: Thu Aug 4 22:42:19 2011 +0200
preferences: expand the notebook inside dialog
Set the expand property to make the plugins tab use
all the available dialog space.
emerillon/preferences.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/emerillon/preferences.c b/emerillon/preferences.c
index d399f67..0e2ff44 100644
--- a/emerillon/preferences.c
+++ b/emerillon/preferences.c
@@ -140,7 +140,8 @@ build_ui (EmerillonPreferences *self)
area = gtk_dialog_get_content_area (dialog);
notebook = gtk_notebook_new ();
- gtk_container_add (GTK_CONTAINER (area), notebook);
+ gtk_container_add_with_properties (GTK_CONTAINER (area), notebook,
+ "expand", TRUE, NULL);
gtk_container_set_border_width (GTK_CONTAINER (notebook), 5);
build_plugin_tab (GTK_NOTEBOOK (notebook));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]