[Pidgin] #3989: PidginScrollBook has a broken GtkContainer implementation

Pidgin trac at pidgin.im
Mon Nov 19 02:53:03 EST 2007


#3989: PidginScrollBook has a broken GtkContainer implementation
---------------------------+------------------------------------------------
  Reporter:  resiak        |       Owner:       
      Type:  defect        |      Status:  new  
  Priority:  minor         |   Milestone:       
 Component:  pidgin (gtk)  |     Version:  2.2.2
Resolution:                |    Keywords:       
   Pending:  0             |  
---------------------------+------------------------------------------------
Comment (by sadrul):

 I have this patch:
 http://pidgin.im/~sadrul/pp/pidgin_scrollbook_rewrite.patch which seems to
 work, at least for the signed-on elsewhere errors. I am not sure how
 generic errors would work, but I think that'll be OK too.

 The main change here is that !PidginScrollBook is a !GtkNotebook now. So
 _add, _remove etc. are taken care. There is at least one flaw in there:
 there's empty space reserved for the page-count at the top of the
 scrollbook. That may not be too hard to get rid of. Also, the CPU usage
 shoots up when a scrollbook is showing. The expose-event callback seems to
 be triggering all the time, no matter what value I return. This I am not
 sure why happens.

-- 
Ticket URL: <http://developer.pidgin.im/ticket/3989#comment:4>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list