[Bugs] #3879 sugar-artwork UNSP: Style the palettes

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Thu Sep 13 00:15:24 EDT 2012


#3879: Style the palettes
------------------------------------------+---------------------------------
    Reporter:  manuq                      |          Owner:  manuq      
        Type:  defect                     |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.98       
   Component:  sugar-artwork              |        Version:  Unspecified
    Severity:  Unspecified                |       Keywords:  13.1.0     
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------

Comment(by manuq):

 Because of the separator item added we need to add one more offset in the
 shell:

 {{{
 --- a/src/jarabe/desktop/favoritesview.py
 +++ b/src/jarabe/desktop/favoritesview.py
 @@ -511,7 +511,7 @@ class ActivityIcon(EventIcon):
  class FavoritePalette(ActivityPalette):
      __gtype_name__ = 'SugarFavoritePalette'

 -    _PALETTE_LABEL_OFFSET = 1
 +    _PALETTE_LABEL_OFFSET = 2

      __gsignals__ = {
          'entry-activate': (GObject.SignalFlags.RUN_FIRST,
 }}}

 Another approach would be to reimplement menu.insert in our menu that
 inherits Gtk.Menu and take care of the offset there.

-- 
Ticket URL: <http://bugs.sugarlabs.org/ticket/3879#comment:4>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system


More information about the Bugs mailing list