Mercurial > pidgin
changeset 9006:bffe8d1adb8b
[gaim-migrate @ 9782]
This tries to fix that click on about's imhtml and random selection bug.
It fails.
It's somewhat less noticable about now though, you have to scroll and then
click, and instead of just click.
committer: Tailor Script <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Sat, 22 May 2004 04:39:44 +0000 |
parents | 230cf4032e3d |
children | 0a08f671b591 |
files | src/about.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/about.c Sat May 22 01:32:44 2004 +0000 +++ b/src/about.c Sat May 22 04:39:44 2004 +0000 @@ -49,6 +49,7 @@ GtkWidget *text; GtkWidget *bbox; GtkWidget *button; + GtkTextIter iter; char *str, *labeltext; if (about != NULL) @@ -217,7 +218,9 @@ g_free(str); gtk_adjustment_set_value(gtk_scrolled_window_get_vadjustment(GTK_SCROLLED_WINDOW(sw)), 0); - + gtk_text_buffer_get_start_iter(gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)), &iter); + gtk_text_buffer_place_cursor(gtk_text_view_get_buffer(GTK_TEXT_VIEW(text)), &iter); + /* Close Button */ bbox = gtk_hbutton_box_new(); gtk_button_box_set_layout(GTK_BUTTON_BOX(bbox), GTK_BUTTONBOX_END);