default button in each step should grab default

Bug #625529 reported by John Lenton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu Single Sign On Client
Fix Released
High
Natalia Bidart
ubuntu-sso-client (Ubuntu)
Fix Released
Medium
Natalia Bidart
Maverick
Fix Released
Medium
Natalia Bidart

Bug Description

hitting enter advances to the next step by hooking up the signals manaully. We should instead use grab_default, to give additional cues to the user.

Related branches

Changed in ubuntu-sso-client:
status: New → Triaged
importance: Undecided → High
assignee: nobody → Naty Bidart (nataliabidart)
tags: added: desktop+ u1-maverick
Changed in ubuntu-sso-client (Ubuntu):
status: New → Triaged
assignee: nobody → Naty Bidart (nataliabidart)
milestone: none → ubuntu-10.10
importance: Undecided → Medium
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Some more info to solve this issue:

The default buttons should have the gtk.CAN_DEFAULT flag set, using .set_flags or Glade:
http://www.pygtk.org/docs/pygtk/class-gtkobject.html#method-gtkobject--set-flags

When the corresponding dialog "page" is shown, the button should grab the default with .grab_default:
http://www.pygtk.org/docs/pygtk/class-gtkwidget.html#method-gtkwidget--grab-default

dobey (dobey)
Changed in ubuntu-sso-client:
status: Triaged → Fix Committed
Changed in ubuntu-sso-client (Ubuntu Maverick):
status: Triaged → Fix Released
Changed in ubuntu-sso-client:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.