Wireshark-commits: [Wireshark-commits] rev 21876: /trunk/ /trunk/gtk/: gui_utils.c layout_prefs.c /

Date: Tue, 22 May 2007 02:21:03 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=21876

User: guy
Date: 2007/05/22 02:21 AM

Log:
 Don't explicitly set the main window name unless you're changing the
 state to "no packets", "file open", or "live capture in progress".
 
 Instead, to update the main window title when the user-specified prefix
 for the title changes:
 
 	save the un-decorated title as a data value attached to the main
 	window in set_main_window_name();
 
 	have a new routine to update the title, which fetches the
 	un-decorated title, decorates it, and sets the title to the
 	decorated value.
 
 This fixes bug 1608.

Directory: /trunk/gtk/
  Changes    Path              Action
  +31 -6     gui_utils.c       Modified
  +1 -1      layout_prefs.c    Modified

Directory: /trunk/
  Changes    Path          Action
  +3 -0      ui_util.h     Modified