SF.net SVN: geany: [1929] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Wed Oct 3 11:25:28 UTC 2007


Revision: 1929
          http://geany.svn.sourceforge.net/geany/?rev=1929&view=rev
Author:   ntrel
Date:     2007-10-03 04:25:28 -0700 (Wed, 03 Oct 2007)

Log Message:
-----------
Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
because they are now sent to the VTE.

Modified Paths:
--------------
    trunk/ChangeLog
    trunk/src/vte.c

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2007-10-03 11:21:08 UTC (rev 1928)
+++ trunk/ChangeLog	2007-10-03 11:25:28 UTC (rev 1929)
@@ -3,6 +3,9 @@
  * src/prefs.c:
    Fix segfault when manually editing a keybinding and selecting another
    item.
+ * src/vte.c:
+   Don't reset the VTE when pressing Ctrl-[CD] if bash keys are enabled,
+   because they are now sent to the VTE.
 
 
 2007-10-02  Nick Treleaven  <nick(dot)treleaven(at)btinternet(dot)com>

Modified: trunk/src/vte.c
===================================================================
--- trunk/src/vte.c	2007-10-03 11:21:08 UTC (rev 1928)
+++ trunk/src/vte.c	2007-10-03 11:25:28 UTC (rev 1929)
@@ -240,7 +240,7 @@
 
 static gboolean vte_keypress(GtkWidget *widget, GdkEventKey *event, gpointer data)
 {
-	if (event->type != GDK_KEY_RELEASE)
+	if (event->type != GDK_KEY_RELEASE || vc->enable_bash_keys)
 		return FALSE;
 
 	if ((event->keyval == GDK_c ||


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Commits mailing list