{
if ( mvcp_notifier_wait( notifier, &status ) != -1 )
{
+ char buf[32];
+
if ( status.status == unit_disconnected )
+ {
+ this->app->eof = 0;
break;
+ }
if ( show_status( this, &status ) )
show_units( this, TRUE );
+ if ( !this->app->eof && mvcp_unit_get( this->app->command, this->app->selected_unit,
+ "eof", buf, sizeof(buf) ) != -1)
+ this->app->eof = buf[0];
}
}
static void this_page_get_toolbar_info( page super, GtkIconSize size, GtkWidget **icon, char **label )
{
- *icon = gtk_image_new_from_stock( "gtk-execute", size );
- *label = "_Units";
+ *icon = gtk_image_new_from_stock( "gtk-home", size );
+ *label = _("_Units");
}
static void this_page_on_connect( page super )