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
This commit is contained in:
@ -1,3 +1,9 @@
|
||||
2002-09-13 Dan Winship <danw@ximian.com>
|
||||
|
||||
* 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)
|
||||
|
||||
2002-09-13 Dan Winship <danw@ximian.com>
|
||||
|
||||
* Mailer.idl: rename this from "Mail.idl" so that the generated .h
|
||||
|
||||
@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user