aboutsummaryrefslogtreecommitdiffstats
path: root/addressbook
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2003-02-05 03:03:02 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-02-05 03:03:02 +0800
commita5e82f72f8c57fe3173a61bf52127990ad62ee73 (patch)
treeb1950b9561176dcadd556b4f1bbf73d1bd7a2af9 /addressbook
parent9a00cb72159c2bc69f4b76fc211479ffa6f4c83f (diff)
downloadgsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.gz
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.bz2
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.lz
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.xz
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.tar.zst
gsoc2013-evolution-a5e82f72f8c57fe3173a61bf52127990ad62ee73.zip
updated for e scroll frame --> gtk scrolled window
svn path=/trunk/; revision=19736
Diffstat (limited to 'addressbook')
-rw-r--r--addressbook/gui/contact-list-editor/e-contact-list-editor.c4
-rw-r--r--addressbook/gui/widgets/e-addressbook-view.c16
2 files changed, 10 insertions, 10 deletions
diff --git a/addressbook/gui/contact-list-editor/e-contact-list-editor.c b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
index cb6cbc4213..2459d5a157 100644
--- a/addressbook/gui/contact-list-editor/e-contact-list-editor.c
+++ b/addressbook/gui/contact-list-editor/e-contact-list-editor.c
@@ -722,7 +722,7 @@ e_contact_list_editor_create_table(gchar *name,
static void
add_email_cb (GtkWidget *w, EContactListEditor *editor)
{
- GtkAdjustment *adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (editor->table));
+ GtkAdjustment *adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (editor->table));
const char *text = gtk_entry_get_text (GTK_ENTRY(editor->email_entry));
if (text && *text) {
@@ -855,7 +855,7 @@ table_drag_data_received_cb (ETable *table, int row, int col,
GtkSelectionData *selection_data,
guint info, guint time, EContactListEditor *editor)
{
- GtkAdjustment *adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (editor->table));
+ GtkAdjustment *adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (editor->table));
char *target_type;
gboolean changed = FALSE;
diff --git a/addressbook/gui/widgets/e-addressbook-view.c b/addressbook/gui/widgets/e-addressbook-view.c
index a426153909..fd3576451e 100644
--- a/addressbook/gui/widgets/e-addressbook-view.c
+++ b/addressbook/gui/widgets/e-addressbook-view.c
@@ -25,9 +25,9 @@
#include <libgnome/gnome-i18n.h>
#include <libgnome/gnome-util.h>
+#include <gtk/gtkscrolledwindow.h>
#include <gal/e-table/e-table-scrolled.h>
#include <gal/e-table/e-table-model.h>
-#include <gal/widgets/e-scroll-frame.h>
#include <gal/widgets/e-popup-menu.h>
#include <gal/widgets/e-gui-utils.h>
#include <gal/menus/gal-view-factory-etable.h>
@@ -1125,7 +1125,7 @@ minicard_right_click (EMinicardView *minicard_view_item, GdkEvent *event, EAddre
static void
create_minicard_view (EAddressbookView *view)
{
- GtkWidget *scrollframe;
+ GtkWidget *scrolled_window;
GtkWidget *alphabet;
GtkWidget *minicard_view;
GtkWidget *minicard_hbox;
@@ -1151,15 +1151,15 @@ create_minicard_view (EAddressbookView *view)
view->object = G_OBJECT(minicard_view);
view->widget = minicard_hbox;
- scrollframe = e_scroll_frame_new (NULL, NULL);
- e_scroll_frame_set_policy (E_SCROLL_FRAME (scrollframe),
- GTK_POLICY_AUTOMATIC,
- GTK_POLICY_AUTOMATIC);
+ scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolled_window),
+ GTK_POLICY_AUTOMATIC,
+ GTK_POLICY_AUTOMATIC);
- gtk_container_add (GTK_CONTAINER (scrollframe), minicard_view);
+ gtk_container_add (GTK_CONTAINER (scrolled_window), minicard_view);
- gtk_box_pack_start(GTK_BOX(minicard_hbox), scrollframe, TRUE, TRUE, 0);
+ gtk_box_pack_start(GTK_BOX(minicard_hbox), scrolled_window, TRUE, TRUE, 0);
alphabet = create_alphabet(view);
if (alphabet) {