diff options
author | Srinivasa Ragavan <sragavan@novell.com> | 2009-06-11 19:10:11 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@novell.com> | 2009-06-11 19:10:11 +0800 |
commit | 1db4cae4fed89733f824801a67847da277a5c255 (patch) | |
tree | 554d7ac4946fe6dee6de9e9a810b026ee588a143 /widgets | |
parent | 092f2831d12bba9ef6e17c2ced2f52798ffe28a1 (diff) | |
download | gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar.gz gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar.bz2 gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar.lz gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar.xz gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.tar.zst gsoc2013-evolution-1db4cae4fed89733f824801a67847da277a5c255.zip |
Added couple of APIS for EAttachmentPaned to hide combo and get the
widget's container.
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/misc/e-attachment-paned.c | 15 | ||||
-rw-r--r-- | widgets/misc/e-attachment-paned.h | 4 |
2 files changed, 19 insertions, 0 deletions
diff --git a/widgets/misc/e-attachment-paned.c b/widgets/misc/e-attachment-paned.c index a88f9fa8b2..a65d1c6ea4 100644 --- a/widgets/misc/e-attachment-paned.c +++ b/widgets/misc/e-attachment-paned.c @@ -45,6 +45,7 @@ struct _EAttachmentPanedPrivate { GtkWidget *expander; GtkWidget *notebook; GtkWidget *combo_box; + GtkWidget *controls_container; GtkWidget *icon_view; GtkWidget *tree_view; GtkWidget *show_hide_label; @@ -574,6 +575,7 @@ attachment_paned_init (EAttachmentPaned *paned) widget = gtk_hbox_new (FALSE, 6); gtk_box_pack_end (GTK_BOX (container), widget, FALSE, FALSE, 0); + paned->priv->controls_container = widget; gtk_widget_show (widget); container = widget; @@ -775,3 +777,16 @@ e_attachment_paned_drag_data_received (EAttachmentPaned *paned, paned->priv->icon_view, "drag-data-received", context, x, y, selection, info, time); } + +GtkWidget * +e_attachment_paned_get_controls_container (EAttachmentPaned *paned) +{ + return paned->priv->controls_container; +} + +GtkWidget * +e_attachment_paned_get_view_combo (EAttachmentPaned *paned) +{ + return paned->priv->combo_box; +} + diff --git a/widgets/misc/e-attachment-paned.h b/widgets/misc/e-attachment-paned.h index 401ec581cb..c0fd7b5c54 100644 --- a/widgets/misc/e-attachment-paned.h +++ b/widgets/misc/e-attachment-paned.h @@ -78,6 +78,10 @@ void e_attachment_paned_drag_data_received GtkSelectionData *selection, guint info, guint time); +GtkWidget * e_attachment_paned_get_controls_container + (EAttachmentPaned *paned); +GtkWidget * e_attachment_paned_get_view_combo + (EAttachmentPaned *paned); G_END_DECLS |