aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-tree.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-24 23:02:59 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:42:19 +0800
commit672132f8a0098b029cf999f79b605058ee8796d1 (patch)
tree2b7f595151b54577ae6b4d4ccc494efdc58b10a2 /mail/em-folder-tree.h
parent8decdbc4cb82c5cda0df7f5f251832f3e8f06e4f (diff)
downloadgsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.tar.gz
gsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.tar.zst
gsoc2013-evolution-672132f8a0098b029cf999f79b605058ee8796d1.zip
EMFolderTree: Add an EAlertSink property.
Now EMFolderTree has access to both an EShellBackend and an EAlertSink; everything it needs to build and submit EActivity instances.
Diffstat (limited to 'mail/em-folder-tree.h')
-rw-r--r--mail/em-folder-tree.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/mail/em-folder-tree.h b/mail/em-folder-tree.h
index 9b94fe77c4..d2cd643d37 100644
--- a/mail/em-folder-tree.h
+++ b/mail/em-folder-tree.h
@@ -25,6 +25,7 @@
#define EM_FOLDER_TREE_H
#include <gtk/gtk.h>
+#include <e-util/e-alert-sink.h>
#include <mail/e-mail-backend.h>
#include <mail/em-folder-tree-model.h>
@@ -89,11 +90,13 @@ struct _EMFolderTreeClass {
};
GType em_folder_tree_get_type (void);
-GtkWidget * em_folder_tree_new (EMailBackend *backend);
+GtkWidget * em_folder_tree_new (EMailBackend *backend,
+ EAlertSink *alert_sink);
PangoEllipsizeMode
em_folder_tree_get_ellipsize (EMFolderTree *folder_tree);
void em_folder_tree_set_ellipsize (EMFolderTree *folder_tree,
PangoEllipsizeMode ellipsize);
+EAlertSink * em_folder_tree_get_alert_sink (EMFolderTree *folder_tree);
EMailBackend * em_folder_tree_get_backend (EMFolderTree *folder_tree);
void em_folder_tree_enable_drag_and_drop
(EMFolderTree *folder_tree);