aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/dialogs/comp-editor.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/calendar/gui/dialogs/comp-editor.c b/calendar/gui/dialogs/comp-editor.c
index 7628f7f1bb..eaecd1b8e8 100644
--- a/calendar/gui/dialogs/comp-editor.c
+++ b/calendar/gui/dialogs/comp-editor.c
@@ -2644,8 +2644,10 @@ comp_editor_append_widget (CompEditor *editor,
priv->pages = g_list_append (priv->pages, page);
- if (add)
+ if (add) {
gtk_notebook_append_page (priv->notebook, page, label_widget);
+ gtk_container_child_set (GTK_CONTAINER (priv->notebook), page, "tab-fill", FALSE, "tab-expand", FALSE, NULL);
+ }
/* Listen for when the page is mapped/unmapped so we can
install/uninstall the appropriate GtkAccelGroup.
@@ -2706,8 +2708,10 @@ comp_editor_append_page (CompEditor *editor,
priv->pages = g_list_append (priv->pages, page);
- if (add)
+ if (add) {
gtk_notebook_append_page (priv->notebook, page_widget, label_widget);
+ gtk_container_child_set (GTK_CONTAINER (priv->notebook), page_widget, "tab-fill", FALSE, "tab-expand", FALSE, NULL);
+ }
/* Listen for things happening on the page */
g_signal_connect_swapped (