aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-prefs.c
diff options
context:
space:
mode:
authorSrinivasa Ragavan <sragavan@src.gnome.org>2007-04-20 12:57:33 +0800
committerSrinivasa Ragavan <sragavan@src.gnome.org>2007-04-20 12:57:33 +0800
commitdf62a1bd156aa5ae0dc9f061999a2f3d1dd7519e (patch)
tree244b699580a5d8de280fb637a648feffaf9860c0 /mail/em-composer-prefs.c
parent64977cb1bcc55bf4c7c0fc38cd3d047b1e6a25c6 (diff)
downloadgsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.gz
gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.zst
gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.zip
Fix for bug #353662
svn path=/trunk/; revision=33434
Diffstat (limited to 'mail/em-composer-prefs.c')
-rw-r--r--mail/em-composer-prefs.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/mail/em-composer-prefs.c b/mail/em-composer-prefs.c
index 96813058ea..b37a3ff628 100644
--- a/mail/em-composer-prefs.c
+++ b/mail/em-composer-prefs.c
@@ -837,14 +837,18 @@ emcp_free(EConfig *ec, GSList *items, void *data)
g_slist_free(items);
}
-static void
+static gboolean
signature_key_press (GtkTreeView *tree_view, GdkEventKey *event, EMComposerPrefs *prefs)
-{
+{
+ gboolean ret = FALSE;
+
/* No need to care about anything other than DEL key */
- if (event->keyval == GDK_Delete)
+ if (event->keyval == GDK_Delete) {
sig_delete_cb ((GtkWidget *)tree_view, prefs);
+ ret = TRUE;
+ }
- return ;
+ return ret;
}
static gboolean