diff options
author | Gerald Combs <gerald@wireshark.org> | 2013-02-21 01:00:44 +0000 |
---|---|---|
committer | Gerald Combs <gerald@wireshark.org> | 2013-02-21 01:00:44 +0000 |
commit | b0d958c4ed54dcd365e06997897475ddfc82baee (patch) | |
tree | a4bef63b6b3400569edc4891c1bf9fa9ed816348 /ui/gtk/main_airpcap_toolbar.c | |
parent | 63ef23bf5f9dc5cc3a765336e1e24075da2486c5 (diff) |
Don't yell at the user quite so much. Remove exclamation points from
some error messages and rephrase some others.
svn path=/trunk/; revision=47787
Diffstat (limited to 'ui/gtk/main_airpcap_toolbar.c')
-rw-r--r-- | ui/gtk/main_airpcap_toolbar.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/ui/gtk/main_airpcap_toolbar.c b/ui/gtk/main_airpcap_toolbar.c index 7db4ff2163..b51e06c920 100644 --- a/ui/gtk/main_airpcap_toolbar.c +++ b/ui/gtk/main_airpcap_toolbar.c @@ -117,7 +117,7 @@ airpcap_toolbar_encryption_cb(GtkWidget *entry _U_, gpointer user_data _U_) } } } else { - simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "No active AirPcap Adapter selected!"); + simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "No active AirPcap Adapter selected."); return; } @@ -136,14 +136,18 @@ airpcap_toolbar_encryption_cb(GtkWidget *entry _U_, gpointer user_data _U_) airpcap_if_set_decryption_state(ad,curr_if->DecryptionOn); /* Save configuration for the curr_if */ if(!airpcap_if_store_cur_config_as_adapter_default(ad)) { - simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "Cannot save configuration!!!\nRemember that in order to store the configuration in the registry you have to:\n\n- Close all the airpcap-based applications.\n- Be sure to have administrative privileges."); + simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, + "Unable to save configuration." + "\nIn order to store the configuration in the registry you" + "\nhave to close all other AirPcap-based applications and" + "\nhave Administrator privileges."); } airpcap_if_close(ad); } } } } else { - simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "AirPcap Adapter Error!"); + simple_dialog(ESD_TYPE_ERROR, ESD_BTN_OK, "AirPcap Adapter Error."); return; } } |