Mercurial > pidgin
changeset 18427:be8c4eba38f6
Use the utility function for the conversation and debug windows.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 03 Jul 2007 11:20:33 +0000 |
parents | 841670dd24e1 |
children | 1dbd8ce2f11f 0e8b2bb66a7d |
files | finch/gntconv.c finch/gntdebug.c |
diffstat | 2 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntconv.c Tue Jul 03 11:17:35 2007 +0000 +++ b/finch/gntconv.c Tue Jul 03 11:20:33 2007 +0000 @@ -541,6 +541,8 @@ gnt_entry_set_always_suggest(GNT_ENTRY(ggc->entry), FALSE); gnt_text_view_attach_scroll_widget(GNT_TEXT_VIEW(ggc->tv), ggc->entry); + gnt_text_view_attach_pager_widget(GNT_TEXT_VIEW(ggc->tv), ggc->entry); + g_signal_connect_after(G_OBJECT(ggc->entry), "key_pressed", G_CALLBACK(entry_key_pressed), ggc); g_signal_connect(G_OBJECT(ggc->entry), "completion", G_CALLBACK(completion_cb), NULL); g_signal_connect(G_OBJECT(ggc->window), "destroy", G_CALLBACK(closing_window), ggc);
--- a/finch/gntdebug.c Tue Jul 03 11:17:35 2007 +0000 +++ b/finch/gntdebug.c Tue Jul 03 11:20:33 2007 +0000 @@ -274,6 +274,7 @@ g_signal_connect(G_OBJECT(debug.window), "destroy", G_CALLBACK(reset_debug_win), NULL); gnt_text_view_attach_scroll_widget(GNT_TEXT_VIEW(debug.tview), debug.window); + gnt_text_view_attach_pager_widget(GNT_TEXT_VIEW(debug.tview), debug.window); gnt_widget_show(debug.window); }