From c7d1fa390ba54a417ed27e8db5ee1358064d0097 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 8 Aug 2002 13:56:00 +0000 Subject: Added window variable to Irssi::TextUI::StatusbarItem git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564 --- src/perl/textui/TextUI.xs | 1 + 1 file changed, 1 insertion(+) (limited to 'src/perl/textui') diff --git a/src/perl/textui/TextUI.xs b/src/perl/textui/TextUI.xs index 8d49ac44..f70591e9 100644 --- a/src/perl/textui/TextUI.xs +++ b/src/perl/textui/TextUI.xs @@ -69,6 +69,7 @@ static void perl_statusbar_item_fill_hash(HV *hv, SBAR_ITEM_REC *item) hv_store(hv, "max_size", 8, newSViv(item->max_size), 0); hv_store(hv, "xpos", 4, newSViv(item->xpos), 0); hv_store(hv, "size", 4, newSViv(item->size), 0); + hv_store(hv, "window", 6, plain_bless(item->bar->parent_window, "Irssi::UI::Window"), 0); } static PLAIN_OBJECT_INIT_REC textui_plains[] = { -- cgit v1.2.3