aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-shell-view.c
diff options
context:
space:
mode:
authorMichael Meeks <michael@helixcode.com>2000-10-06 08:05:25 +0800
committerMichael Meeks <mmeeks@src.gnome.org>2000-10-06 08:05:25 +0800
commitb6e23a317f7dd0461042c0c0b3d63e39d54826bf (patch)
tree803ffde1201aad5c640ecdec7c4f2cff347a56ee /shell/e-shell-view.c
parent00a9e302ae4dff489ee1056b04979db20bb49358 (diff)
downloadgsoc2013-evolution-b6e23a317f7dd0461042c0c0b3d63e39d54826bf.tar.gz
gsoc2013-evolution-b6e23a317f7dd0461042c0c0b3d63e39d54826bf.tar.zst
gsoc2013-evolution-b6e23a317f7dd0461042c0c0b3d63e39d54826bf.zip
add a freeze / thaw pair to reduce flicker on switching controls.
2000-10-06 Michael Meeks <michael@helixcode.com> * e-shell-view.c (e_shell_view_display_uri): add a freeze / thaw pair to reduce flicker on switching controls. 2000-10-05 Michael Meeks <michael@helixcode.com> * e-shell-view-menu.c (command_xml_dump): fix. svn path=/trunk/; revision=5757
Diffstat (limited to 'shell/e-shell-view.c')
-rw-r--r--shell/e-shell-view.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/shell/e-shell-view.c b/shell/e-shell-view.c
index 6802e2008a..b748347a40 100644
--- a/shell/e-shell-view.c
+++ b/shell/e-shell-view.c
@@ -1208,6 +1208,8 @@ e_shell_view_display_uri (EShellView *shell_view,
priv = shell_view->priv;
+ bonobo_win_freeze (BONOBO_WIN (shell_view));
+
if (uri == NULL) {
gtk_notebook_remove_page (GTK_NOTEBOOK (priv->notebook), 0);
gtk_notebook_prepend_page (GTK_NOTEBOOK (priv->notebook), create_label_for_empty_page (), NULL);
@@ -1248,6 +1250,9 @@ e_shell_view_display_uri (EShellView *shell_view,
end:
update_for_current_uri (shell_view);
+
+ bonobo_win_thaw (BONOBO_WIN (shell_view));
+
return retval;
}