My Trophies / Opportunities buttons don't depress when selected
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Accomplishments System |
Fix Released
|
Medium
|
Simon Watson |
Bug Description
The My Trophies and Opportunities buttons should be depressed to indicate which view is being shown. Currently they don't do this.
Unfortunately, when I looked into this last night this was a little more complex than I expected. I changed the buttons to ToggleButtons and thought it would be as simple as using set_active() where appropriate. Unfortunately, I had all kinds of issues with this...primarily because set_active() doesn't just make it look depressed, but actually sends the signal.
To get around this I tried to block the signals, run set_active(), and then unblock, but it kept calling the signals oddly.
If someone with some GTK experience has a chance to look into this, that would be great!
Related branches
Changed in ubuntu-accomplishments-system: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in ubuntu-accomplishments-system: | |
assignee: | nobody → Simon Watson (simon-swat) |
Changed in ubuntu-accomplishments-system: | |
status: | Confirmed → Fix Committed |
Simon, why did you set this to Fix Committed? There is no fix in the codebase for this bug yet.
Please don't set bug status unless a fix has been applied to the main codebase, thanks!