SF.net SVN: geany:[5767] branches/0.20.1
eht16 at users.sourceforge.net
eht16 at xxxxx
Sun May 8 16:48:36 UTC 2011
Revision: 5767
http://geany.svn.sourceforge.net/geany/?rev=5767&view=rev
Author: eht16
Date: 2011-05-08 16:48:35 +0000 (Sun, 08 May 2011)
Log Message:
-----------
Ensure the editor widget has the focus when the editor menu is called.
Modified Paths:
--------------
branches/0.20.1/ChangeLog
branches/0.20.1/src/editor.c
Modified: branches/0.20.1/ChangeLog
===================================================================
--- branches/0.20.1/ChangeLog 2011-05-08 16:44:08 UTC (rev 5766)
+++ branches/0.20.1/ChangeLog 2011-05-08 16:48:35 UTC (rev 5767)
@@ -7,6 +7,9 @@
Update copyright information.
* AUTHORS, src/about.c, README.Packagers, README:
Welcome Colomban Wendling, a new Geany developer.
+ * src/editor.c:
+ Ensure the editor widget has the focus when the editor menu is
+ called.
2011-01-05 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: branches/0.20.1/src/editor.c
===================================================================
--- branches/0.20.1/src/editor.c 2011-05-08 16:44:08 UTC (rev 5766)
+++ branches/0.20.1/src/editor.c 2011-05-08 16:48:35 UTC (rev 5767)
@@ -341,6 +341,9 @@
{
gboolean can_goto;
+ /* ensure the editor widget has the focus after this operation */
+ gtk_widget_grab_focus(widget);
+
editor_find_current_word(editor, editor_info.click_pos,
current_word, sizeof current_word, NULL);
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