diff options
author | Milan Crha <mcrha@redhat.com> | 2011-02-03 17:45:03 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-02-03 17:45:03 +0800 |
commit | 0478e01708ab2460901f7a2fb8cae749a4e85c45 (patch) | |
tree | 7767de9296894aeab524ea78392c35ac1a7dfdf6 /calendar/gui/dialogs | |
parent | 93a51af22567bdddf3978716791f0be2e1dd2656 (diff) | |
download | gsoc2013-evolution-0478e01708ab2460901f7a2fb8cae749a4e85c45.tar.gz gsoc2013-evolution-0478e01708ab2460901f7a2fb8cae749a4e85c45.tar.zst gsoc2013-evolution-0478e01708ab2460901f7a2fb8cae749a4e85c45.zip |
Bug #641011 - Ugly appointment editing windows
Diffstat (limited to 'calendar/gui/dialogs')
-rw-r--r-- | calendar/gui/dialogs/comp-editor.c | 8 |
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 ( |