[Bugs] #1493 UNSP: Keep preferable activities

Sugar Labs Bugs bugtracker-noreply at sugarlabs.org
Sun Dec 20 11:55:23 EST 2009


#1493: Keep preferable activities
------------------------------------------+---------------------------------
    Reporter:  alsroot                    |          Owner:  tomeu      
        Type:  enhancement                |         Status:  new        
    Priority:  Unspecified by Maintainer  |      Milestone:  0.88       
   Component:  sugar                      |        Version:  0.86.x     
    Severity:  Unspecified                |       Keywords:  r!         
Distribution:  Unspecified                |   Status_field:  Unconfirmed
------------------------------------------+---------------------------------

Comment(by alsroot):

 Replying to [comment:5 tomeu]:
 > Replying to [comment:2 alsroot]:
 > > Replying to [comment:1 tomeu]:
 > > > Patch looks great to me, I'm going to ask in the mailing lists for
 opinions about adding this feature.
 > > >
 > > > Two comments:
 > > >
 > > > - considered adding to profile.py instead of creating
 mimeregistry.py ?
 > >
 > > in my mind we shouldn't expose such internals to activities, since its
 all about shell workflow
 >
 > I agree with that, it's only that if we have lots of small python files
 it gets harder to find stuff in the shell. What about having a
 shellprofile.py module instead?

 so you meant not sugar-toolkit/profile.py, then it could be profile.py in
 sugar package to collect all info about user preferences.

 > > > - need to update the sugar.schemas.in file
 > >
 > > you mean add default preferences for popular mime_types?
 > > feature itself doesn't rely on existence of valid predefined value in
 gconf
 >
 > Hmm, I think the default should be taken from the gconf defaults and not
 be hardcoded, so a deployment can override it at will. It also helps to
 provide documentation about the options.

 Yup, but there is no hardcoded gconf setting, mimeregistry just creates
 new keys and tried to read existed, but yeah, we can have default keys for
 popular mime_types.

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


More information about the Bugs mailing list