forked from osmocom/wireshark
gui.airpcap_toolbar_show is the old name for the wireless toolbar, not the old name of the filter toolbar.
svn path=/trunk/; revision=43369
This commit is contained in:
parent
2592e50101
commit
afa07ed684
6
recent.c
6
recent.c
|
@ -539,15 +539,15 @@ read_set_recent_pair_static(gchar *key, gchar *value, void *private_data _U_,
|
|||
else {
|
||||
recent.main_toolbar_show = FALSE;
|
||||
}
|
||||
/* check both the old ane the new keyword */
|
||||
} else if ((strcmp(key, RECENT_KEY_FILTER_TOOLBAR_SHOW) == 0) || (strcmp(key, "gui.airpcap_toolbar_show") == 0) ) {
|
||||
} else if (strcmp(key, RECENT_KEY_FILTER_TOOLBAR_SHOW) == 0) {
|
||||
if (g_ascii_strcasecmp(value, "true") == 0) {
|
||||
recent.filter_toolbar_show = TRUE;
|
||||
}
|
||||
else {
|
||||
recent.filter_toolbar_show = FALSE;
|
||||
}
|
||||
} else if (strcmp(key, RECENT_KEY_WIRELESS_TOOLBAR_SHOW) == 0) {
|
||||
/* check both the old and the new keyword */
|
||||
} else if (strcmp(key, RECENT_KEY_WIRELESS_TOOLBAR_SHOW) == 0 || (strcmp(key, "gui.airpcap_toolbar_show") == 0)) {
|
||||
if (g_ascii_strcasecmp(value, "true") == 0) {
|
||||
recent.wireless_toolbar_show = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue