[evolution] EMFolderSelector: Add an activity bar.



commit b1be80447d77051a5e589319e048fb152393b790
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Mar 26 18:03:57 2014 -0400

    EMFolderSelector: Add an activity bar.

 mail/em-folder-selector.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/mail/em-folder-selector.c b/mail/em-folder-selector.c
index a62d073..3c68393 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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]