#7348 BLOC 8.2.0 (: journal fails to show icon for mounted usb stick

Zarro Boogs per Child bugtracker at laptop.org
Tue Jul 1 11:22:06 EDT 2008


#7348: journal fails to show icon for mounted usb stick
--------------------------------+-------------------------------------------
   Reporter:  tomeu             |       Owner:  tomeu               
       Type:  defect            |      Status:  new                 
   Priority:  blocker           |   Milestone:  8.2.0 (was Update.2)
  Component:  journal-activity  |     Version:  Git as of bug date  
 Resolution:                    |    Keywords:  8.2.0:+             
Next_action:  never set         |    Verified:  0                   
  Blockedby:                    |    Blocking:                      
--------------------------------+-------------------------------------------
Changes (by cscott):

 * cc: cscott (added)
  * priority:  normal => blocker
  * next_action:  => never set


Old description:

> {{{
> /usr/share/sugar/activities/Journal.activity/volumestoolbar.py in
> __init__(self=<VolumeButton object at 0xa4ac554 (uninitialized at 0x0)>,
> volume=<volumesmanager.Volume object at 0xa4a96ac>, group=None)
>     102 class VolumeButton(RadioToolButton):
>     103     def __init__(self, volume, group):
> --> 104         RadioToolButton.__init__(self, volume.icon_name, group,
> volume.icon_color)
>         global RadioToolButton.__init__ = <unbound method
> RadioToolButton.__init__>
>         self = <VolumeButton object at 0xa4ac554 (uninitialized at 0x0)>
>         volume.icon_name = 'activity-journal'
>         group = None
>         volume.icon_color = <sugar.graphics.xocolor.XoColor instance at
> 0xa4a932c>
>     105         self.volume = volume
>     106         self.drag_dest_set(gtk.DEST_DEFAULT_ALL,
>
> TypeError: __init__() takes exactly 1 argument (4 given)
> }}}

New description:

 {{{
 /usr/share/sugar/activities/Journal.activity/volumestoolbar.py in
 __init__(self=<VolumeButton object at 0xa4ac554 (uninitialized at 0x0)>,
 volume=<volumesmanager.Volume object at 0xa4a96ac>, group=None)
     102 class VolumeButton(RadioToolButton):
     103     def __init__(self, volume, group):
 --> 104         RadioToolButton.__init__(self, volume.icon_name, group,
 volume.icon_color)
         global RadioToolButton.__init__ = <unbound method
 RadioToolButton.__init__>
         self = <VolumeButton object at 0xa4ac554 (uninitialized at 0x0)>
         volume.icon_name = 'activity-journal'
         group = None
         volume.icon_color = <sugar.graphics.xocolor.XoColor instance at
 0xa4a932c>
     105         self.volume = volume
     106         self.drag_dest_set(gtk.DEST_DEFAULT_ALL,

 TypeError: __init__() takes exactly 1 argument (4 given)
 }}}

--

-- 
Ticket URL: <http://dev.laptop.org/ticket/7348#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list