diff options
author | Radek Doulik <rodo@helixcode.com> | 2000-11-21 19:16:53 +0800 |
---|---|---|
committer | Radek Doulik <rodo@src.gnome.org> | 2000-11-21 19:16:53 +0800 |
commit | b8452fdfac8b6b076fc1576a3ee1090cf5f38c75 (patch) | |
tree | 6ce7a76348ce903d777ad5e19ab0fc9a7f435125 | |
parent | 587d706eeac40e84bb7eddf3de2a5c3c5b08b558 (diff) | |
download | gsoc2013-evolution-b8452fdfac8b6b076fc1576a3ee1090cf5f38c75.tar.gz gsoc2013-evolution-b8452fdfac8b6b076fc1576a3ee1090cf5f38c75.tar.zst gsoc2013-evolution-b8452fdfac8b6b076fc1576a3ee1090cf5f38c75.zip |
use html_engine_is_selection_active added some includes
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
svn path=/trunk/; revision=6626
-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)); |