SF.net SVN: geany:[4239] trunk

ntrel at users.sourceforge.net ntrel at xxxxx
Sun Sep 27 11:06:04 UTC 2009


Revision: 4239
          http://geany.svn.sourceforge.net/geany/?rev=4239&view=rev
Author:   ntrel
Date:     2009-09-27 11:06:04 +0000 (Sun, 27 Sep 2009)

Log Message:
-----------
Focus editor after entering a number in the goto line toolbar entry.

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

Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog	2009-09-27 10:54:34 UTC (rev 4238)
+++ trunk/ChangeLog	2009-09-27 11:06:04 UTC (rev 4239)
@@ -3,6 +3,8 @@
  * src/keybindings.c:
    Only focus toolbar goto line entry when pressing keybinding if it's
    visible (patch by Eugene Arshinov, thanks).
+ * src/callbacks.c:
+   Focus editor after entering a number in the goto line toolbar entry.
 
 
 2009-09-24  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>

Modified: trunk/src/callbacks.c
===================================================================
--- trunk/src/callbacks.c	2009-09-27 10:54:34 UTC (rev 4238)
+++ trunk/src/callbacks.c	2009-09-27 11:06:04 UTC (rev 4239)
@@ -1279,6 +1279,8 @@
 
 	if (! editor_goto_line(doc->editor, atoi(text) - 1))
 		utils_beep();
+	else
+		keybindings_send_command(GEANY_KEY_GROUP_FOCUS, GEANY_KEYS_FOCUS_EDITOR);
 }
 
 


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