[gaim-migrate @ 14879]

Mon, 19 Dec 2005 11:54:17 +0000

author
Richard Laager <rlaager@pidgin.im>
date
Mon, 19 Dec 2005 11:54:17 +0000
changeset 12560
d53984a3d470
parent 12559
3d870e9808a1
child 12561
c81871bffd54

[gaim-migrate @ 14879]
I suppose this plugin should honor the smooth scrolling preference.

plugins/timestamp.c file | annotate | diff | comparison | revisions
--- 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));

mercurial