mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Added window variable to Irssi::TextUI::StatusbarItem
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2871 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
d5ded8f977
commit
c7d1fa390b
@ -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, "max_size", 8, newSViv(item->max_size), 0);
|
||||||
hv_store(hv, "xpos", 4, newSViv(item->xpos), 0);
|
hv_store(hv, "xpos", 4, newSViv(item->xpos), 0);
|
||||||
hv_store(hv, "size", 4, newSViv(item->size), 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[] = {
|
static PLAIN_OBJECT_INIT_REC textui_plains[] = {
|
||||||
|
Loading…
Reference in New Issue
Block a user