Mercurial > pidgin.yaz
comparison src/gtkdebug.c @ 5215:49f0de976037
[gaim-migrate @ 5585]
Coupla 00pzies
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Sat, 26 Apr 2003 07:45:30 +0000 |
parents | 7ea282e1f615 |
children | 6afeab1955b2 |
comparison
equal
deleted
inserted
replaced
5214:7ea282e1f615 | 5215:49f0de976037 |
---|---|
76 sw = gtk_scrolled_window_new(NULL, NULL); | 76 sw = gtk_scrolled_window_new(NULL, NULL); |
77 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), | 77 gtk_scrolled_window_set_policy(GTK_SCROLLED_WINDOW(sw), |
78 GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); | 78 GTK_POLICY_NEVER, GTK_POLICY_ALWAYS); |
79 | 79 |
80 win->entry = gtk_imhtml_new(NULL, NULL); | 80 win->entry = gtk_imhtml_new(NULL, NULL); |
81 gaim_setup_imhtml(win->entry); | |
82 | |
83 #if 0 | |
84 win->entry = gtk_text_view_new(); | |
85 gtk_text_view_set_cursor_visible(GTK_TEXT_VIEW(win->entry), FALSE); | |
86 gtk_text_view_set_editable(GTK_TEXT_VIEW(win->entry), FALSE); | |
87 gtk_text_view_set_wrap_mode(GTK_TEXT_VIEW(win->entry), GTK_WRAP_WORD_CHAR); | |
88 | |
89 buffer = gtk_text_view_get_buffer(GTK_TEXT_VIEW(win->entry)); | |
90 gtk_text_buffer_get_end_iter(buffer, &end); | |
91 gtk_text_buffer_create_mark(buffer, "end", &end, FALSE); | |
92 #endif | |
93 | 81 |
94 gtk_container_add(GTK_CONTAINER(sw), win->entry); | 82 gtk_container_add(GTK_CONTAINER(sw), win->entry); |
95 gtk_container_add(GTK_CONTAINER(win->window), sw); | 83 gtk_container_add(GTK_CONTAINER(win->window), sw); |
96 gtk_widget_show_all(win->window); | 84 gtk_widget_show_all(win->window); |
97 | 85 |