diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2015-12-15 19:47:02 +0100 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2015-12-16 06:53:24 +0000 |
commit | bfe73e3ad7162830c222a5b0d73433a72324baa5 (patch) | |
tree | df1a1ee6779cb31093e9253152317e9f444fc91a /ui/recent.h | |
parent | 3b706bab624a22c500adb3bdf50123f73e56c4ca (diff) | |
download | wireshark-bfe73e3ad7162830c222a5b0d73433a72324baa5.tar.gz |
Qt: save custom colors in recent_common file
This allows to save colors across sessions for systems other than
OSX that do not provide a system wide color picker
While we are at it, let's stop reading the recent file twice at startup
Bug: 11888
Change-Id: I69ff14d699d8111fe6a8bdac0157fcd115a60c2b
Reviewed-on: https://code.wireshark.org/review/12659
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Petri-Dish: Pascal Quantin <pascal.quantin@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Stig Bjørlykke <stig@bjorlykke.org>
Diffstat (limited to 'ui/recent.h')
-rw-r--r-- | ui/recent.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/recent.h b/ui/recent.h index 766f5be473..4daf917878 100644 --- a/ui/recent.h +++ b/ui/recent.h @@ -102,6 +102,7 @@ typedef struct recent_settings_tag { GList *endpoint_tabs; /* enabled endpoint dialog tabs */ gchar *gui_fileopen_remembered_dir; /* folder of last capture loaded in File Open dialog */ gboolean gui_rlc_use_pdus_from_mac; + GList *custom_colors; } recent_settings_t; /** Global recent settings. */ |