[Bugs] #3849 sugar-toolkit-gtk3 UNSP: RadioToolButton is too big if the icon is not set in the constructor

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Tue Sep 4 11:39:35 EDT 2012


#3849: RadioToolButton is too big if the icon is not set in the constructor
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  erikos     
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar-toolkit-gtk3         |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:  theme      
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------
 And makes the toolbar height too tall as a consequence.

 Found in Paint GTK+3 port, currently mainline.  This change in the
 toolbuttons.py testcase shows the issue:

 {{{
 diff --git a/tests/graphics/toolbuttons.py b/tests/graphics/toolbuttons.py
 index c4c8cf8..738ee75 100644
 --- a/tests/graphics/toolbuttons.py
 +++ b/tests/graphics/toolbuttons.py
 @@ -19,7 +19,8 @@ toolbar_box = ToolbarBox()
  vbox.pack_start(toolbar_box, False, False, 0)
  toolbar_box.show()

 -radial_button = RadioToolButton(named_icon='view-radial')
 +radial_button = RadioToolButton()
 +radial_button.props.icon_name = 'view-radial'
  toolbar_box.toolbar.insert(radial_button, -1)
  radial_button.show()
 }}}

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3849>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list