ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] GUI preference: OK to set "Save window position" to TRUE as

From: Christopher Maynard <Christopher.Maynard@xxxxxxxxx>
Date: Fri, 5 Oct 2012 22:01:12 +0000 (UTC)
Christopher Maynard <Christopher.Maynard@...> writes:

> 
> Does anyone have a problem with me making the following change to GUI
> preferences so that the window position will be saved by default?
> 
> Index: epan/prefs.c
> ===================================================================
> --- epan/prefs.c        (revision 45332)
> +++ epan/prefs.c        (working copy)
> @@ -2594,7 +2594,7 @@
>    prefs.st_server_bg.red           = 60909;
>    prefs.st_server_bg.green         = 60909;
>    prefs.st_server_bg.blue          = 64507;
> -  prefs.gui_geometry_save_position = FALSE;
> +  prefs.gui_geometry_save_position = TRUE;
>    prefs.gui_geometry_save_size     = TRUE;
>    prefs.gui_geometry_save_maximized= TRUE;
>    prefs.gui_macosx_style           = TRUE;
> 

Committed in r45334.  It can always be rolled back if there are any strong
objections.

Ref:
http://anonsvn.wireshark.org/viewvc/trunk/epan/prefs.c?r1=45334&r2=45333&pathrev=45334