aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--shell/ChangeLog9
-rw-r--r--shell/e-shell-view-menu.c12
-rw-r--r--shell/e-shell-view.c5
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;
}