diff options
author | Michael Meeks <michael@helixcode.com> | 2000-10-06 08:05:25 +0800 |
---|---|---|
committer | Michael Meeks <mmeeks@src.gnome.org> | 2000-10-06 08:05:25 +0800 |
commit | b6e23a317f7dd0461042c0c0b3d63e39d54826bf (patch) | |
tree | 803ffde1201aad5c640ecdec7c4f2cff347a56ee /shell | |
parent | 00a9e302ae4dff489ee1056b04979db20bb49358 (diff) | |
download | gsoc2013-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')
-rw-r--r-- | shell/ChangeLog | 9 | ||||
-rw-r--r-- | shell/e-shell-view-menu.c | 12 | ||||
-rw-r--r-- | shell/e-shell-view.c | 5 |
3 files changed, 15 insertions, 11 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index d1f49e9166..dee815ce2f 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,12 @@ +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. + 2000-10-05 Chris Toshok <toshok@helixcode.com> * e-shell-folder-creation-dialog.c: #include <gal/widgets/e-gui-utils.h> diff --git a/shell/e-shell-view-menu.c b/shell/e-shell-view-menu.c index dd7c244692..61154d77ff 100644 --- a/shell/e-shell-view-menu.c +++ b/shell/e-shell-view-menu.c @@ -363,17 +363,7 @@ static void command_xml_dump (gpointer dummy, EShellView *view) { -#if 0 - BonoboUIHandler *uih; - BonoboWin *win; - - uih = e_shell_view_get_bonobo_ui_component (view); - - win = bonobo_ui_handler_get_app (uih); - - bonobo_win_dump (win, "On demand"); -#endif - g_warning ("FIXME: to re-instate debugging dump we need to get the container"); + bonobo_win_dump (BONOBO_WIN (view), "On demand"); } 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; } |