diff options
-rw-r--r-- | executive-summary/ChangeLog | 5 | ||||
-rw-r--r-- | executive-summary/component/e-summary.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/executive-summary/ChangeLog b/executive-summary/ChangeLog index 6b3aa16e34..4674ca6635 100644 --- a/executive-summary/ChangeLog +++ b/executive-summary/ChangeLog @@ -1,3 +1,8 @@ +2000-11-21 Radek Doulik <rodo@helixcode.com> + + * component/e-summary.c (e_summary_rebuild_page): use html_engine_is_selection_active + added some includes + 2000-11-11 Matt Bissiri <bissiri@eecs.umich.edu> * component/e-summary-factory.c: (control_activate_cb), diff --git a/executive-summary/component/e-summary.c b/executive-summary/component/e-summary.c index 46ea9cbae1..f8de1752be 100644 --- a/executive-summary/component/e-summary.c +++ b/executive-summary/component/e-summary.c @@ -29,7 +29,10 @@ #include <bonobo.h> #include <gtkhtml/gtkhtml.h> +#include <gtkhtml/gtkhtml-embedded.h> #include <gtkhtml/gtkhtml-stream.h> +#include <gtkhtml/htmlengine.h> +#include <gtkhtml/htmlselection.h> #include <gal/util/e-util.h> #include "e-summary.h" @@ -346,7 +349,7 @@ e_summary_rebuild_page (ESummary *esummary) /* If there is a selection, don't redraw the page so that the selection isn't cleared */ if (GTK_HTML (priv->html)->in_selection == TRUE || - GTK_HTML (priv->html)->engine->active_selection == TRUE) + html_engine_is_selection_active (GTK_HTML (priv->html)->engine) == TRUE) return TRUE; gtk_layout_freeze (GTK_LAYOUT (priv->html)); |