psppire-cell-renderer: Fix behavior of repeated clicks on a button. 20120911031925/pspp 20120912031918/pspp 20120913031857/pspp 20120914031922/pspp 20120915031925/pspp 20120921032038/pspp 20120922031949/pspp 20120923031953/pspp 20120924032009/pspp 20120927032112/pspp 20120928032019/pspp 20120929032021/pspp 20120930032025/pspp
authorBen Pfaff <blp@cs.stanford.edu>
Mon, 3 Sep 2012 05:21:09 +0000 (22:21 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Mon, 3 Sep 2012 05:21:09 +0000 (22:21 -0700)
commit04c546cc97483bb87e79184c3e78060fdf296e7d
tree33428ef876f6cf04eeb8c601786c8df8445536e7
parent26caf1112c3a84bb67e4a7f208ec3e8db56719ad
psppire-cell-renderer: Fix behavior of repeated clicks on a button.

I'm not sure why I thought this code was necessary.  Removing it
fixes the problem, which John Darrington reported as:

1. Create or load a dataset with one or more variables.
2. Switch to the variable sheet.
3. Click on one of the in-cell buttons (for example) Value Labels.
4. After the dialog box appears, cancel it with the cancel button.
5. The dialog closes, and the button which invoked it, now has the
focus.  However clicking on that button again refuses to bring the
dialog back.  One has to move off the button and onto the cell
background.
src/ui/gui/psppire-cell-renderer-button.c