diff options
author | Dan Winship <danw@src.gnome.org> | 2002-09-14 01:06:50 +0800 |
---|---|---|
committer | Dan Winship <danw@src.gnome.org> | 2002-09-14 01:06:50 +0800 |
commit | 0d8295135ddb37d16c359beabf4cb2ee4e3792b2 (patch) | |
tree | 784e1862a62696c34443230bcd6dc80ebb7763d9 /mail/folder-browser.c | |
parent | 7a75b05d6b10257321621f3f87c70c53be56b727 (diff) | |
download | gsoc2013-evolution-0d8295135ddb37d16c359beabf4cb2ee4e3792b2.tar.gz gsoc2013-evolution-0d8295135ddb37d16c359beabf4cb2ee4e3792b2.tar.zst gsoc2013-evolution-0d8295135ddb37d16c359beabf4cb2ee4e3792b2.zip |
If the vpaned isn't realized, don't call mail_config_set_paned_size. Fixes
* folder-browser.c (fb_resize_cb): If the vpaned isn't realized,
don't call mail_config_set_paned_size. Fixes a problem with the
saved pane size being repeatedly lost (#29933)
svn path=/trunk/; revision=18064
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index 008d62dd8d..56605dc2ab 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -2275,7 +2275,7 @@ on_selection_changed (GtkObject *obj, gpointer user_data) static void fb_resize_cb (GtkWidget *w, GtkAllocation *a, FolderBrowser *fb) { - if (fb->preview_shown) + if (GTK_WIDGET_REALIZED (w) && fb->preview_shown) mail_config_set_paned_size (a->height); } |