/* Update the packets statusbar to the current values  */
void profile_bar_update(void)
/* Update the packets statusbar to the current values  */
void profile_bar_update(void)
{
    if (profile_bar) {
        if(profile_str) {
            g_free(profile_str);
            gtk_statusbar_pop(GTK_STATUSBAR(profile_bar), profile_ctx);
        }
        profile_str = g_strdup_printf (" Profile: %s", get_profile_name ());
        gtk_statusbar_push(GTK_STATUSBAR(profile_bar), profile_ctx, profile_str);
        set_menus_for_profiles(is_default_profile());
    }
}