diff options
Diffstat (limited to 'addressbook/gui')
-rw-r--r-- | addressbook/gui/component/addressbook.c | 1 | ||||
-rw-r--r-- | addressbook/gui/widgets/e-addressbook-view.c | 8 |
2 files changed, 2 insertions, 7 deletions
diff --git a/addressbook/gui/component/addressbook.c b/addressbook/gui/component/addressbook.c index dcf85d9d79..372767f043 100644 --- a/addressbook/gui/component/addressbook.c +++ b/addressbook/gui/component/addressbook.c @@ -1054,6 +1054,7 @@ addressbook_new_control (void) view->notebook = gtk_notebook_new (); gtk_notebook_set_show_tabs (GTK_NOTEBOOK (view->notebook), FALSE); + gtk_notebook_set_show_border (GTK_NOTEBOOK (view->notebook), FALSE); g_object_weak_ref (G_OBJECT (view->notebook), destroy_callback, view); diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c index 1738067873..4e87fce964 100644 --- a/addressbook/gui/widgets/e-addressbook-view.c +++ b/addressbook/gui/widgets/e-addressbook-view.c @@ -446,16 +446,10 @@ eab_view_new (void) gtk_container_add (GTK_CONTAINER (eav->paned), eav->widget); gtk_widget_show (eav->widget); - eav->scrolled = gtk_scrolled_window_new (NULL, NULL); - gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (eav->scrolled), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC); - gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (eav->scrolled), GTK_SHADOW_IN); eav->contact_display = eab_contact_display_new (); - - gtk_scrolled_window_add_with_viewport (GTK_SCROLLED_WINDOW (eav->scrolled), eav->contact_display); + gtk_container_add (GTK_CONTAINER (eav->paned), eav->contact_display); gtk_widget_show (eav->contact_display); - gtk_container_add (GTK_CONTAINER (eav->paned), eav->scrolled); - gtk_widget_show (eav->scrolled); gtk_widget_show (eav->paned); /* gtk selection crap */ |