From 28d1b270ab69a0bdd4a555d30c3f76406f47e15a Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Thu, 3 Feb 2011 10:45:03 +0100 Subject: Bug #641011 - Ugly appointment editing windows --- calendar/gui/dialogs/comp-editor.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'calendar') 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 ( -- cgit v1.2.3