[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-cvs: gaf.git: branch: master updated (1.7.1-20110619-296-gdd18397)



The branch, master has been updated
       via  dd18397d667622407f0cf2856c5f407b0c3dca80 (commit)
      from  b1f4b2eef1be897133c1ffd62fd3f57ece4f3e72 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gschem/src/g_keys.c |    6 ------
 1 files changed, 0 insertions(+), 6 deletions(-)


=================
 Commit Messages
=================

commit dd18397d667622407f0cf2856c5f407b0c3dca80
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Remove special case for Escape.
    
    In commit ef8cf3e9cd75, the <Escape> key was special-cased to do
    nothing in g_keys_execute().  This meant that pressing <Escape> no
    longer fired the 'cancel' action to reset to Select Mode.
    
    A better approach is to just treat <Escape> like any other key.

:100644 100644 696573d... a507e64... M	gschem/src/g_keys.c

=========
 Changes
=========

commit dd18397d667622407f0cf2856c5f407b0c3dca80
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Commit: Peter TB Brett <peter@xxxxxxxxxxxxx>

    gschem: Remove special case for Escape.
    
    In commit ef8cf3e9cd75, the <Escape> key was special-cased to do
    nothing in g_keys_execute().  This meant that pressing <Escape> no
    longer fired the 'cancel' action to reset to Select Mode.
    
    A better approach is to just treat <Escape> like any other key.

diff --git a/gschem/src/g_keys.c b/gschem/src/g_keys.c
index 696573d..a507e64 100644
--- a/gschem/src/g_keys.c
+++ b/gschem/src/g_keys.c
@@ -566,12 +566,6 @@ g_keys_execute(GSCHEM_TOPLEVEL *w_current, GdkEventKey *event)
   }
 
   /* Create Scheme key value */
-  /* FIXME Escape as cancel key shouldn't be hardcoded in. */
-  if (key == GDK_Escape) {
-    g_keys_reset (w_current);
-    return FALSE;
-  }
-
   s_key = g_make_key (key, mods);
 
   /* Update key hint string for status bar. */




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs