Wireshark-commits: [Wireshark-commits] rev 43005: /trunk/ui/gtk/ /trunk/ui/gtk/: capture_file_dlg.c
Date: Sat, 02 Jun 2012 18:13:12 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=43005

User: guy
Date: 2012/06/02 11:13 AM

Log:
 The only reason we need to do locale conversions is that path names as
 returned by the file selection dialog are in the locale's character
 encoding.  Just convert those, and use the formatting capabilities of
 the GTK+ message dialog rather than formattting the message to a string
 and translating it in its entirety.
 
 Use g_filename_display_basename() to do the locale conversion while
 we're at it.

Directory: /trunk/ui/gtk/
  Changes    Path                  Action
  +17 -41    capture_file_dlg.c    Modified