From 5cbb876604b359b367e4bd76ff2bb20eefbca27b Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 21 Sep 2004 19:16:22 +0000 Subject: Quiet debug messages. 2004-09-21 William Jon McCann * gui/component/component-factory.c (factory): Quiet debug messages. * gui/widgets/e-addressbook-view.c (eab_view_new): Remove unnecessary label widget placeholder. Make vertical scrollbar policy automatic. Use gtk_paned_add2 instead of gtk_container_add. * gui/component/apps_evolution_addressbook.schemas.in.in: Add missing show_preview schema. Add missing long descriptions. svn path=/trunk/; revision=27325 --- addressbook/gui/widgets/e-addressbook-view.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to 'addressbook/gui/widgets') diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 236b53f16f..518daefd10 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -480,16 +480,12 @@ eab_view_new (void) g_signal_connect_swapped (eav->paned, "button_release_event", G_CALLBACK (get_paned_position), eav); - eav->widget = gtk_label_new ("empty label here"); - gtk_container_add (GTK_CONTAINER (eav->paned), eav->widget); - gtk_widget_show (eav->widget); - eav->contact_display = eab_contact_display_new (); eav->contact_display_window = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (eav->contact_display_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_ALWAYS); + gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (eav->contact_display_window), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (eav->contact_display_window), GTK_SHADOW_IN); gtk_container_add (GTK_CONTAINER (eav->contact_display_window), eav->contact_display); - gtk_container_add (GTK_CONTAINER (eav->paned), eav->contact_display_window); + gtk_paned_add2 (GTK_PANED (eav->paned), eav->contact_display_window); gtk_widget_show (eav->contact_display); gtk_widget_show (eav->contact_display_window); gtk_widget_show (eav->paned); -- cgit