aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/misc/e-attachment-paned.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-09-04 23:45:25 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-10-06 20:16:21 +0800
commit0e064de971dd8b5e565558cd14efdca8ae4dbcb0 (patch)
tree12e8b8975e524abeed91c6612834f7499c59cadf /widgets/misc/e-attachment-paned.h
parent224f26b84d9c12b0dd1d337f51c14b6ebb901007 (diff)
downloadgsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar.gz
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar.bz2
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar.lz
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar.xz
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.tar.zst
gsoc2013-evolution-0e064de971dd8b5e565558cd14efdca8ae4dbcb0.zip
EAttachmentPaned: Add "resize-toplevel" property.
Similiar to the new GtkExpander:resize-toplevel property in GTK+ 3.2, but adapted to the fact that EAttachmentPaned's expander has no direct child widget, and instead acts on the child widget in the lower pane. CompEditor now uses this to fix the weird vertical resizing behavior when its attachment bar is expanded and then collapsed again.
Diffstat (limited to 'widgets/misc/e-attachment-paned.h')
-rw-r--r--widgets/misc/e-attachment-paned.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/widgets/misc/e-attachment-paned.h b/widgets/misc/e-attachment-paned.h
index a9022a7bc6..7daffd5508 100644
--- a/widgets/misc/e-attachment-paned.h
+++ b/widgets/misc/e-attachment-paned.h
@@ -70,6 +70,11 @@ void e_attachment_paned_set_active_view
gboolean e_attachment_paned_get_expanded (EAttachmentPaned *paned);
void e_attachment_paned_set_expanded (EAttachmentPaned *paned,
gboolean expanded);
+gboolean e_attachment_paned_get_resize_toplevel
+ (EAttachmentPaned *paned);
+void e_attachment_paned_set_resize_toplevel
+ (EAttachmentPaned *paned,
+ gboolean resize_toplevel);
void e_attachment_paned_drag_data_received
(EAttachmentPaned *paned,
GdkDragContext *context,