aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/text/e-entry.c
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-entry.c
parent53c65079e3a8cf17e3795bf27c8fa6886af030e6 (diff)
downloadgsoc2013-evolution-708189441c0ec0c6e68a8489e5480bb62a83024c.tar.gz
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-entry.c')
-rw-r--r--widgets/text/e-entry.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/text/e-entry.c b/widgets/text/e-entry.c
index 2bcf165e0b..085a3a1a52 100644
--- a/widgets/text/e-entry.c
+++ b/widgets/text/e-entry.c
@@ -335,6 +335,7 @@ e_entry_init (GtkObject *object)
"editable", TRUE,
"allow_newlines", FALSE,
"im_context", E_CANVAS (entry->canvas)->im_context,
+ "handle_popup", TRUE,
NULL));
g_signal_connect (entry->item,