anjuta r4020 - in trunk: . plugins/document-manager plugins/sourceview
- From: naba svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4020 - in trunk: . plugins/document-manager plugins/sourceview
- Date: Sun, 15 Jun 2008 09:56:35 +0000 (UTC)
Author: naba
Date: Sun Jun 15 09:56:34 2008
New Revision: 4020
URL: http://svn.gnome.org/viewvc/anjuta?rev=4020&view=rev
Log:
* plugins/document-manager/anjuta-docman.c
(anjuta_docman_set_current_document),
(anjuta_docman_goto_uri_line_mark):
* plugins/sourceview/sourceview.c (ieditor_goto_line):
Modified:
trunk/ChangeLog
trunk/plugins/document-manager/anjuta-docman.c
trunk/plugins/sourceview/sourceview.c
Modified: trunk/plugins/document-manager/anjuta-docman.c
==============================================================================
--- trunk/plugins/document-manager/anjuta-docman.c (original)
+++ trunk/plugins/document-manager/anjuta-docman.c Sun Jun 15 09:56:34 2008
@@ -1216,7 +1216,8 @@
gtk_widget_grab_focus (GTK_WIDGET (doc));
anjuta_docman_grab_text_focus (docman);
-
+ ianjuta_document_grab_focus (IANJUTA_DOCUMENT (doc), NULL);
+
if (IANJUTA_IS_FILE (doc))
{
gchar *uri;
@@ -1415,7 +1416,11 @@
IANJUTA_MARKABLE_LINEMARKER, NULL);
}
}
+ }
+ if (doc != NULL)
+ {
anjuta_docman_present_notebook_page (docman, doc);
+ ianjuta_document_grab_focus (IANJUTA_DOCUMENT (doc), NULL);
}
return te;
Modified: trunk/plugins/sourceview/sourceview.c
==============================================================================
--- trunk/plugins/sourceview/sourceview.c (original)
+++ trunk/plugins/sourceview/sourceview.c Sun Jun 15 09:56:34 2008
@@ -806,6 +806,7 @@
{
anjuta_document_goto_line(sv->priv->document, LOCATION_TO_LINE (line));
anjuta_view_scroll_to_cursor(sv->priv->view);
+ gtk_widget_grab_focus (GTK_WIDGET (sv->priv->view));
}
else
sv->priv->goto_line = line;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]