aboutsummaryrefslogtreecommitdiffstats
path: root/composer
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-06-15 01:46:30 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-06-15 01:46:30 +0800
commitdadf300d4578b0b2eb367520e31e353fafc7f448 (patch)
treea60c3cfb35d7040dfd14706c5d5bd168d51df125 /composer
parent617cf62b8b75067cb9cca955427fc97c5169fd8c (diff)
downloadgsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar.gz
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar.bz2
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar.lz
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar.xz
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.tar.zst
gsoc2013-evolution-dadf300d4578b0b2eb367520e31e353fafc7f448.zip
Don't connect to the key_pressed_event. (composer_key_pressed): Removed.
2004-06-14 Jeffrey Stedfast <fejj@novell.com> * e-msg-composer.c (create_composer): Don't connect to the key_pressed_event. (composer_key_pressed): Removed. We don't want to close the compose on Escape. To do so would violate the HIG. svn path=/trunk/; revision=26339
Diffstat (limited to 'composer')
-rw-r--r--composer/ChangeLog7
-rw-r--r--composer/e-msg-composer.c16
2 files changed, 7 insertions, 16 deletions
diff --git a/composer/ChangeLog b/composer/ChangeLog
index 76f416777b..aa08e6b281 100644
--- a/composer/ChangeLog
+++ b/composer/ChangeLog
@@ -1,3 +1,10 @@
+2004-06-14 Jeffrey Stedfast <fejj@novell.com>
+
+ * e-msg-composer.c (create_composer): Don't connect to the
+ key_pressed_event.
+ (composer_key_pressed): Removed. We don't want to close the
+ compose on Escape. To do so would violate the HIG.
+
2004-06-07 Dan Winship <danw@novell.com>
* e-msg-composer.c (pixcache): s/stock_save_as/stock_save-as/
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 743f6de53c..21df999e15 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -2983,19 +2983,6 @@ msg_composer_destroy_notify (void *data)
all_composers = g_slist_remove (all_composers, composer);
}
-static int
-composer_key_pressed (GtkWidget *widget, GdkEventKey *event, gpointer user_data)
-{
- if (event->keyval == GDK_Escape) {
- do_exit (E_MSG_COMPOSER (widget));
-
- g_signal_stop_emission_by_name (widget, "key-press-event");
- return TRUE; /* Handled. */
- }
-
- return FALSE; /* Not handled. */
-}
-
/* Verbs for non-control entries */
static BonoboUIVerb entry_verbs [] = {
BONOBO_UI_VERB ("EditCut", menu_edit_cut_cb),
@@ -3115,9 +3102,6 @@ create_composer (int visible_mask)
all_composers = g_slist_prepend (all_composers, composer);
- g_signal_connect (composer, "key-press-event",
- G_CALLBACK (composer_key_pressed),
- NULL);
g_signal_connect (composer, "destroy",
G_CALLBACK (msg_composer_destroy_notify),
NULL);