aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-selector.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2014-03-27 06:03:57 +0800
committerMatthew Barnes <mbarnes@redhat.com>2014-03-27 08:24:34 +0800
commitb1be80447d77051a5e589319e048fb152393b790 (patch)
tree744843d8013aae1afa539b6943fb0f4ff8178cc7 /mail/em-folder-selector.c
parenta9465c3506ae0310751b5f1503117f0eb8350b4b (diff)
downloadgsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar.gz
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar.bz2
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar.lz
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar.xz
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.tar.zst
gsoc2013-evolution-b1be80447d77051a5e589319e048fb152393b790.zip
EMFolderSelector: Add an activity bar.
Diffstat (limited to 'mail/em-folder-selector.c')
-rw-r--r--mail/em-folder-selector.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index a62d073e18..3c68393166 100644
--- a/mail/em-folder-selector.c
+++ b/mail/em-folder-selector.c
@@ -44,6 +44,7 @@
struct _EMFolderSelectorPrivate {
EMFolderTreeModel *model;
GtkWidget *alert_bar;
+ GtkWidget *activity_bar;
GtkWidget *caption_label;
GtkWidget *content_area;
GtkWidget *tree_view_frame;
@@ -241,6 +242,7 @@ folder_selector_dispose (GObject *object)
g_clear_object (&priv->model);
g_clear_object (&priv->alert_bar);
+ g_clear_object (&priv->activity_bar);
g_clear_object (&priv->caption_label);
g_clear_object (&priv->content_area);
g_clear_object (&priv->tree_view_frame);
@@ -319,6 +321,11 @@ folder_selector_constructed (GObject *object)
selector->priv->alert_bar = g_object_ref (widget);
/* EAlertBar controls its own visibility. */
+ widget = e_activity_bar_new ();
+ gtk_box_pack_end (GTK_BOX (container), widget, FALSE, FALSE, 0);
+ selector->priv->activity_bar = g_object_ref (widget);
+ /* EActivityBar controls its own visibility. */
+
widget = e_tree_view_frame_new ();
gtk_box_pack_end (GTK_BOX (container), widget, TRUE, TRUE, 0);
selector->priv->tree_view_frame = g_object_ref (widget);