aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text
diff options
context:
space:
mode:
authorRadek Doulik <rodo@src.gnome.org>2003-02-05 03:01:48 +0800
committerRadek Doulik <rodo@src.gnome.org>2003-02-05 03:01:48 +0800
commit9a00cb72159c2bc69f4b76fc211479ffa6f4c83f (patch)
tree6dbd19c7c4cfce5f5f5adb76b2fcd1596ee2bbd6 /widgets/text
parent7159321621277c024148a9ad063ffa07e3e039bf (diff)
downloadgsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.tar.gz
gsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.tar.zst
gsoc2013-evolution-9a00cb72159c2bc69f4b76fc211479ffa6f4c83f.zip
replaced e scroll frame with gtk scrolled window
svn path=/trunk/; revision=19735
Diffstat (limited to 'widgets/text')
-rw-r--r--widgets/text/e-completion-view.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/widgets/text/e-completion-view.c b/widgets/text/e-completion-view.c
index cfee21aae9..774e73cd17 100644
--- a/widgets/text/e-completion-view.c
+++ b/widgets/text/e-completion-view.c
@@ -381,7 +381,7 @@ e_completion_view_set_cursor_row (ECompletionView *cv, gint r)
}
#endif
- adj = e_scroll_frame_get_vadjustment (E_SCROLL_FRAME (cv->table));
+ adj = gtk_scrolled_window_get_vadjustment (GTK_SCROLLED_WINDOW (cv->table));
table = e_completion_view_table (cv);
@@ -801,9 +801,8 @@ e_completion_view_construct (ECompletionView *cv, ECompletion *completion)
cv->table = e_table_scrolled_new (cv->model, NULL, simple_spec, NULL);
g_object_unref (cv->model);
- e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (cv->table), GTK_SHADOW_NONE);
- e_scroll_frame_set_scrollbar_spacing (E_SCROLL_FRAME (cv->table), 0);
- e_scroll_frame_set_policy (E_SCROLL_FRAME (cv->table), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (cv->table), GTK_SHADOW_NONE);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (cv->table), GTK_POLICY_NEVER, GTK_POLICY_AUTOMATIC);
gtk_container_add (GTK_CONTAINER (cv), cv->table);
gtk_widget_show_all (cv->table);