#10111 LOW Not Tri: Registration menu item does not disappear immediately after registration
Zarro Boogs per Child
bugtracker at laptop.org
Tue Apr 13 05:14:14 EDT 2010
#10111: Registration menu item does not disappear immediately after registration
---------------------------------------+------------------------------------
Reporter: martin.langhoff | Owner: Quozl
Type: defect | Status: new
Priority: low | Milestone: Not Triaged
Component: sugar | Version: 1.5 Software Build os64 aka 10.1.0
Resolution: | Keywords: arlr-inicial
Next_action: review | Verified: 0
Deployment_affected: | Blockedby:
Blocking: |
---------------------------------------+------------------------------------
Changes (by Quozl):
* owner: dsd => Quozl
* next_action: never set => review
Comment:
Diagnosis. Possible fix.
In Sugar 0.84 on os119, the file favoritesview.py does this:
* on successful registration, where the message "Registration Successful"
is displayed, the next immediate action is to disable the register menu,
* when the menu is created, in _MyIcon.create_palette(), the Register
menu item is only shown if gconf string /desktop/sugar/backup_url is not
set.
So perhaps the code is merely wrong. Perhaps there is a useful error in
the shell logs.
Now, comparing it to 0.82 ...
On Sugar 0.82 on os802b1, the code effectively calls
self._my_icon.get_palette().menu.remove(menuitem)
On Sugar 0.84 on os119, the code effectively calls
self._my_icon.palette.remove(self._register_menu)
Perhaps it should call
self._my_icon.palette.menu.remove(self._register_menu)
Could you please try that?
--
Ticket URL: <http://dev.laptop.org/ticket/10111#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system
More information about the Bugs
mailing list