aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-text.h
diff options
context:
space:
mode:
authorChris Toshok <toshok@ximian.com>2003-04-04 07:31:22 +0800
committerChris Toshok <toshok@src.gnome.org>2003-04-04 07:31:22 +0800
commit708189441c0ec0c6e68a8489e5480bb62a83024c (patch)
treeeeb94da7dff3d328c1d17757c8f4bb357dd9d556 /widgets/text/e-text.h
parent53c65079e3a8cf17e3795bf27c8fa6886af030e6 (diff)
downloadgsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.gz
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.bz2
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.lz
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.xz
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.zst
gsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.zip
set handle_popup to TRUE on the EText.
2003-04-03 Chris Toshok <toshok@ximian.com> * gal/e-text/e-entry.c (e_entry_init): set handle_popup to TRUE on the EText. * gal/e-text/e-text.c (e_text_set_property): add setter for handle_popup. (e_text_get_property): add getter for handle_popup. (e_text_event): only do our special popup handling if handle_popup is true. otherwise, pass the event along. (e_text_class_init): install the handle_popup property. (e_text_init): init handle_popup to FALSE, so we get default behavior in most cases. * gal/e-text/e-text.h: add "handle_popup" field, so the user of an EText can decide whether to handle popups themselves. svn path=/trunk/; revision=20664
Diffstat (limited to 'widgets/text/e-text.h')
-rw-r--r--widgets/text/e-text.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/widgets/text/e-text.h b/widgets/text/e-text.h
index c40dad4ea3..a0224969bb 100644
--- a/widgets/text/e-text.h
+++ b/widgets/text/e-text.h
@@ -211,10 +211,12 @@ struct _EText {
guint32 last_time_request; /* The time of the last selection request. */
GdkAtom last_selection_request; /* The time of the last selection request. */
GList *queued_requests; /* Queued selection requests. */
-
+
GtkIMContext *im_context;
gboolean need_im_reset;
gboolean im_context_signals_registered;
+
+ gboolean handle_popup;
};
struct _ETextClass {