Commit 2baf2c07 authored by Paolo Borelli's avatar Paolo Borelli Committed by Paolo Borelli

do not scroll on paste.

2005-07-22  Paolo Borelli  <pborelli@katamail.com>

	* gedit-view.c: do not scroll on paste.
parent a040df38
2005-07-22 Paolo Borelli <pborelli@katamail.com>
* gedit-view.c: do not scroll on paste.
2005-07-13 Paolo Borelli <pborelli@katamail.com>
* gedit-prefs-manager.c: init unitialized variable, spotted
......
......@@ -502,16 +502,11 @@ gedit_view_copy_clipboard (GeditView *view)
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view->priv->text_view));
g_return_if_fail (buffer != NULL);
gtk_text_buffer_copy_clipboard (buffer,
gtk_text_buffer_copy_clipboard (buffer,
gtk_clipboard_get (GDK_NONE));
gtk_text_view_scroll_to_mark (GTK_TEXT_VIEW (view->priv->text_view),
gtk_text_buffer_get_insert (buffer),
GEDIT_VIEW_SCROLL_MARGIN,
FALSE,
0.0,
0.0);
/* on copy do not scroll, we are already on screen */
}
void
......
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