diff options
-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 |