When hiding the messages window, set the input focus back to the editor widget (part of #1910393).
git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@3676 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
parent
8eb2028ab5
commit
08b0712fcc
@ -2,6 +2,9 @@
|
|||||||
|
|
||||||
* doc/geany.txt, doc/geany.html, src/main.c:
|
* doc/geany.txt, doc/geany.html, src/main.c:
|
||||||
Add widget names for the menubar and toolbar.
|
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>
|
2009-03-30 Enrico Tröger <enrico(dot)troeger(at)uvena(dot)de>
|
||||||
|
@ -42,6 +42,7 @@
|
|||||||
#include "navqueue.h"
|
#include "navqueue.h"
|
||||||
#include "editor.h"
|
#include "editor.h"
|
||||||
#include "msgwindow.h"
|
#include "msgwindow.h"
|
||||||
|
#include "keybindings.h"
|
||||||
|
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
@ -281,6 +282,8 @@ void msgwin_show_hide(gboolean show)
|
|||||||
show);
|
show);
|
||||||
ignore_callback = FALSE;
|
ignore_callback = FALSE;
|
||||||
ui_widget_show_hide(ui_lookup_widget(main_widgets.window, "scrolledwindow1"), show);
|
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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user