From 708189441c0ec0c6e68a8489e5480bb62a83024c Mon Sep 17 00:00:00 2001 From: Chris Toshok Date: Thu, 3 Apr 2003 23:31:22 +0000 Subject: set handle_popup to TRUE on the EText. 2003-04-03 Chris Toshok * 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 --- widgets/text/e-entry.c | 1 + 1 file changed, 1 insertion(+) (limited to 'widgets/text/e-entry.c') 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, -- cgit