diff options
author | Rodney Dawes <dobey@ximian.com> | 2004-02-07 07:03:23 +0800 |
---|---|---|
committer | Rodney Dawes <dobey@src.gnome.org> | 2004-02-07 07:03:23 +0800 |
commit | 4201992af7d159867490f7c58ec6e9aee4e9bffb (patch) | |
tree | 48aa459c094a8115abb16471b5f9f1ee4cfd193e /addressbook/gui | |
parent | 37275272729828d0b79da8f03878e21e9098099a (diff) | |
download | gsoc2013-evolution-4201992af7d159867490f7c58ec6e9aee4e9bffb.tar.gz gsoc2013-evolution-4201992af7d159867490f7c58ec6e9aee4e9bffb.tar.zst gsoc2013-evolution-4201992af7d159867490f7c58ec6e9aee4e9bffb.zip |
Hide the border on the notebook also Don't pack another scrolled window
2004-02-06 Rodney Dawes <dobey@ximian.com>
* gui/component/addressbook.c (addressbook_new_control): Hide the
border on the notebook also
* gui/widgets/e-addressbook-view.c (eab_view_new): Don't pack another
scrolled window inside of a scrolled window, just pack the contact
display inside the paned, since it already has a scrolled window
svn path=/trunk/; revision=24664
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 */ |