diff options
Diffstat (limited to 'epan/plugin_if.c')
-rw-r--r-- | epan/plugin_if.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/epan/plugin_if.c b/epan/plugin_if.c index a24587698d..7006802a00 100644 --- a/epan/plugin_if.c +++ b/epan/plugin_if.c @@ -511,6 +511,11 @@ void ext_toolbar_update_data_remove_entry(ext_toolbar_t * entry, gpointer data, ext_toolbar_update_entry( EXT_TOOLBAR_UPDATE_DATA_REMOVE, entry, data, idx, silent ); } +void ext_toolbar_update_data_set_active(ext_toolbar_t * entry, gboolean status) +{ + ext_toolbar_update_entry(EXT_TOOLBAR_SET_ACTIVE, entry, GINT_TO_POINTER(status ? 1 : 0), 0, TRUE ); +} + /* Implementation of GUI callback methods follows. * This is a necessity, as using modern UI systems, gui interfaces often operate * in different threads then the calling application. Even more so, if the calling |