changeset 20780:e587a7be2916

Top align the notification message.
author Sadrul Habib Chowdhury <imadil@gmail.com>
date Fri, 05 Oct 2007 06:13:44 +0000
parents a068bcd78b61
children 996cc19d1f7e
files finch/gntnotify.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/finch/gntnotify.c	Thu Oct 04 14:36:45 2007 +0000
+++ b/finch/gntnotify.c	Fri Oct 05 06:13:44 2007 +0000
@@ -84,8 +84,8 @@
 		if (type == PURPLE_NOTIFY_FORMATTED) {
 			int width = -1, height = -1;
 			msg = gnt_text_view_new();
+			gnt_text_view_set_flag(GNT_TEXT_VIEW(msg), GNT_TEXT_VIEW_TOP_ALIGN);
 			gnt_text_view_append_text_with_flags(GNT_TEXT_VIEW(msg), secondary, sf);
-			gnt_text_view_scroll(GNT_TEXT_VIEW(msg), 0);
 			gnt_text_view_attach_scroll_widget(GNT_TEXT_VIEW(msg), button);
 			gnt_util_get_text_bound(secondary, &width, &height);
 			gnt_widget_set_size(msg, width + 3, height + 1);