Irssi core bugs

Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 85 Notice: Undefined index: tasklist_type in /var/www/ : eval()'d code on line 90
  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category core
  • Assigned To No-one
  • Operating System OpenBSD
  • Severity Medium
  • Priority Normal
  • Reported Version Irssi SVN
  • Due in Version Undecided
  • Due Date Undecided
  • Votes 0
  • Private No
Attached to Project: Irssi core bugs
Opened by Colin DIDIER (errtu) - 2007-10-08

FS#535 - fe-text headers & deal with statusbar in modules

The only API to deal with statusbar is in fe-text/statusbar.h. But this header is in noinst_HEADERS in fe-text/ so it won't be installed.

If this header isn't available, modules (in C) which want to deal with statusbar won't build.

I suggest this header (fe-text/statusbar.h and maybe some others in fe-text/) should be installed (in /usr/.../include/irssi...).

This task does not depend on any other tasks.

Uli M (ulim)
Sunday, 13 July 2008, 13:16 GMT
I'd really like to see this fixed. I developed a module irssi-otr [1] for Off-The-Record Messaging (OTR) [2] in which I use the statusbar. As a workaround I currently download statusbar.h, mainwindows.h, and term.h during the build process from the web svn. I've attached a patch that seems to solve the problem.



Colin DIDIER (errtu)
Wednesday, 29 October 2008, 02:52 GMT
For irssi-xmpp I have just copied a slightly modified statusbar.h (so it doesn't need mainwindows.h and term.h) into the sources of irssi-xmpp.


And when I need to deal with statusbars I just include this file (statusbar.h):;content-type=text%2Fplain;cvsroot=irssi-xmpp
Emanuele Giaquinta (ayin)
Monday, 01 December 2008, 18:21 GMT
I added a public header statusbar-item.h with the necessary interfaces. The struct SBAR_ITEM_REC is opaque, so I added a function statusbar_item_set_size to set min_size/max_size in the callback. Is it fine for you?