aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail/e-mail-shell-content.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-08-27 06:51:47 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-08-28 05:35:21 +0800
commite1efca844727d9dc06b9d721be8434c1ffaf3fa7 (patch)
treef6c19d8f12a420112e6bd6b0e7f9b8b4ace3dd11 /modules/mail/e-mail-shell-content.h
parent029b6cde2c9eb3854e72ccfa7dd590c5b5741098 (diff)
downloadgsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar.gz
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar.bz2
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar.lz
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar.xz
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.tar.zst
gsoc2013-evolution-e1efca844727d9dc06b9d721be8434c1ffaf3fa7.zip
Fix preview pane size persistance.
The new packing style broke preview pane size restoration at startup. The fix is to store the size of the bottom GtkPaned child instead of the top child. Unfortunately GtkPaned does not make this easy. Will have to repeat this procedure for the other preview panes.
Diffstat (limited to 'modules/mail/e-mail-shell-content.h')
-rw-r--r--modules/mail/e-mail-shell-content.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-content.h b/modules/mail/e-mail-shell-content.h
index 57d2438705..48a0f9e234 100644
--- a/modules/mail/e-mail-shell-content.h
+++ b/modules/mail/e-mail-shell-content.h
@@ -65,6 +65,11 @@ GType e_mail_shell_content_get_type (void);
void e_mail_shell_content_register_type
(GTypeModule *type_module);
GtkWidget * e_mail_shell_content_new(EShellView *shell_view);
+gint e_mail_shell_content_get_preview_size
+ (EMailShellContent *mail_shell_content);
+void e_mail_shell_content_set_preview_size
+ (EMailShellContent *mail_shell_content,
+ gint preview_size);
gboolean e_mail_shell_content_get_preview_visible
(EMailShellContent *mail_shell_content);
void e_mail_shell_content_set_preview_visible