[Pidgin] #1947: purple_request_accept_cancel returns nothing on window close

Pidgin trac at pidgin.im
Sun Jul 22 22:44:26 EDT 2007


#1947: purple_request_accept_cancel returns nothing on window close
------------------------+---------------------------------------------------
  Reporter:  wehlhard   |       Owner:                                    
      Type:  defect     |      Status:  closed                            
  Priority:  minor      |   Milestone:  2.1.0                             
 Component:  libpurple  |     Version:  2.0.2                             
Resolution:  fixed      |    Keywords:  request accept cancel window close
   Pending:  0          |  
------------------------+---------------------------------------------------
Changes (by khc at pidgin.im):

  * status:  new => closed
  * resolution:  => fixed
  * milestone:  => 2.1.0

Comment:

 (In [de5a871fa6d3a03c03ddd957d08ad9773028f709]) purple_request_action
 doesn't call any callbacks if the user closes the
 window instead of clicking on the buttons. The problem is that
 purple_request_action is not required to have a cancel action, so when the
 close button is clicked the UI has no idea which action should be called.
 The closest one would be the default action, but when the user clicks
 cancel, he probably expects to cancel even if that's not the default
 action.

 Workaround by telling the window manager we don't want to have a close
 button. Fixes #1947

-- 
Ticket URL: </ticket/1947#comment:1>
Pidgin <http://pidgin.im>
Pidgin


More information about the Tracker mailing list