diff options
author | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-04-20 12:57:33 +0800 |
---|---|---|
committer | Srinivasa Ragavan <sragavan@src.gnome.org> | 2007-04-20 12:57:33 +0800 |
commit | df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e (patch) | |
tree | 244b699580a5d8de280fb637a648feffaf9860c0 /mail | |
parent | 64977cb1bcc55bf4c7c0fc38cd3d047b1e6a25c6 (diff) | |
download | gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.gz gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.bz2 gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.lz gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.xz gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.tar.zst gsoc2013-evolution-df62a1bd156aa5ae0dc9f061999a2f3d1dd7519e.zip |
Fix for bug #353662
svn path=/trunk/; revision=33434
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 5 | ||||
-rw-r--r-- | mail/em-composer-prefs.c | 12 |
2 files changed, 13 insertions, 4 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2b73bf38af..4d5e57fc59 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,8 @@ +2007-04-20 Srinivasa Ragavan <sragavan@novell.com> + + * em-composer-prefs.c: (signature_key_press): Fix for bug #353662 + from Baris Cicek. + 2007-04-19 Matthew Barnes <mbarnes@redhat.com> ** Fixes part of bug #429422 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 |