Revision: 3676 http://geany.svn.sourceforge.net/geany/?rev=3676&view=rev Author: eht16 Date: 2009-03-31 19:01:31 +0000 (Tue, 31 Mar 2009)
Log Message: ----------- When hiding the messages window, set the input focus back to the editor widget (part of #1910393).
Modified Paths: -------------- trunk/ChangeLog trunk/src/msgwindow.c
Modified: trunk/ChangeLog =================================================================== --- trunk/ChangeLog 2009-03-31 17:39:17 UTC (rev 3675) +++ trunk/ChangeLog 2009-03-31 19:01:31 UTC (rev 3676) @@ -2,6 +2,9 @@
* doc/geany.txt, doc/geany.html, src/main.c: Add widget names for the menubar and toolbar. + * src/msgwindow.c: + When hiding the messages window, set the input focus back to the + editor widget (part of #1910393).
2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
Modified: trunk/src/msgwindow.c =================================================================== --- trunk/src/msgwindow.c 2009-03-31 17:39:17 UTC (rev 3675) +++ trunk/src/msgwindow.c 2009-03-31 19:01:31 UTC (rev 3676) @@ -42,6 +42,7 @@ #include "navqueue.h" #include "editor.h" #include "msgwindow.h" +#include "keybindings.h"
#include <string.h> #include <stdlib.h> @@ -281,6 +282,8 @@ show); ignore_callback = FALSE; ui_widget_show_hide(ui_lookup_widget(main_widgets.window, "scrolledwindow1"), show); + /* set the input focus back to the editor */ + 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.