aboutsummaryrefslogtreecommitdiffstats
path: root/composer
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 /composer
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 'composer')
-rw-r--r--composer/e-msg-composer.c22
-rw-r--r--composer/e-msg-composer.h2
2 files changed, 12 insertions, 12 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index eccab36641..a6ff4c39bc 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -54,6 +54,7 @@
#include <glib/gunicode.h>
#include <gtk/gtkoptionmenu.h>
+#include <gtk/gtkscrolledwindow.h>
#include <gconf/gconf.h>
#include <gconf/gconf-client.h>
@@ -73,7 +74,6 @@
#include <glade/glade.h>
#include <gal/widgets/e-gui-utils.h>
-#include <gal/widgets/e-scroll-frame.h>
#include <gal/e-text/e-entry.h>
#include <gal/util/e-iconv.h>
@@ -1124,10 +1124,10 @@ show_attachments (EMsgComposer *composer,
gboolean show)
{
if (show) {
- gtk_widget_show (composer->attachment_scroll_frame);
+ gtk_widget_show (composer->attachment_scrolled_window);
gtk_widget_show (composer->attachment_bar);
} else {
- gtk_widget_hide (composer->attachment_scroll_frame);
+ gtk_widget_hide (composer->attachment_scrolled_window);
gtk_widget_hide (composer->attachment_bar);
}
@@ -2569,7 +2569,7 @@ init (EMsgComposer *composer)
composer->address_dialog = NULL;
composer->attachment_bar = NULL;
- composer->attachment_scroll_frame = NULL;
+ composer->attachment_scrolled_window = NULL;
composer->persist_file_interface = CORBA_OBJECT_NIL;
composer->persist_stream_interface = CORBA_OBJECT_NIL;
@@ -2830,18 +2830,18 @@ create_composer (int visible_mask)
/* Attachment editor, wrapped into an EScrollFrame. We don't
show it for now. */
- composer->attachment_scroll_frame = e_scroll_frame_new (NULL, NULL);
- e_scroll_frame_set_shadow_type (E_SCROLL_FRAME (composer->attachment_scroll_frame),
- GTK_SHADOW_IN);
- e_scroll_frame_set_policy (E_SCROLL_FRAME (composer->attachment_scroll_frame),
- GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
+ composer->attachment_scrolled_window = gtk_scrolled_window_new (NULL, NULL);
+ gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (composer->attachment_scrolled_window),
+ GTK_SHADOW_IN);
+ gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (composer->attachment_scrolled_window),
+ GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
composer->attachment_bar = e_msg_composer_attachment_bar_new (NULL);
GTK_WIDGET_SET_FLAGS (composer->attachment_bar, GTK_CAN_FOCUS);
- gtk_container_add (GTK_CONTAINER (composer->attachment_scroll_frame),
+ gtk_container_add (GTK_CONTAINER (composer->attachment_scrolled_window),
composer->attachment_bar);
gtk_box_pack_start (GTK_BOX (vbox),
- composer->attachment_scroll_frame,
+ composer->attachment_scrolled_window,
FALSE, FALSE, GNOME_PAD_SMALL);
g_signal_connect (composer->attachment_bar, "changed",
diff --git a/composer/e-msg-composer.h b/composer/e-msg-composer.h
index d064d3485f..21a1d6dc41 100644
--- a/composer/e-msg-composer.h
+++ b/composer/e-msg-composer.h
@@ -62,7 +62,7 @@ struct _EMsgComposer {
GtkWidget *editor;
GtkWidget *attachment_bar;
- GtkWidget *attachment_scroll_frame;
+ GtkWidget *attachment_scrolled_window;
GtkWidget *address_dialog;