changeset 12560:d6b513c74e1f

[gaim-migrate @ 14879] I suppose this plugin should honor the smooth scrolling preference. committer: Tailor Script <tailor@pidgin.im>
author Richard Laager <rlaager@wiktel.com>
date Mon, 19 Dec 2005 11:54:17 +0000
parents 34e29487876d
children e8314f98b870
files plugins/timestamp.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/timestamp.c	Mon Dec 19 09:17:41 2005 +0000
+++ b/plugins/timestamp.c	Mon Dec 19 11:54:17 2005 +0000
@@ -72,7 +72,7 @@
 		}
 		gtk_text_buffer_insert_with_tags_by_name(buffer, &iter, mdate, strlen(mdate), "TIMESTAMP", NULL);
 		if (scroll)
-			gtk_imhtml_scroll_to_end(GTK_IMHTML(imhtml), TRUE);
+			gtk_imhtml_scroll_to_end(GTK_IMHTML(imhtml), gaim_prefs_get_bool("/gaim/gtk/conversations/use_smooth_scrolling"));
 	}
 	else
 		gaim_conversation_set_data(c, "timestamp-enabled", GINT_TO_POINTER(FALSE));