Kaydet (Commit) eb2c45e2 authored tarafından Nick Treleaven's avatar Nick Treleaven

Ensure the VTE visual settings are applied when switching to VTE

when the Message Window is hidden.
Show the Message Window when switching to Scribble.


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1158 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst b3b3f331
2007-01-06 Nick Treleaven <nick.treleaven@btinternet.com>
* src/keybindings.c:
Ensure the VTE visual settings are applied when switching to VTE
when the Message Window is hidden.
Show the Message Window when switching to Scribble.
2007-01-04 Nick Treleaven <nick.treleaven@btinternet.com>
* src/build.c, src/build.h:
......
......@@ -688,15 +688,18 @@ static void cb_func_switch_editor(G_GNUC_UNUSED guint key_id)
static void cb_func_switch_scribble(G_GNUC_UNUSED guint key_id)
{
gtk_notebook_set_current_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_SCRATCH);
msgwin_show_hide(TRUE);
gtk_widget_grab_focus(lookup_widget(app->window, "textview_scribble"));
}
static void cb_func_switch_vte(G_GNUC_UNUSED guint key_id)
{
#ifdef HAVE_VTE
msgwin_show_hide(TRUE);
/* the msgwin must be visible before we switch to the VTE page so that
* the font settings are applied on realization */
gtk_notebook_set_current_page(GTK_NOTEBOOK(msgwindow.notebook), MSG_VTE);
gtk_widget_grab_focus(vc->vte);
msgwin_show_hide(TRUE);
#endif
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment