SF.net SVN: geany: [1158] trunk
ntrel at users.sourceforge.net
ntrel at xxxxx
Sat Jan 6 11:55:02 UTC 2007
Revision: 1158
http://svn.sourceforge.net/geany/?rev=1158&view=rev
Author: ntrel
Date: 2007-01-06 03:55:01 -0800 (Sat, 06 Jan 2007)
Log Message:
-----------
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.
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/keybindings.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2007-01-05 15:44:34 UTC (rev 1157)
+++ trunk/ChangeLog 2007-01-06 11:55:01 UTC (rev 1158)
@@ -1,3 +1,11 @@
+2007-01-06 Nick Treleaven <nick.treleaven at 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 at btinternet.com>
* src/build.c, src/build.h:
Modified: trunk/src/keybindings.c
===================================================================
--- trunk/src/keybindings.c 2007-01-05 15:44:34 UTC (rev 1157)
+++ trunk/src/keybindings.c 2007-01-06 11:55:01 UTC (rev 1158)
@@ -688,15 +688,18 @@
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
}
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