diff options
author | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-06-19 15:01:25 +0000 |
---|---|---|
committer | Jeff Morriss <jeff.morriss@ulticom.com> | 2012-06-19 15:01:25 +0000 |
commit | afa07ed684fcc735e5f6aafca08c2a416e10680d (patch) | |
tree | e557a44aebc57c97e2a5cfab3508d03220d6fbf3 | |
parent | 2592e501011cb0dcd91478356d3786a257e33a59 (diff) |
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
-rw-r--r-- | recent.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; } |