summaryrefslogtreecommitdiff
path: root/ui/gtk/decode_as_dlg.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2013-11-29 03:14:24 +0000
committerGerald Combs <gerald@wireshark.org>2013-11-29 03:14:24 +0000
commit5acdfae0700795a4c8859579cd51aad8696aeaeb (patch)
tree6d0f98d30dcb3944e19aff144cd5d2ad4579d1f2 /ui/gtk/decode_as_dlg.c
parent9e0cd5d1d854a4e90ce448eba2c65cfbe34c143b (diff)
downloadwireshark-5acdfae0700795a4c8859579cd51aad8696aeaeb.tar.gz
Restore disabled "decode as" settings.
svn path=/trunk/; revision=53635
Diffstat (limited to 'ui/gtk/decode_as_dlg.c')
-rw-r--r--ui/gtk/decode_as_dlg.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/decode_as_dlg.c b/ui/gtk/decode_as_dlg.c
index 0aa928ca06..bb676f209d 100644
--- a/ui/gtk/decode_as_dlg.c
+++ b/ui/gtk/decode_as_dlg.c
@@ -281,12 +281,12 @@ decode_build_show_list (const gchar *table_name, ftenum_t selector_type,
current = dtbl_entry_get_handle((dtbl_entry_t *)value);
if (current == NULL)
- current_proto_name = "(none)";
+ current_proto_name = DECODE_AS_NONE;
else
current_proto_name = dissector_handle_get_short_name(current);
initial = dtbl_entry_get_initial_handle((dtbl_entry_t *)value);
if (initial == NULL)
- initial_proto_name = "(none)";
+ initial_proto_name = DECODE_AS_NONE;
else
initial_proto_name = dissector_handle_get_short_name(initial);
@@ -1185,7 +1185,7 @@ decode_list_menu_finish(GtkWidget *list)
GtkTreeIter iter;
text[E_LIST_S_PROTO_NAME] = "(default)";
- text[E_LIST_S_TABLE] = "(none)";
+ text[E_LIST_S_TABLE] = DECODE_AS_NONE;
store = GTK_LIST_STORE(gtk_tree_view_get_model(GTK_TREE_VIEW(list)));
gtk_list_store_prepend(store, &iter);
gtk_list_store_set(store, &iter,