diff options
Diffstat (limited to 'ui/gtk/decode_as_dlg.h')
-rw-r--r-- | ui/gtk/decode_as_dlg.h | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/ui/gtk/decode_as_dlg.h b/ui/gtk/decode_as_dlg.h index 1774162cfe..090d87e654 100644 --- a/ui/gtk/decode_as_dlg.h +++ b/ui/gtk/decode_as_dlg.h @@ -32,15 +32,16 @@ */ /* - * Filename of the "decode as" entry preferences + * Enum used to track which radio button is currently selected in the + * dialog. These buttons are labeled "Decode" and "Do not decode". */ -#define DECODE_AS_ENTRIES_FILE_NAME "decode_as_entries" +enum action_type { + /* The "Decode" button is currently selected. */ + E_DECODE_YES, -#define DECODE_AS_ENTRY "decode_as_entry" - -/** Init the "Decode As" module - */ -void decode_as_init(void); + /* The "Do not decode" button is currently selected. */ + E_DECODE_NO +}; /** User requested the "Decode As" dialog box by menu or toolbar. * @@ -64,7 +65,7 @@ void decode_show_cb(GtkWidget *widget, gpointer data); gboolean decode_as_ok(void); /* - * Reset the "decode as"entries and reload ones of the current profile + * Reset the "decode as" entries and reload ones of the current profile */ void load_decode_as_entries(void); |