SF.net SVN: geany: [2783] trunk
eht16 at users.sourceforge.net
eht16 at xxxxx
Tue Jul 15 18:46:44 UTC 2008
Revision: 2783
http://geany.svn.sourceforge.net/geany/?rev=2783&view=rev
Author: eht16
Date: 2008-07-15 11:46:17 -0700 (Tue, 15 Jul 2008)
Log Message:
-----------
Enforce focus grabbing when creating new documents (closes #2018427).
Modified Paths:
--------------
trunk/ChangeLog
trunk/src/document.c
Modified: trunk/ChangeLog
===================================================================
--- trunk/ChangeLog 2008-07-15 18:36:37 UTC (rev 2782)
+++ trunk/ChangeLog 2008-07-15 18:46:17 UTC (rev 2783)
@@ -3,6 +3,8 @@
* data/filetypes.fortran:
Add missing keywords: 'elemental', 'pure' and 'procedure' which also
fix broken folding (patch by Henrik Holst, thanks).
+ * src/document.c:
+ Enforce focus grabbing when creating new documents (closes #2018427).
2008-07-15 Nick Treleaven <nick(dot)treleaven(at)btinternet(dot)com>
Modified: trunk/src/document.c
===================================================================
--- trunk/src/document.c 2008-07-15 18:36:37 UTC (rev 2782)
+++ trunk/src/document.c 2008-07-15 18:46:17 UTC (rev 2783)
@@ -428,6 +428,8 @@
ui_document_buttons_update();
+ gtk_widget_grab_focus(this->editor->sci);
+
this->is_valid = TRUE; /* do this last to prevent UI updating with NULL items. */
return this;
}
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