Wireshark-commits: [Wireshark-commits] rev 42834: /trunk/ui/gtk/ /trunk/ui/gtk/: summary_dlg.c

Date: Thu, 24 May 2012 21:33:25 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=42834

User: morriss
Date: 2012/05/24 02:33 PM

Log:
 Get rid of the button row for the capture-file comments.  Instead, turn the
 whole summary dialog into an editor-like dialog with an OK and Cancel buttons
 (OK sets the new capture file comment, Cancel doesn't).
 
 In order to keep the dialog the same regardless of the file type (and avoid
 having a Cancel and OK button when there's no text field to edit), allow
 users to create or edit capture-file comments even if the file type is not
 PCAPNG (they can add a comment via the add/edit comment UI anyway).
 
 Don't include a Clear button: the user can just Ctrl-A + backspace if they
 want to do that.
 
 Don't set the comment text to "[None]" if there's no comment, just leave it
 blank.
 
 Don't allow the user to create more than 1 Summary dialog at a time.

Directory: /trunk/ui/gtk/
  Changes    Path             Action
  +48 -70    summary_dlg.c    Modified